Skip to content

Commit 3813584

Browse files
committed
fix(ci): restrict push trigger to main branch only
Prevents double CI execution on PR branches (push + pull_request both triggered, causing duplicate workflow runs). Signed-off-by: Sebastian Mendel <info@sebastianmendel.de>
1 parent 7459a76 commit 3813584

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: CI
22

33
on:
44
push:
5+
branches: [main]
56
pull_request:
67
merge_group:
78
schedule:

0 commit comments

Comments
 (0)