Skip to content

ci: use zizmor and remediate findings - #346

Merged
aarongable merged 1 commit into
mainfrom
inahga/zizmor
Jun 15, 2026
Merged

ci: use zizmor and remediate findings#346
aarongable merged 1 commit into
mainfrom
inahga/zizmor

Conversation

@inahga

@inahga inahga commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a dedicated GitHub Actions workflow to lint GitHub Actions definitions with zizmor, and updates existing CI workflows to better align with hardened GitHub Actions recommendations (pinning action SHAs and disabling credential persistence).

Changes:

  • Add .github/workflows/zizmor.yml to run zizmor in CI using a pinned container image digest.
  • Pin actions/checkout, actions/setup-python, and actions/setup-go to specific commit SHAs and set persist-credentials: false.
  • Introduce workflow-level permissions: {} declarations (currently problematic).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/zizmor.yml Adds a zizmor lint workflow running via pinned Docker image; introduces workflow permissions config.
.github/workflows/pr_tools.yml Pins action SHAs + disables persisted credentials; introduces workflow permissions config.
.github/workflows/lint.yml Pins action SHAs + disables persisted credentials; introduces workflow permissions config.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/pr_tools.yml
Comment thread .github/workflows/lint.yml
Comment thread .github/workflows/zizmor.yml
@aarongable
aarongable merged commit 02b4970 into main Jun 15, 2026
5 checks passed
@aarongable
aarongable deleted the inahga/zizmor branch June 15, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants