Skip to content

Commit 2bfe2a1

Browse files
jimisolaJimisola Laursen
andauthored
ci: restrict push trigger to main branch (#141)
Avoid duplicate CI runs on PRs by limiting the push trigger to the main branch only. PRs are already covered by the pull_request trigger. Signed-off-by: jimisola <jimisola@jimisola.com> Co-authored-by: Jimisola Laursen <jimisola.laursen@resurs.se>
1 parent f1313cd commit 2bfe2a1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ on:
22
workflow_call:
33
workflow_dispatch:
44
push:
5+
branches:
6+
- main
57
pull_request:
68
types:
79
- opened

0 commit comments

Comments
 (0)