Spaces:
Sleeping
Sleeping
Commit ·
58b60eb
1
Parent(s): 1646494
Run Scrub Key binding triage finalizer
Browse files
.github/workflows/mvp_scrub_key_binding_triage_finalizer.yml
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
name: MVP Scrub Key binding triage finalizer
|
| 2 |
+
|
| 3 |
+
on:
|
| 4 |
+
push:
|
| 5 |
+
branches:
|
| 6 |
+
- scrub-mvp-scrub-key-document-binding-gap-triage
|
| 7 |
+
|
| 8 |
+
permissions:
|
| 9 |
+
contents: write
|
| 10 |
+
|
| 11 |
+
jobs:
|
| 12 |
+
finalize:
|
| 13 |
+
if: github.event.head_commit.message != 'Finalize Scrub Key document binding gap triage'
|
| 14 |
+
runs-on: ubuntu-latest
|
| 15 |
+
steps:
|
| 16 |
+
- name: Check out triage branch
|
| 17 |
+
uses: actions/checkout@v4
|
| 18 |
+
with:
|
| 19 |
+
ref: scrub-mvp-scrub-key-document-binding-gap-triage
|
| 20 |
+
fetch-depth: 0
|
| 21 |
+
|
| 22 |
+
- name: Apply governance finalisation
|
| 23 |
+
run: python scripts/finalize_mvp_scrub_key_document_binding_gap_triage.py
|
| 24 |
+
|
| 25 |
+
- name: Remove one-time finalizer and generated cache
|
| 26 |
+
shell: bash
|
| 27 |
+
run: |
|
| 28 |
+
rm -f scripts/finalize_mvp_scrub_key_document_binding_gap_triage.py
|
| 29 |
+
find . -type d -name __pycache__ -prune -exec rm -rf {} +
|
| 30 |
+
find . -type f -name '*.pyc' -delete
|
| 31 |
+
|
| 32 |
+
- name: Commit finalised triage
|
| 33 |
+
shell: bash
|
| 34 |
+
run: |
|
| 35 |
+
set -euo pipefail
|
| 36 |
+
git config user.name 'solidprivacy-binding-triage-worker'
|
| 37 |
+
git config user.email 'actions@users.noreply.github.com'
|
| 38 |
+
git add -A
|
| 39 |
+
git commit -m 'Finalize Scrub Key document binding gap triage'
|
| 40 |
+
git push origin HEAD:scrub-mvp-scrub-key-document-binding-gap-triage
|