[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.
This commit is contained in:
parent
71dbf1492b
commit
c9eff91ef1
2
.github/workflows/check-ci.yml
vendored
2
.github/workflows/check-ci.yml
vendored
@ -5,6 +5,8 @@ permissions:
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
paths:
|
paths:
|
||||||
- '.ci/**'
|
- '.ci/**'
|
||||||
- '.github/workflows/check-ci.yml'
|
- '.github/workflows/check-ci.yml'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user