Skip to content

Commit 2f24014

Browse files
committed
ci: add some missing persist-credentials
Most of the checkout action usages in `ci.yml` already specified `persist-credentials: false`, but a few were missing it. This is flagged[0] when running Zizmor 0.7.0 on the repo's CI config. [0]: https://woodruffw.github.io/zizmor/audits/#artipacked
1 parent 579c9c6 commit 2f24014

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ jobs:
147147
runs-on: ubuntu-latest
148148
steps:
149149
- uses: actions/checkout@v4
150+
with:
151+
persist-credentials: false
150152

151153
# Turn on Linux KVM features/support for faster Android emulation.
152154
# References:
@@ -199,6 +201,8 @@ jobs:
199201
runs-on: macos-latest
200202
steps:
201203
- uses: actions/checkout@v4
204+
with:
205+
persist-credentials: false
202206
- name: Run iOS tests
203207
run: |
204208
rustup target add aarch64-apple-ios-macabi
@@ -209,6 +213,8 @@ jobs:
209213
runs-on: ubuntu-latest
210214
steps:
211215
- uses: actions/checkout@v4
216+
with:
217+
persist-credentials: false
212218
- name: test on freebsd
213219
uses: vmactions/freebsd-vm@v1
214220
# Settings adopted from https://github.com/quinn-rs/quinn

0 commit comments

Comments
 (0)