10BC0 CI: remove spurious wheel build action runs (#24535) · numpy/numpy@231ed98 · GitHub
[go: up one dir, main page]

Skip to content

Commit 231ed98

Browse files
authored
CI: remove spurious wheel build action runs (#24535)
[skip ci]
1 parent 3ee0de6 commit 231ed98

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/wheels.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ on:
2222
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
2323
# │ │ │ │ │
2424
- cron: "42 2 * * SUN,WED"
25-
push:
2625
pull_request:
27-
types: [labeled, opened, synchronize, reopened]
26+
branches:
27+
- main
28+
- maintenance/**
2829
workflow_dispatch:
2930

3031
concurrency:
@@ -62,9 +63,6 @@ jobs:
6263
contains(needs.get_commit_message.outputs.message, '[wheel build]') ||
6364
github.event_name == 'schedule' ||
6465
github.event_name == 'workflow_dispatch' ||
65-
(github.event_name == 'pull_request' &&
66-
(contains(github.event.pull_request.labels.*.name, '36 - Build') ||
67-
contains(github.event.pull_request.labels.*.name, '14 - Release'))) ||
6866
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && ( ! endsWith(github.ref, 'dev0')))
6967
runs-on: ${{ matrix.buildplat[0] }}
7068
strategy:

0 commit comments

Comments
 (0)
0