]> git.puffer.fish Git - mirror/frr.git/commitdiff
ci: only run conflict check on pull-requests 16142/head
authorChristian Hopps <chopps@labn.net>
Fri, 31 May 2024 17:08:16 +0000 (13:08 -0400)
committerChristian Hopps <chopps@labn.net>
Sun, 2 Jun 2024 14:14:34 +0000 (10:14 -0400)
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>
.github/workflows/conflicts.yml

index 100f557e02e0dfe0dfc7ac758c26b7da44eaa9af..4b4e99facf9fb9edbfcf67e8037692d3415c588f 100644 (file)
@@ -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: