Skip to content

ci: harden GitHub Actions workflows with zizmor recommendations#239

Merged
indaco merged 1 commit intomainfrom
ci/harden-github-workflows
Mar 25, 2026
Merged

ci: harden GitHub Actions workflows with zizmor recommendations#239
indaco merged 1 commit intomainfrom
ci/harden-github-workflows

Conversation

@indaco
Copy link
Copy Markdown
Owner

@indaco indaco commented Mar 25, 2026

Description

  • Add permissions: {} at workflow level and minimal job-level permissions across all workflows
  • Add persist-credentials: false to all checkout steps
  • Replace softprops/action-gh-release with gh release CLI in release workflow
  • Fix template injection by passing github.event.release.tag_name via env var

Related Issue

  • None

Notes for Reviewers

Findings from zizmor static analysis on all workflow files (ci.yml, coverage.yml, release.yml, security.yml).

Remaining unpinned-uses findings are intentionally kept - tags preferred over SHA pinning.

@indaco indaco merged commit d38a230 into main Mar 25, 2026
@indaco indaco deleted the ci/harden-github-workflows branch March 25, 2026 09:08
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.

1 participant