File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Temporary final branch cleanup
2+
3+ on :
4+ push :
5+ branches :
6+ - ops/final-branch-cleanup
7+ paths :
8+ - .github/workflows/temporary-final-branch-cleanup.yml
9+
10+ permissions :
11+ contents : write
12+
13+ jobs :
14+ cleanup :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - uses : actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
18+ with :
19+ fetch-depth : 1
20+ - name : Remove stale release/development branch refs
21+ run : |
22+ set -euo pipefail
23+ branches=(
24+ 'adoption-surface-v1.3.0-rc.1'
25+ 'docs/consumer-gate-v1.2.1'
26+ 'feat/verifier-assurance'
27+ 'feature/sigstore-dry-run-path'
28+ 'feature/sigstore-keyless-release'
29+ 'feature/sigstore-status-note'
30+ 'feature/solver-agnostic-control-plane'
31+ 'feature/sprint1-execution-models-schemas'
32+ 'hardening/final-release-closure-2026-08-25'
33+ 'hardening/full-vision-2026-08-24'
34+ 'hardening/release-sbom-attestation'
35+ 'pf-va/pin-ovk-basic-v0-profile'
36+ 'r2-engineering-program-2026-07-23'
37+ 'release/rc1-final-status-and-ref-protection'
38+ )
39+ for branch in "${branches[@]}"; do
40+ git push origin --delete "$branch" || {
41+ echo "failed to delete $branch" >&2
42+ exit 1
43+ }
44+ done
45+ - name : Delete cleanup branch
46+ if : always()
47+ run : git push origin --delete ops/final-branch-cleanup
You can’t perform that action at this time.
0 commit comments