Skip to content

Commit ad17e83

Browse files
committed
ci: prevent double CI run on PR branches
Push trigger now only fires on main, development and production. Feature branches are covered by the pull_request trigger alone, so CI no longer runs twice when pushing to an open PR.
1 parent 25e7d36 commit ad17e83

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ name: CI
22

33
on:
44
push:
5-
branches: ['**']
5+
branches:
6+
- main
7+
- development
8+
- production
69
pull_request:
7-
branches: ['**']
810
workflow_call:
911

1012
jobs:

0 commit comments

Comments
 (0)