Skip to content

Commit e2f28f2

Browse files
ci: restrict push trigger to master branch to prevent duplicate CI runs
This updates `.github/workflows/ci.yml` so that the `push` event only triggers for the `master` branch. This avoids running the workflow twice (once for `push`, once for `pull_request`) when commits are pushed to open pull requests. Co-authored-by: hrj <345879+hrj@users.noreply.github.com>
1 parent af9182f commit e2f28f2

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/ci.yml

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

33
on:
44
push:
5+
branches: [ master ]
56
pull_request:
67
branches: [ master ]
78

0 commit comments

Comments
 (0)