Skip to content

Commit fd5457b

Browse files
authored
fix: missed some checkouts that are still persisting credentials (#137)
* fix: missed some checkouts that are still persisting credentials Signed-off-by: jmeridth <jmeridth@gmail.com>
1 parent 12491e7 commit fd5457b

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.github/workflows/codeql.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ jobs:
5858
steps:
5959
- name: Checkout repository
6060
uses: actions/checkout@v5
61+
with:
62+
persist-credentials: false
6163

6264
# Add any setup steps before running the `github/codeql-action/init` action.
6365
# This includes steps like installing compilers or runtimes (`actions/setup-node`

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
uses: actions/checkout@v5
2727
with:
2828
fetch-depth: 0
29+
persist-credentials: false
2930
- name: Set up Go
3031
uses: actions/setup-go@v5
3132
with:

evaluation_plans/osps/build_release/steps_test.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ jobs:
2020
2121
steps:
2222
- name: Checkout repository
23-
uses: actions/checkout@v4
23+
uses: actions/checkout@v5
24+
with:
25+
persist-credentials: false
2426
2527
- name: Pull the pvtr-github-repo image
2628
run: docker pull eddieknight/pvtr-github-repo:latest
@@ -46,7 +48,9 @@ jobs:
4648
4749
steps:
4850
- name: Checkout repository
49-
uses: actions/checkout@v4
51+
uses: actions/checkout@v5
52+
with:
53+
persist-credentials: false
5054
5155
- name: Pull the pvtr-github-repo image
5256
run: docker pull eddieknight/pvtr-github-repo:latest

0 commit comments

Comments
 (0)