Skip to content

ci: harden docs workflow - #49

Merged
musantro merged 1 commit into
masterfrom
codex/harden-docs-workflow
Jul 13, 2026
Merged

musantro merged 1 commit into
masterfrom
codex/harden-docs-workflow

Conversation

@musantro

Copy link
Copy Markdown
Owner

Summary

  • Harden the GitHub Pages docs workflow so it passes the repository's zizmor policy.
  • Pin all docs workflow actions to immutable commit SHAs.
  • Scope Pages deployment permissions to the deploy job and disable checkout credential persistence in the build job.

Root cause

The docs workflow still used mutable action tags, workflow-level Pages permissions, and default checkout credential persistence. The rest of the workflow suite had already been updated to the stricter pattern.

Validation

  • uvx zizmor .github/workflows/docs.yml
  • uvx zizmor .github/workflows
  • commit hooks: ty, pytest, and commitizen check

@musantro
musantro marked this pull request as ready for review July 13, 2026 20:41
@musantro
musantro merged commit b28137f into master Jul 13, 2026
9 checks passed
@musantro
musantro deleted the codex/harden-docs-workflow branch July 13, 2026 20:41
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