mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-24 04:32:32 +00:00
fd2b5c2da2
Azure/static-web-apps-deploy@v1 has no `skip_deploy_on_missing_secrets` input (confirmed against its action.yml), so passing it did nothing but emit an "Unexpected input(s)" warning — the intended "skip green on Dependabot PRs" behaviour was never actually in effect. Replace it with the documented mechanism: surface the deploy token as a job-level env var and gate the deploy/close step with `if: env.DEPLOY_TOKEN != ''` (secrets cannot be referenced directly in an `if:`). On Dependabot PRs the token is absent, so the step skips and the job stays green; real deploys on main and internal PRs still run. Applied to both jobs. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>