Skip to content

Commit 958f7b9

Browse files
committed
ci: avoid persisting credentials
1 parent d585aad commit 958f7b9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/rust.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,8 @@ jobs:
211211
runs-on: ubuntu-latest
212212
steps:
213213
- uses: actions/checkout@v4
214+
with:
215+
persist-credentials: false
214216
- uses: EmbarkStudios/cargo-deny-action@v2
215217

216218
test-android:
@@ -233,6 +235,8 @@ jobs:
233235

234236
- name: Checkout code
235237
uses: actions/checkout@v4
238+
with:
239+
persist-credentials: false
236240

237241
- name: Install JDK
238242
uses: actions/setup-java@v4
@@ -294,6 +298,8 @@ jobs:
294298
runs-on: ubuntu-latest
295299
steps:
296300
- uses: actions/checkout@v4
301+
with:
302+
persist-credentials: false
297303
- name: Download actionlint
298304
id: get_actionlint
299305
run: bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)

0 commit comments

Comments
 (0)