chore: Perform zizmor checks#96
Merged
Merged
Conversation
Benjamin-Philip
marked this pull request as ready for review
July 6, 2026 09:29
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot couldn't run its full agentic review because no GitHub Actions runner was available. Make sure your repository has a runner available to run Copilot's review, or add a copilot-setup-steps.yml file specifying one with the runs-on attribute. See the docs for more details.
Integrates Zizmor linting into CI and updates GitHub Actions workflows to satisfy Zizmor/security hardening recommendations.
Changes:
- Pin GitHub Actions to commit SHAs and disable
persist-credentialson checkouts across workflows. - Add a dedicated Zizmor job to the ASF allowlist workflow.
- Add a Dependabot “cooldown” configuration to reduce update PR frequency.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/rust-ci.yml | Adds minimal workflow permissions and hardens checkout usage (pinned SHA + no persisted creds). |
| .github/workflows/erlang-ci.yml | Same hardening for checkout, pins actions/cache to a SHA, and adds minimal permissions. |
| .github/workflows/docs.yml | Pins actions (checkout, cache, pages actions) to SHAs and disables persisted credentials. |
| .github/workflows/asf-allowlist-check.yml | Renames the allowlist job and adds a new job to run Zizmor during CI. |
| .github/dependabot.yml | Adds a new configuration intended to throttle Dependabot update PRs. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
45
to
47
| # Check that actions are pinned and on the ASF allowlist. | ||
| # Intentionally unpinned to always use the latest allowlist from the ASF. | ||
| - uses: apache/infrastructure-actions/allowlist-check@main # zizmor: ignore[unpinned-uses] |
Comment on lines
+27
to
+28
| cooldown: | ||
| default-days: 7 |
Comment on lines
+36
to
+37
| cooldown: | ||
| default-days: 7 |
kou
reviewed
Jul 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What issue does this PR close?
Closes #72.
What's changed
Executes the Zizmor linter as part of the GitHub Actions checks. Also fixes some
warnings raised by Zizmor in order to merge with a passing CI.