Skip to content

Commit 1dca4e6

Browse files
committed
Disable builds for branches that are not pull requests or main
1 parent 9aa61da commit 1dca4e6

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/apple.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: MacOS Python build
22

33
on:
44
push:
5+
branches: [main]
56
pull_request:
67
schedule:
78
- cron: '13 11 * * *'

.github/workflows/linux.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Linux Python build
22

33
on:
44
push:
5+
branches: [main]
56
pull_request:
67
schedule:
78
- cron: '13 11 * * *'

.github/workflows/windows.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Windows Python build
22

33
on:
44
push:
5+
branches: [main]
56
pull_request:
67
schedule:
78
- cron: '13 11 * * *'

0 commit comments

Comments
 (0)