Skip to content

Commit c1bcf2e

Browse files
committed
allow running the wheels workflow in a PR
1 parent f2bfdbe commit c1bcf2e

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/release-wheels.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Wheels
22

33
on:
4-
#pull_request:
4+
pull_request:
5+
types: [labeled]
56
workflow_dispatch:
67
inputs:
78
release:
@@ -16,6 +17,12 @@ jobs:
1617
py-wheels-matrix:
1718
name: "generate build matrix"
1819
runs-on: ubuntu-latest
20+
if: >
21+
github.event_name == 'workflow_dispatch' ||
22+
(
23+
github.event_name == 'pull_request' &&
24+
github.event.label.name == 'check-wheels'
25+
)
1926
outputs:
2027
matrix: ${{ steps.make-matrix.outputs.matrix }}
2128
steps:

0 commit comments

Comments
 (0)