Skip to content

fix: harden GitHub Actions workflows#44

Open
reberhardt7 wants to merge 1 commit intomainfrom
fix/zizmor-workflow-security
Open

fix: harden GitHub Actions workflows#44
reberhardt7 wants to merge 1 commit intomainfrom
fix/zizmor-workflow-security

Conversation

@reberhardt7
Copy link
Contributor

@reberhardt7 reberhardt7 commented Mar 25, 2026

Summary

  • Upgrade actions/checkout from v4 to v6.0.2 (SHA-pinned) in all workflow files
  • Add persist-credentials: false to all checkout steps that don't need git credentials after cloning (all CI jobs; release build, cargo-publish, npm-publish, pypi-publish jobs)
  • Fix excessive-permissions in release.yml: replace workflow-level contents: write + id-token: write with permissions: {} at workflow level and minimal per-job grants (contents: write only for sync-and-tag and github-release; contents: read + id-token: write for publish jobs)
  • Resolves all medium+ severity zizmor findings (9 artipacked + 2 excessive-permissions)

- Upgrade actions/checkout from v4 to v6.0.2 (SHA-pinned) across all workflows
- Add persist-credentials: false to all checkout steps that don't need
  git credentials (all CI jobs, and release build/publish jobs)
- Fix excessive-permissions in release.yml: replace workflow-level
  contents:write + id-token:write with permissions:{} at workflow level
  and minimal per-job permissions (contents:write only for sync-and-tag
  and github-release; contents:read + id-token:write for publish jobs)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedgithub/​actions/​checkout@​34e114876b0b11c390a56381ad16ebd13914f8d5 ⏵ de0fac2e4500dabe0009e67214ff5f5447ce83dd100 +1100100100100

View full report

@socket-security-staging
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedgithub/​actions/​checkout@​34e114876b0b11c390a56381ad16ebd13914f8d5 ⏵ de0fac2e4500dabe0009e67214ff5f5447ce83dd92100100100100

View full report

@reberhardt7 reberhardt7 changed the title fix: harden GitHub Actions workflows (zizmor) fix: harden GitHub Actions workflows Mar 25, 2026
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