Skip to content

Commit 3f846bd

Browse files
committed
ops: remove stale branches after rc.1 closure
1 parent bd1fa1c commit 3f846bd

1 file changed

Lines changed: 47 additions & 0 deletions

File tree

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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

0 commit comments

Comments
 (0)