Skip to content

Commit 6bb4a94

Browse files
jimisolaJimisola Laursen
andauthored
ci: restrict push trigger to main branch (#34)
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 28536f7 commit 6bb4a94

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.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)