Skip to content

Pin GitHub Actions to commit SHAs with full vX.X.X version comments#14

Merged
shenxianpeng merged 2 commits intomainfrom
copilot/pin-github-actions-to-commit-hash
Apr 20, 2026
Merged

Pin GitHub Actions to commit SHAs with full vX.X.X version comments#14
shenxianpeng merged 2 commits intomainfrom
copilot/pin-github-actions-to-commit-hash

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 20, 2026

Actions in the deploy workflow were referenced by mutable major tags (@v5, @v6) and, after initial pinning, only had major version comments (# v5, # v6). All four actions are now pinned to immutable commit SHAs with precise patch-level version comments for auditability.

.github/workflows/deploy.yml

  • actions/checkoutde0fac2e... # v6.0.2
  • actions/setup-pythona309ff8b... # v6.2.0
  • actions/upload-pages-artifactfc324d35... # v5.0.0
  • actions/deploy-pagescd2ce8fc... # v5.0.0
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
- uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
- uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0

Copilot AI and others added 2 commits April 20, 2026 14:18
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 20, 2026

Deploy Preview for cpp-linter-github-io ready!

Name Link
🔨 Latest commit 0d7a98c
🔍 Latest deploy log https://app.netlify.com/projects/cpp-linter-github-io/deploys/69e643be19cf2e000830b334
😎 Deploy Preview https://deploy-preview-14--cpp-linter-github-io.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@shenxianpeng shenxianpeng marked this pull request as ready for review April 20, 2026 15:28
@shenxianpeng shenxianpeng merged commit 36de9ac into main Apr 20, 2026
7 checks passed
@shenxianpeng shenxianpeng deleted the copilot/pin-github-actions-to-commit-hash branch April 20, 2026 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants