Skip to content

Commit 01887b7

Browse files
Bump actions/checkout from 5 to 6 (#1854)
* Bump actions/checkout from 5 to 6 Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v5...v6) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '6' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Do not persist GHA credentials on checkout --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bart Koelman <10324372+bkoelman@users.noreply.github.com>
1 parent dc61063 commit 01887b7

File tree

4 files changed

+19
-9
lines changed

4 files changed

+19
-9
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ jobs:
5757
psql --version
5858
Write-Host "Active .NET SDK: $(dotnet --version)"
5959
- name: Git checkout
60-
uses: actions/checkout@v5
60+
uses: actions/checkout@v6
61+
with:
62+
persist-credentials: false
6163
- name: Restore tools
6264
run: dotnet tool restore
6365
- name: Restore packages
@@ -165,7 +167,9 @@ jobs:
165167
9.0.*
166168
10.0.*
167169
- name: Git checkout
168-
uses: actions/checkout@v5
170+
uses: actions/checkout@v6
171+
with:
172+
persist-credentials: false
169173
- name: Restore tools
170174
run: dotnet tool restore
171175
- name: InspectCode
@@ -226,8 +230,9 @@ jobs:
226230
9.0.*
227231
10.0.*
228232
- name: Git checkout
229-
uses: actions/checkout@v5
233+
uses: actions/checkout@v6
230234
with:
235+
persist-credentials: false
231236
fetch-depth: 2
232237
- name: Restore tools
233238
run: dotnet tool restore

.github/workflows/codeql.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ jobs:
3030
9.0.*
3131
10.0.*
3232
- name: Git checkout
33-
uses: actions/checkout@v5
33+
uses: actions/checkout@v6
34+
with:
35+
persist-credentials: false
3436
- name: Initialize CodeQL
3537
uses: github/codeql-action/init@v4
3638
with:

.github/workflows/deps-review.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ jobs:
88
dependency-review:
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: 'Checkout Repository'
12-
uses: actions/checkout@v5
13-
- name: 'Dependency Review'
14-
uses: actions/dependency-review-action@v4
11+
- name: 'Checkout Repository'
12+
uses: actions/checkout@v6
13+
with:
14+
persist-credentials: false
15+
- name: 'Dependency Review'
16+
uses: actions/dependency-review-action@v4

.github/workflows/qodana.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ jobs:
2929
9.0.*
3030
10.0.*
3131
- name: Git checkout
32-
uses: actions/checkout@v5
32+
uses: actions/checkout@v6
3333
with:
34+
persist-credentials: false
3435
ref: ${{ github.event.pull_request.head.sha }} # to check out the actual pull request commit, not the merge commit
3536
fetch-depth: 0 # a full history is required for pull request analysis
3637
- name: Restore tools

0 commit comments

Comments
 (0)