Skip to content

ci: secure GitHub Actions with pinning, zizmor, and dependabot#3

Merged
henryiii merged 1 commit into
scikit-build:mainfrom
henryiii:henryiii/ci/secure-actions
May 20, 2026
Merged

ci: secure GitHub Actions with pinning, zizmor, and dependabot#3
henryiii merged 1 commit into
scikit-build:mainfrom
henryiii:henryiii/ci/secure-actions

Conversation

@henryiii
Copy link
Copy Markdown
Contributor

🤖 Human guided, AI assisted PR (using this skill). AI text below. 🤖

Summary

Secure the repository's GitHub Actions workflows and CI configuration.

Changes

  • Pin all GitHub Actions to SHA hashes in .github/workflows/cd.yml (7 actions pinned)
  • Add zizmor pre-commit hook for ongoing action auditing with --persona=auditor
  • Add ci: autoupdate_schedule: monthly to .pre-commit-config.yaml
  • Freeze all pre-commit hook revs to SHA and update to latest versions
  • Fix deploy job needs: was referencing nonexistent build-book and build-slides jobs, corrected to [build]
  • Add name: labels to build and deploy jobs
  • Add explanatory comments on deploy permissions (pages: write, id-token: write)
  • Update .github/dependabot.yml: weekly → monthly schedule, add cooldown: default-days: 7, add pre-commit ecosystem with grouped updates

Verification

  • zizmor --persona=auditor .github reports 0 findings
  • All pre-commit hooks pass

Assisted-by: OpenCode:glm-5

- Pin all GitHub Actions to SHA hashes in cd.yml
- Add zizmor pre-commit hook for ongoing action auditing
- Add ci: autoupdate_schedule: monthly to pre-commit config
- Freeze all pre-commit hook revs to SHA and update to latest
- Fix deploy job needs (was referencing nonexistent jobs)
- Add name: labels to build and deploy jobs
- Add explanatory comments on deploy permissions
- Update dependabot.yml: monthly schedule, 7-day cooldown, pre-commit ecosystem

Assisted-by: OpenCode:glm-5
@henryiii henryiii merged commit c992ae7 into scikit-build:main May 20, 2026
2 checks passed
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