Skip to content

chore: harden GitHub Actions#37

Merged
rsclarke merged 5 commits into
mainfrom
chore/harden-github-actions
May 30, 2026
Merged

chore: harden GitHub Actions#37
rsclarke merged 5 commits into
mainfrom
chore/harden-github-actions

Conversation

@rsclarke

Copy link
Copy Markdown
Owner

Hardens the repository's GitHub Actions surface with least-privilege permissions, safer checkout behavior, Dependabot cooldowns, and ongoing zizmor auditing. This also adds Taskfile shortcuts so local zizmor audits and safe fixes can be run consistently.

  • Reduce CI token exposure by setting workflow-level empty permissions, granting only read access for the test job, and disabling checkout credential persistence.
  • Add Dependabot cooldowns for Go module and GitHub Actions updates.
  • Address zizmor auditor findings by adding CI concurrency limits and an explicit test job name.
  • Add a pinned zizmor audit workflow that uploads SARIF to GitHub code scanning.
  • Add task zizmor and task zizmor:fix shortcuts.

@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@rsclarke rsclarke merged commit f85d510 into main May 30, 2026
3 checks passed
@rsclarke rsclarke deleted the chore/harden-github-actions branch May 30, 2026 01:44
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.

2 participants