.github/workflows/fail-master-prs.yml
raw| 1 | name: PRs against master are not accepted, please target develop branch |
| 2 | |
| 3 | on: |
| 4 | pull_request: |
| 5 | branches: [ master ] |
| 6 | |
| 7 | permissions: |
| 8 | contents: read |
| 9 | |
| 10 | jobs: |
| 11 | fail: |
| 12 | runs-on: ubuntu-latest |
| 13 | steps: |
| 14 | - name: Fail PRs against master |
| 15 | run: | |
| 16 | echo "PRs must be made against the develop branch." |
| 17 | exit 1 |