Skip to content

fix(#255): add required app_location to cleanup-staging close steps#257

Merged
ChristopherRotnes merged 2 commits into
masterfrom
fix/255-cleanup-staging-app-location
May 15, 2026
Merged

fix(#255): add required app_location to cleanup-staging close steps#257
ChristopherRotnes merged 2 commits into
masterfrom
fix/255-cleanup-staging-app-location

Conversation

@ChristopherRotnes
Copy link
Copy Markdown
Owner

Summary

  • app_location is marked required: true in the Azure SWA action's schema — both close steps in cleanup-staging.yml were missing it, causing the 2 VS Code / actionlint problems
  • The value is unused at runtime for action: "close" (the action just deprovisions the PR env), but needs to be present to satisfy the schema validator
  • Set to app/dist to match ci.yml

Test plan

  • VS Code no longer reports problems in cleanup-staging.yml
  • CI passes (close action still works on PR merge)

Closes #255

🤖 Generated with Claude Code

ChristopherRotnes and others added 2 commits May 16, 2026 00:32
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>
Azure/static-web-apps-deploy marks app_location as required in its
action.yml schema. The close action doesn't use it at runtime, but
omitting it causes VS Code/actionlint to flag both steps. Matches
the value used in ci.yml.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ChristopherRotnes ChristopherRotnes merged commit d96742e into master May 15, 2026
1 check passed
@ChristopherRotnes ChristopherRotnes deleted the fix/255-cleanup-staging-app-location branch May 15, 2026 22:40
@github-actions
Copy link
Copy Markdown

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

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