ci: secure GitHub Actions with pinning, zizmor, and dependabot#3
Merged
Merged
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Human guided, AI assisted PR (using this skill). AI text below. 🤖
Summary
Secure the repository's GitHub Actions workflows and CI configuration.
Changes
.github/workflows/cd.yml(7 actions pinned)--persona=auditorci: autoupdate_schedule: monthlyto.pre-commit-config.yamlneeds: was referencing nonexistentbuild-bookandbuild-slidesjobs, corrected to[build]name:labels to build and deploy jobspages: write,id-token: write).github/dependabot.yml: weekly → monthly schedule, addcooldown: default-days: 7, add pre-commit ecosystem with grouped updatesVerification
zizmor --persona=auditor .githubreports 0 findingsAssisted-by: OpenCode:glm-5