Skip to content

Commit 72cd7c0

Browse files
committed
Run workflow only after modification of the workflow or of a file relevant to sketch compilation
1 parent fb15914 commit 72cd7c0

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/compile-examples.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,22 @@
11
name: Compile Examples
22

3-
on: [pull_request, push]
3+
on:
4+
pull_request:
5+
paths:
6+
- ".github/workflows/compile-examples.yml"
7+
- "cores/**"
8+
- "libraries/**"
9+
- "variants/**"
10+
- "boards.txt"
11+
- "platform.txt"
12+
push:
13+
paths:
14+
- ".github/workflows/compile-examples.yml"
15+
- "cores/**"
16+
- "libraries/**"
17+
- "variants/**"
18+
- "boards.txt"
19+
- "platform.txt"
420

521
jobs:
622
compile-test:

0 commit comments

Comments
 (0)