fail-master-prs.yml 303 B

1234567891011121314
  1. name: PRs against master are not accepted, please target develop branch
  2. on:
  3. pull_request:
  4. branches: [ master ]
  5. jobs:
  6. fail:
  7. runs-on: ubuntu-latest
  8. steps:
  9. - name: Fail PRs against master
  10. run: |
  11. echo "PRs must be made against the develop branch."
  12. exit 1