Skip to content

Harden GitHub Actions workflows#934

Merged
petyosi merged 1 commit into
mainfrom
petyosi/harden-github-actions-workflows
May 12, 2026
Merged

Harden GitHub Actions workflows#934
petyosi merged 1 commit into
mainfrom
petyosi/harden-github-actions-workflows

Conversation

@petyosi
Copy link
Copy Markdown
Contributor

@petyosi petyosi commented May 12, 2026

Summary

  • Pin GitHub Actions workflow dependencies to full commit SHAs while preserving their existing major versions.
  • Disable checkout credential persistence in CI and release workflows.
  • Add release workflow concurrency, a dedicated release environment, and documentation for the actions: write permission.

Why

zizmor flagged unpinned action references, checkout credential persistence, missing release concurrency, undocumented permissions, and secret usage outside a dedicated environment. These updates harden the workflows without changing their intended CI or release behavior.

Validation

  • zizmor .github/workflows
  • zizmor --persona=auditor .github/workflows

@petyosi petyosi merged commit 869f769 into main May 12, 2026
3 checks passed
@petyosi petyosi deleted the petyosi/harden-github-actions-workflows branch May 12, 2026 07:43
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 4.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant