Skip to content

ci: pin workflow actions by commit hash - #301

Open
José Morales (jmoralez) wants to merge 1 commit into
mainfrom
pin-workflow-actions
Open

José Morales (jmoralez) wants to merge 1 commit into
mainfrom
pin-workflow-actions

Conversation

@jmoralez

Copy link
Copy Markdown
Contributor

Pins the remaining GitHub Actions in build-docs.yaml and pytest.yml to full commit SHAs (resolved from the tags they currently point to, so behavior is unchanged) to protect against tag tampering and supply-chain attacks. Also fixes a version comment in lint.yaml that was missing the v prefix.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jmoralez
José Morales (jmoralez) marked this pull request as ready for review October 8, 2026 21:33
Copilot AI balanced review requested due to automatic review settings October 8, 2026 21:33

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The changes consistently use full commit SHAs and retain clear version annotations.

0 open findings

What changed in this PR

Pins GitHub Actions to immutable commit SHAs to reduce supply-chain risk while preserving existing versions.

Changes:

  • Pins remaining actions in test and documentation workflows.
  • Corrects the setup-python version comment.
File Description
.github/​workflows/​pytest.yml Pins checkout, Python, and uv actions.
.github/​workflows/​lint.yaml Corrects the version annotation.
.github/​workflows/​build-docs.yaml Pins uv, token, and Quarto actions.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

This branch has not been deployed

No deployments
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