Skip to content

Commit 70c5fc5

Browse files
committed
Add additional trigger events to CI workflows
The workflow_dispatch and repository_dispatch events allow manual triggering of the workflow. These can be useful when doing development and maintenance on the CI system, and do no harm when they are not needed, so it makes sense to add them.
1 parent 8baf23e commit 70c5fc5

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/compile-examples.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ on:
1111
- ".github/workflows/compile-examples.yml"
1212
- "examples/**"
1313
- "src/**"
14+
schedule:
15+
# Run every Tuesday at 8 AM UTC to catch breakage caused by changes to external resources (libraries, platforms).
16+
- cron: "0 8 * * TUE"
17+
workflow_dispatch:
18+
repository_dispatch:
1419

1520
jobs:
1621
build:

.github/workflows/report-size-deltas.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
name: Report PR Size Deltas
22

33
on:
4+
push:
5+
paths:
6+
- ".github/workflows/report-size-deltas.yml"
47
schedule:
58
- cron: '*/5 * * * *'
9+
workflow_dispatch:
10+
repository_dispatch:
611

712
jobs:
813
report:

0 commit comments

Comments
 (0)