Upgrade tx notifications #434
Workflow file for this run
This file contains 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: "Check Production PR Branch" | |
on: | |
pull_request: | |
jobs: | |
check_branch: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check branch | |
if: github.base_ref == 'production' && github.head_ref != 'main' | |
run: | | |
echo "ERROR: You can only merge to production from main." | |
exit 1 |