Add action to warn against PR against master (should be develop)
This commit is contained in:
parent
246b4de1b8
commit
835104c88f
2
.github/workflows/master_branch_pr.yml
vendored
2
.github/workflows/master_branch_pr.yml
vendored
@ -1,6 +1,5 @@
|
|||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
pull_request_target:
|
|
||||||
branches: [master]
|
branches: [master]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -8,7 +7,6 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Post PR comment
|
- name: Post PR comment
|
||||||
if: failure()
|
|
||||||
uses: mshick/add-pr-comment@v1
|
uses: mshick/add-pr-comment@v1
|
||||||
with:
|
with:
|
||||||
message: |
|
message: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user