Skip to content

Commit 59a675c

Browse files
committed
ci: add workflow_dispatch
1 parent 24c550c commit 59a675c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ on:
2020
- '**/*.md' # Ignore changes to all .md files
2121
schedule:
2222
- cron: '0 6 * * 1'
23+
workflow_dispatch:
2324

2425
env:
2526
CACHE_NAME_PREFIX: v1
@@ -178,7 +179,7 @@ jobs:
178179
const docker_build_config = yaml.load(docker_build_config_content);
179180
180181
let backends = [];
181-
if (event_name === 'schedule') {
182+
if (event_name === 'schedule' || event_name === 'workflow_dispatch') {
182183
const {data: examples} = await github.rest.repos.getContent({
183184
owner: owner,
184185
repo: repo,

0 commit comments

Comments
 (0)