Skip to content

Commit

Permalink
ci: add some missing persist-credentials
Browse files Browse the repository at this point in the history
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
  • Loading branch information
cpu committed Dec 6, 2024
1 parent 579c9c6 commit 2f24014
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false

# Turn on Linux KVM features/support for faster Android emulation.
# References:
Expand Down Expand Up @@ -199,6 +201,8 @@ jobs:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: Run iOS tests
run: |
rustup target add aarch64-apple-ios-macabi
Expand All @@ -209,6 +213,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: test on freebsd
uses: vmactions/freebsd-vm@v1
# Settings adopted from https://github.com/quinn-rs/quinn
Expand Down

0 comments on commit 2f24014

Please sign in to comment.