forked from Mirror/frr
ci: only run conflict check on pull-requests
This change will stop this action from running on forked repos. Previously whenever one pushed a change to one's development branch the action would "run but skip" which still generated an email notifications and thus was very annoying. :) Signed-off-by: Christian Hopps <chopps@labn.net>
This commit is contained in:
parent
8954dd3a6b
commit
7b76c8f67b
3
.github/workflows/conflicts.yml
vendored
3
.github/workflows/conflicts.yml
vendored
|
@ -1,9 +1,8 @@
|
|||
name: Add a conflict label if PR needs to rebase
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request_target:
|
||||
types: [synchronize]
|
||||
types: [opened, reopened, synchronize]
|
||||
|
||||
jobs:
|
||||
conflicts:
|
||||
|
|
Loading…
Reference in a new issue