Skip to content

security(#255): pin Azure/static-web-apps-deploy to commit SHA#256

Merged
ChristopherRotnes merged 1 commit into
masterfrom
fix/255-pin-azure-swa-action-sha
May 15, 2026
Merged

security(#255): pin Azure/static-web-apps-deploy to commit SHA#256
ChristopherRotnes merged 1 commit into
masterfrom
fix/255-pin-azure-swa-action-sha

Conversation

@ChristopherRotnes
Copy link
Copy Markdown
Owner

Summary

  • Azure/static-web-apps-deploy@v1 in ci.yml and cleanup-staging.yml replaced with the pinned commit SHA 1a947af9992250f3bc2e68ad0754c0b0c11566c9 (# v1 comment kept for readability)
  • Eliminates the supply-chain risk: a mutable tag can be silently updated to run arbitrary code in CI with full secret access

Test plan

  • CI passes on this PR (deploys to staging using the pinned SHA — proves the action still works)
  • VS Code / actionlint no longer reports problems in cleanup-staging.yml
  • Verify on staging preview URL before merging

Closes #255

🤖 Generated with Claude Code

Replaces mutable @v1 tag with the exact commit SHA it resolves to
(1a947af) in both ci.yml and cleanup-staging.yml, eliminating the
supply-chain risk of a tag being silently updated to run arbitrary
code in CI.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://white-island-090dfd003-256.westeurope.7.azurestaticapps.net

@ChristopherRotnes ChristopherRotnes merged commit 1961cb4 into master May 15, 2026
2 checks passed
@ChristopherRotnes ChristopherRotnes deleted the fix/255-pin-azure-swa-action-sha branch May 15, 2026 22:34
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.

As a developer I want GitHub Actions action refs pinned to commit SHAs so I can prevent supply-chain attacks from mutable tags

1 participant