Skip to content

Commit e769d27

Browse files
author
Jimisola Laursen
committed
ci: restrict push trigger to main branch
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>
1 parent db4a0d5 commit e769d27

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
@@ -3,6 +3,8 @@ on:
33
workflow_call:
44
workflow_dispatch:
55
push:
6+
branches:
7+
- main
68
pull_request:
79
types:
810
- opened

0 commit comments

Comments
 (0)