chore: clean temporary Hermes blocker transfer branches #3
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Clean Hermes blocker workspace | |
| on: | |
| push: | |
| branches: [codex/hermes-blockers-workspace] | |
| permissions: | |
| contents: write | |
| jobs: | |
| cleanup: | |
| runs-on: blacksmith-4vcpu-ubuntu-2404 | |
| timeout-minutes: 5 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: true | |
| - name: Remove only temporary transfer branches after verifying the PR commit | |
| shell: bash | |
| run: | | |
| set -euo pipefail | |
| git fetch origin codex/fix-hermes-base-verification | |
| git merge-base --is-ancestor fa8dcf22d64f76f0ab8878081f9a6aef33961386 FETCH_HEAD | |
| test "$(git rev-parse fa8dcf22d64f76f0ab8878081f9a6aef33961386^{tree})" = c76771dd90a95bf1da90c66116ef388d341f5d3d | |
| git push origin --delete codex/hermes-blockers-staged codex/hermes-blockers-workspace |