Skip to content

Commit

Permalink
ci: use persist-credentials: false in testgen.yml
Browse files Browse the repository at this point in the history
We were consistent about doing this in the main CI workflow, but not the
testgen workflow. 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 8e09784 commit dd0bcbb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/testgen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
steps:
- name: Check out source repository
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up Python environment
uses: actions/setup-python@v5
Expand Down Expand Up @@ -47,6 +49,8 @@ jobs:
steps:
- name: Check out source repository
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Set up Rust toolchain
uses: dtolnay/rust-toolchain@stable
Expand Down

0 comments on commit dd0bcbb

Please sign in to comment.