Skip to content

Commit d280576

Browse files
Run push builds only on master
The workflow triggers on both push and pull_request without branch filters, so every PR from a repository branch runs the full matrix twice. Limiting the push trigger to master keeps a single run per PR plus a post-merge run.
1 parent 22e24bc commit d280576

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/unit-tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: "Unit Tests"
33
on:
44
pull_request:
55
push:
6+
branches: [master]
67
workflow_dispatch:
78

89
jobs:

0 commit comments

Comments
 (0)