Skip to content

Commit 39e4fb2

Browse files
committed
[CI] Trigger the python wheel workflow only when a PR is labelled.
This is an attempt to reduce unnecessary triggers of the workflow. In most PRs, the wheels won't be built, so the PR "opened" trigger is a bit too much. Instead, trigger only when a PR is labelled, rebased, or reopened.
1 parent cdd72e2 commit 39e4fb2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/python_wheel_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
schedule:
1212
- cron: '01 1 * * *'
1313
pull_request:
14-
types: [opened, synchronize, reopened, labeled]
14+
types: [synchronize, reopened, labeled]
1515

1616
concurrency:
1717
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}

0 commit comments

Comments
 (0)