Skip to content

ci: Resolve most zizmor findings as of zizmor@1.32.0 - #5725

Draft
hashcatHitman wants to merge 7 commits into
rust-lang:mainfrom
hashcatHitman:zizmor
Draft

hashcatHitman wants to merge 7 commits into
rust-lang:mainfrom
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 zizmor@1.32.0, using the auditor persona. The lints that actually fired per-persona level are:

regular persona findings:

  • Fixed in this PR:
    • None
  • Not fixed in this PR:
    • None

pedantic persona findings:

auditor persona findings:

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

Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
Note that I usually give `pull-requests: read` to this too, since it is
included in the documentation. I'm assuming it's been working fine
without it, but if that changes, you can add the following permission:

```yaml
permissions:
  pull-requests: read # Required by `release-plz/action` to detect the release PR and its commits.
```

Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
…ain`

Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
@rustbot rustbot added the A-CI Area: CI-related items label Nov 7, 2026
Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
Signed-off-by: hashcatHitman <155700084+hashcatHitman@users.noreply.github.com>
@hashcatHitman

Copy link
Copy Markdown
Member Author

r? crabwatch

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

A-CI Area: CI-related items

Projects

Status: zizmor PR opened

Development

Successfully merging this pull request may close these issues.

3 participants