Fix audit workflow#16
Conversation
cc7ac7d to
c42180a
Compare
|
I think issue #14 is referring to using |
Yes, that's what I meant, instead of using the |
c42180a to
4b88a5f
Compare
4b88a5f to
5957bea
Compare
5957bea to
2604ce4
Compare
|
|
||
| - name: Cache cargo registry/index/target | ||
| uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 | ||
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 |
There was a problem hiding this comment.
I think actions/checkout can be bumped to v6 now.
According to zizmor
Official GitHub actions namespaces can be pinned by branch or tag. In other words, actions/checkout@v4 is acceptable.
There was a problem hiding this comment.
@tvpeter For simplicity do you want to stick with using actions/checkout@v6 instead of the full commit hash for "official github actions", i.e. the ones starting with actions/*.
There was a problem hiding this comment.
I prefer using actions/checkout@v6 because it allows for automatic minor updates instead of a specific full commit hash. However, Luiz suggested we use specific hashes for highest security, which is what Zizmor has been monitoring.
- remove master branch filter - fix invalid pinned SHA - replace Swatinem/rust-cache, actions/cache and dtolnay/rust-toolchain actions - updated actions/checkout to v6.0.1
2604ce4 to
fc8ba0e
Compare
There was a problem hiding this comment.
ACK fc8ba0e
In terms of workflows we should probably also look into resolving credential persistence and overly broad permissions.
Description
Fixes #15 and #14
Updates Audit Workflow
Notes to the reviewers
Checklists
All Submissions:
cargo fmtandcargo clippybefore committing