Skip to content

Commit efefdf8

Browse files
authored
gh: Add persist-credentials: false to checkout action (#54)
actions/checkout#485
1 parent ab4f81f commit efefdf8

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

.github/workflows/latest-dependencies.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
- name: Check out repository
7575
uses: actions/checkout@v4
7676
with:
77+
persist-credentials: false
7778
submodules: recursive
7879

7980
- name: Cache Rust toolchain and build artifacts

.github/workflows/pre-commit.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
- name: Check out repository
4242
uses: actions/checkout@v4
4343
with:
44+
persist-credentials: false
4445
submodules: recursive
4546

4647
- name: Cache Rust toolchain and build artifacts

.github/workflows/publish-release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
- name: Check out repository
3333
uses: actions/checkout@v4
3434
with:
35+
persist-credentials: false
3536
submodules: recursive
3637

3738
- name: Publish release on creates.io

.github/workflows/test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ jobs:
9898
- name: Check out repository
9999
uses: actions/checkout@v4
100100
with:
101+
persist-credentials: false
101102
submodules: recursive
102103

103104
- name: Cache Rust toolchain and build artifacts

0 commit comments

Comments
 (0)