Skip to content

Commit c05da6c

Browse files
[Github] Make litmus-tests workflow only run for push events on main (#504)
Without this change the workflow will run twice on stacked PRs as there is a push event to the repo and a pull_request event. Not a big deal, but a slight annoyance that is an easy fix.
1 parent e1f490b commit c05da6c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/litmus-tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: llvm-zorg testing
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
48

59
permissions:
610
contents: read

0 commit comments

Comments
 (0)