Skip to content

Commit 5996e13

Browse files
committed
modify triggers for PIO CI
This will allow PR and push events to check formatting of pertinent library sources.
1 parent 52b9aae commit 5996e13

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/build_platformIO.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,19 @@ on:
77
- ".github/workflows/build_platformIO.yml"
88
- "library.json"
99
- "examples/**"
10+
- "*.cpp"
11+
- "*.h"
12+
- "!Dns.*"
13+
- "!clock-arch.*"
1014
push:
1115
paths:
1216
- ".github/workflows/build_platformIO.yml"
1317
- "library.json"
1418
- "examples/**"
19+
- "*.cpp"
20+
- "*.h"
21+
- "!Dns.*"
22+
- "!clock-arch.*"
1523
release:
1624
types: [published, edited]
1725

@@ -30,6 +38,7 @@ jobs:
3038

3139
build:
3240
needs: [check_formatting, validate_lib_json]
41+
if:
3342
uses: nRF24/.github/.github/workflows/build_platformio.yaml@main
3443
with:
3544
example-path: ${{ matrix.example }}

0 commit comments

Comments
 (0)