Skip to content

Commit ccade73

Browse files
committed
Add schedule trigger to sketch compile workflow
Run the workflow weekly to catch compilation failures caused by external changes (e.g., Arduino Mbed OS Boards, ArduinoCore-API).
1 parent f875d9e commit ccade73

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/compile-examples.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: Compile Examples
22

3+
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
34
on:
45
pull_request:
56
paths:
@@ -13,6 +14,9 @@ on:
1314
- "library.properties"
1415
- "examples/**"
1516
- "src/**"
17+
schedule:
18+
# Run every Tuesday at 8 AM UTC to catch breakage caused by changes to external resources (libraries, platforms).
19+
- cron: "0 8 * * TUE"
1620

1721
env:
1822
SKETCHES_REPORTS_PATH: sketches-reports

0 commit comments

Comments
 (0)