Skip to content

Commit 2db8a21

Browse files
committed
Updated workflows and branch guidance.
1 parent 61e1e26 commit 2db8a21

4 files changed

Lines changed: 18 additions & 18 deletions

File tree

.github/workflows/docs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
on:
44
push:
5-
branches: ["main"]
5+
branches: ["develop"]
66
workflow_dispatch:
77

88
permissions:
@@ -22,13 +22,13 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout repository
25-
uses: actions/checkout@v4
25+
uses: actions/checkout@v6
2626

2727
- name: Setup Pages
28-
uses: actions/configure-pages@v4
28+
uses: actions/configure-pages@v5
2929

3030
- name: Setup .NET 8.0
31-
uses: actions/setup-dotnet@v4
31+
uses: actions/setup-dotnet@v5
3232
with:
3333
dotnet-version: 8.x
3434

@@ -39,7 +39,7 @@ jobs:
3939
run: docfx ./docfx/docfx.json
4040

4141
- name: Upload documentation
42-
uses: actions/upload-pages-artifact@v3
42+
uses: actions/upload-pages-artifact@v4
4343
with:
4444
path: './docfx/_site'
4545

.github/workflows/main.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Release
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: [ "develop" ]
66
pull_request:
7-
branches: [ "main" ]
7+
branches: [ "develop" ]
88
workflow_dispatch:
99

1010
jobs:
@@ -53,21 +53,21 @@ jobs:
5353

5454
steps:
5555
- name: Checkout repository
56-
uses: actions/checkout@v3
56+
uses: actions/checkout@v6
5757
- name: Initialize CodeQL
58-
uses: github/codeql-action/init@v3
58+
uses: github/codeql-action/init@v4
5959
with:
6060
languages: 'csharp'
6161
- name: Setup .NET 6.0
62-
uses: actions/setup-dotnet@v3
62+
uses: actions/setup-dotnet@v5
6363
with:
6464
dotnet-version: 6.0.x
6565
- name: Setup .NET 7.0
66-
uses: actions/setup-dotnet@v3
66+
uses: actions/setup-dotnet@v5
6767
with:
6868
dotnet-version: 7.0.x
6969
- name: Setup .NET 8.0
70-
uses: actions/setup-dotnet@v3
70+
uses: actions/setup-dotnet@v5
7171
with:
7272
dotnet-version: 8.0.x
7373
- name: Restore dependencies
@@ -86,4 +86,4 @@ jobs:
8686
OPT_TEST_USER_EMAIL: ${{ secrets.OPT_TEST_USER_EMAIL }}
8787
run: dotnet test --configuration Release --no-build --verbosity normal
8888
- name: Perform CodeQL Analysis
89-
uses: github/codeql-action/analyze@v3
89+
uses: github/codeql-action/analyze@v4

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ jobs:
1919

2020
steps:
2121
- name: Checkout repository
22-
uses: actions/checkout@v3
22+
uses: actions/checkout@v6
2323
- name: Setup .NET 6.0
24-
uses: actions/setup-dotnet@v3
24+
uses: actions/setup-dotnet@v5
2525
with:
2626
dotnet-version: 6.0.x
2727
- name: Setup .NET 7.0
28-
uses: actions/setup-dotnet@v3
28+
uses: actions/setup-dotnet@v5
2929
with:
3030
dotnet-version: 7.0.x
3131
- name: Setup .NET 8.0
32-
uses: actions/setup-dotnet@v3
32+
uses: actions/setup-dotnet@v5
3333
with:
3434
dotnet-version: 8.0.x
3535
- name: Restore dependencies

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ This repository contains `OnePassword.NET`, a .NET wrapper for the 1Password CLI
1212
- Commit messages must be written as a proper sentence and must end with a period.
1313
- Do not use multiline commit messages, bullet lists, prefixes, or issue numbers in the commit message unless the user explicitly asks for them.
1414
- After creating the commit, push the branch and its commits to `origin` unless the user explicitly says not to push.
15-
- When the user says a pull request was merged, switch the owning repository back to `develop`, pull the latest changes from `origin`, prune deleted remote refs, and remove any local branches that no longer exist at `origin`.
15+
- When the user says a pull request was merged, switch the owning repository back to the default branch, which is currently `develop` in this repository, pull the latest changes from `origin`, prune deleted remote refs, and remove any local branches that no longer exist at `origin`.
1616

1717
## GitHub CLI
1818

0 commit comments

Comments
 (0)