You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pin GitHub Actions to full-length commit SHAs and apply supply chain hardening #46
All GitHub Actions referenced in .github/workflows/ and .github/actions/ should be pinned to their full 40-character commit SHA (instead of mutable tags like @v6) to ensure immutable, tamper-resistant CI/CD references. Additional supply chain hardening measures should also be applied.
This follows the same patterns already applied to codeql-development-mcp-server in:
advanced-security/codeql-development-toolkit/.github/actions/install-qlt@main — currently pinned to main branch, should also use a SHA
Format
Each pinned reference should use the format:
uses: actions/checkout@<full-40-char-sha> # v6
The trailing comment preserves the human-readable tag for maintainability.
Additional Supply Chain Hardening (optional, same PR or follow-up)
Add a .github/instructions/ file for actions/workflows that enforces SHA-pinning guidance for Copilot (similar to github_workflows_yaml.instructions.md in the MCP server repo)
Review workflow permissions to ensure least-privilege (permissions: blocks)
Consider adding Dependabot configuration for GitHub Actions version updates
Setup completed to allow setting Require actions to be pinned to a full-length commit SHA in repo admin settings for actions.
Acceptance Criteria
All external GitHub Actions in .github/workflows/*.yml and .github/actions/**/*.yml are pinned to full commit SHAs with tag comments
No action references use mutable tags (@v6, @v1, @main, etc.)
Activity