From 5996e137842efb52832d8a2952319198f92163b1 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Thu, 26 Oct 2023 16:05:41 -0700 Subject: [PATCH] modify triggers for PIO CI This will allow PR and push events to check formatting of pertinent library sources. --- .github/workflows/build_platformIO.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build_platformIO.yml b/.github/workflows/build_platformIO.yml index 89a3367..d02a77f 100644 --- a/.github/workflows/build_platformIO.yml +++ b/.github/workflows/build_platformIO.yml @@ -7,11 +7,19 @@ on: - ".github/workflows/build_platformIO.yml" - "library.json" - "examples/**" + - "*.cpp" + - "*.h" + - "!Dns.*" + - "!clock-arch.*" push: paths: - ".github/workflows/build_platformIO.yml" - "library.json" - "examples/**" + - "*.cpp" + - "*.h" + - "!Dns.*" + - "!clock-arch.*" release: types: [published, edited] @@ -30,6 +38,7 @@ jobs: build: needs: [check_formatting, validate_lib_json] + if: uses: nRF24/.github/.github/workflows/build_platformio.yaml@main with: example-path: ${{ matrix.example }}