Skip to content

Commit 9045d36

Browse files
authored
Merge pull request #1704 from felixfontein/ci
CI: add 'persist-credentials: false' to checkout actions
2 parents 8ead374 + c819bf3 commit 9045d36

File tree

5 files changed

+11
-0
lines changed

5 files changed

+11
-0
lines changed

.github/workflows/cli.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636

3737
- name: Check out code into the Go module directory
3838
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
39+
with:
40+
persist-credentials: false
3941

4042
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
4143
with:
@@ -94,6 +96,8 @@ jobs:
9496
steps:
9597
- name: Check out code
9698
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
99+
with:
100+
persist-credentials: false
97101

98102
# Rustup will detect toolchain version and profile from rust-toolchain.toml
99103
# It will download and install the toolchain and components automatically

.github/workflows/codeql.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
steps:
3131
- name: Checkout code
3232
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
33+
with:
34+
persist-credentials: false
3335

3436
# Initializes the CodeQL tools for scanning.
3537
- name: Initialize CodeQL

.github/workflows/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
steps:
2525
- name: Checkout code
2626
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
27+
with:
28+
persist-credentials: false
2729

2830
- name: Install rstcheck and markdownlint
2931
run: |

.github/workflows/linters.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
steps:
2323
- name: Check out code
2424
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25+
with:
26+
persist-credentials: false
2527

2628
# Rustup will detect toolchain version and profile from rust-toolchain.toml
2729
# It will download and install the toolchain and components automatically

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2929
with:
3030
fetch-depth: 0
31+
persist-credentials: false
3132

3233
- name: Setup Go
3334
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v4.0.1

0 commit comments

Comments
 (0)