fix(ci): staging runs on deploy-affecting changes; promotion PR names the staged commit #82

Merged
jfraeys merged 1 commit from jfraeys/fix/staging-trigger-paths into main 2026-10-12 23:01:21 -04:00
Owner

staging-validate's push paths covered only terraform, cloud-init, validate-hardening.yml and staging.sh, so role/playbook/inventory/firewall/secrets changes (#75, #78) never triggered it and the main->prod PR could claim 'staging passed' for code staging never ran.

  • Add roles/, playbooks/, inventory/, ansible.cfg, scripts/lib/, secrets/staging.sops.yml, .forgejo/ci-secrets.yml and the workflow itself to the push paths. Concurrency group (cancel-in-progress: false) still serializes runs.
  • The promotion PR body now states the commit staging validated. promote does not fail when main moves on (queued runs would race it); scripts/plan-prod.sh warns when origin/main differs from the staged commit, and merging stays manual.

This PR touches the workflow file, so merging it triggers a staging run, which verifies the new trigger.

Plan: L2 of the loose-ends track.

🤖 Generated with Claude Code

staging-validate's push paths covered only terraform, cloud-init, validate-hardening.yml and staging.sh, so role/playbook/inventory/firewall/secrets changes (#75, #78) never triggered it and the main->prod PR could claim 'staging passed' for code staging never ran. - Add roles/**, playbooks/**, inventory/**, ansible.cfg, scripts/lib/**, secrets/staging.sops.yml, .forgejo/ci-secrets.yml and the workflow itself to the push paths. Concurrency group (cancel-in-progress: false) still serializes runs. - The promotion PR body now states the commit staging validated. promote does not fail when main moves on (queued runs would race it); scripts/plan-prod.sh warns when origin/main differs from the staged commit, and merging stays manual. This PR touches the workflow file, so merging it triggers a staging run, which verifies the new trigger. Plan: L2 of the loose-ends track. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
fix(ci): staging runs on role/playbook/inventory changes; promotion PR names the staged commit
All checks were successful
Lint / lint (pull_request) Successful in 1m45s
Secret scan / scan (pull_request) Successful in 22s
471fe0fff2
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jfraeys/infra!82
No description provided.