Skip to content

Commit c9eff91

Browse files
[CI][Github] Only run CI Checks Workflow on Push for Main
Currently the check-ci workflow runs on the push event as well regardless of the branch which means the workflow runs twice on stacked PRs. Not a big deal, but a bit weird to see the same workflow running twice in a PR.
1 parent 71dbf14 commit c9eff91

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/check-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ permissions:
55

66
on:
77
push:
8+
branches:
9+
- main
810
paths:
911
- '.ci/**'
1012
- '.github/workflows/check-ci.yml'

0 commit comments

Comments
 (0)