Recycle fees via chain ext with immutable custodial fallback #1
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: pr-source-check | |
| on: | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| pr-source-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Enforce source = test for PRs into main | |
| run: | | |
| if [ "${{ github.event.pull_request.head.ref }}" != "test" ]; then | |
| echo "::error::PRs into main must originate from 'test'. Head is '${{ github.event.pull_request.head.ref }}'." | |
| echo "::error::Open your PR against 'test' instead. main only advances via the Release workflow." | |
| exit 1 | |
| fi | |
| echo "PR source is 'test' — allowed." |