-
Notifications
You must be signed in to change notification settings - Fork 4
Fix audit workflow #16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
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
.github/workflows/audit.yml
Outdated
|
|
||
| - name: Cache cargo registry/index/target | ||
| uses: Swatinem/rust-cache@f13886b937689c021905a6b90929199931d60db1 | ||
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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