Skip to content

Commit 356e785

Browse files
committed
Run CI on push to main/master only, PRs trigger separately
Prevents duplicate runs when pushing to a branch with an open PR. Push triggers only for main/master, PRs trigger for any branch.
1 parent 761fcaf commit 356e785

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/build-wheels.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@ name: Build and Test Wheels
22

33
on:
44
push:
5-
branches: [main, master, feature/ci-cd]
6-
pull_request:
75
branches: [main, master]
6+
pull_request:
87
workflow_dispatch:
98

109
jobs:

0 commit comments

Comments
 (0)