Skip to content

ci: Resolve most zizmor findings as of [email protected] - #1410

Open
hashcatHitman wants to merge 4 commits into
rust-lang:masterfrom
hashcatHitman:zizmor
Open

hashcatHitman wants to merge 4 commits into
rust-lang:masterfrom
hashcatHitman:zizmor

Conversation

@hashcatHitman

Copy link
Copy Markdown
Member

In pursuit of getting more zizmor lints enforced across rust-lang repos through crabwatch, this PR fixes most zizmor findings as of [email protected], using the auditor persona. The lints that actually fired per-persona level are:

regular persona findings:

pedantic persona findings:

auditor persona findings:

  • Everything from pedantic
  • Not fixed in this PR:
    • None

The hash pin format is supported by tools like Dependabot and Renovate, which can update the pinned hashes and their associated comments. If you'd like help setting either of those up, let me know which you prefer, and if you'd like it in this PR or a new one. By default, I'd assume to set it up to only update GitHub Actions.

See: https://github.com/actions/checkout/releases/tag/v5.1.0

This is the same version we're already implicitly using.

Signed-off-by: hashcatHitman <[email protected]>
Because `dtolnay/rust-toolchain` doesn't provide proper releases, it is
impossible to pin correctly. It also isn't really necessary, since all
standard GitHub Actions runners have `rustup` preinstalled.

Signed-off-by: hashcatHitman <[email protected]>
Signed-off-by: hashcatHitman <[email protected]>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: zizmor PR opened

Development

Successfully merging this pull request may close these issues.

1 participant