Skip to content

Commit b5e55dd

Browse files
committed
Add additional trigger events to "Compile Examples" CI workflow
The following additional events now trigger the workflow: - Weekly scheduled trigger. This would catch breakage caused by the external library and platform dependencies. - Trigger via the GitHub web interface. - Trigger via the GitHub API.
1 parent 1623755 commit b5e55dd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/compile-examples.yml

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Compile Examples
22

3+
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
34
on:
45
pull_request:
56
paths:
@@ -11,6 +12,11 @@ on:
1112
- .github/workflows/compile-examples.yml
1213
- examples/**
1314
- src/**
15+
schedule:
16+
# Run every Tuesday at 8 AM UTC to catch breakage caused by changes to external resources (libraries, platforms).
17+
- cron: "0 8 * * TUE"
18+
workflow_dispatch:
19+
repository_dispatch:
1420

1521
jobs:
1622
build:

0 commit comments

Comments
 (0)