Skip to content

Commit 642a793

Browse files
committed
Support manually triggering workflow
This supports triggering a workflow based on any individual commit or branch. This provides flexibility when testing a wide array of commits
1 parent d1c64d1 commit 642a793

File tree

6 files changed

+18
-0
lines changed

6 files changed

+18
-0
lines changed

.github/workflows/check-pytorch-package-indices.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
- .github/workflows/check-available-pytorch-dists.yml
88
- scripts/check_pytorch_package_indices.py
99

10+
# Allows running this workflow manually from the Actions tab
11+
workflow_dispatch:
12+
1013
schedule:
1114
- cron: "20 4 * * *"
1215

.github/workflows/install.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ name: install
33
on:
44
pull_request:
55

6+
# Allows running this workflow manually from the Actions tab
7+
workflow_dispatch:
8+
69
jobs:
710
channel:
811
strategy:

.github/workflows/linux-nightly-install.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- .github/issue-templates/linux-nightly-uninstallable.md
77
- .github/workflows/linux-nightly-install.yml
88

9+
# Allows running this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
912
schedule:
1013
- cron: "40 4 * * *"
1114

.github/workflows/publishable.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ on:
2020
- "README.rst"
2121
- "requirements-dev.txt"
2222

23+
# Allows running this workflow manually from the Actions tab
24+
workflow_dispatch:
25+
2326
jobs:
2427
pypi:
2528
runs-on: ubuntu-latest

.github/workflows/tests-pip-latest.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
- .github/issue-templates/pip-latest-success.md
88
- .github/workflows/tests-pip-latest.yml
99

10+
# Allows running this workflow manually from the Actions tab
11+
workflow_dispatch:
12+
1013
schedule:
1114
- cron: "0 4 * * *"
1215

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ on:
1919
- "pytest.ini"
2020
- "requirements-dev.txt"
2121

22+
# Allows running this workflow manually from the Actions tab
23+
workflow_dispatch:
24+
2225
schedule:
2326
- cron: "0 4 * * *"
2427

0 commit comments

Comments
 (0)