Skip to content

Commit 58f48ba

Browse files
authored
docs: rebuild wheels if gha file changes (#425)
Signed-off-by: Henry Schreiner <[email protected]>
1 parent 62f4f44 commit 58f48ba

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

docs/pages/guides/gha_wheels.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ on:
3030
release:
3131
types:
3232
- published
33+
pull_request:
34+
paths:
35+
- .github/workflows/cd.yml
3336
```
3437
3538
This will run on releases. If you use a develop branch, you could include
@@ -38,6 +41,7 @@ This will run on releases. If you use a develop branch, you could include
3841
click a button in the GUI to trigger a build, which is perfect for testing
3942
wheels before making a release; you can download them from the "artifacts". You
4043
can even define variables that you can set in the GUI and access in the CI!
44+
Finally, if you change the workflow itself in a PR, then rebuild the wheels too.
4145

4246
<!-- prettier-ignore-start -->
4347
[workflow_dispatch]: https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/

{{cookiecutter.project_name}}/.github/workflows/{% if cookiecutter.__type=='compiled' %}cd.yml{% endif %}

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
release:
66
types:
77
- published
8+
pull_request:
9+
paths:
10+
- .github/workflows/cd.yml
811

912
concurrency:
1013
group: {% raw %}${{ github.workflow }}-${{ github.ref }}{% endraw %}

0 commit comments

Comments
 (0)