From a53bd112455003d08f432cf9d24f2226111144b2 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Wed, 24 May 2023 00:57:41 +0200 Subject: [PATCH] CI: Only build on changes to relevant folders --- .github/workflows/platformio-ci.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.github/workflows/platformio-ci.yaml b/.github/workflows/platformio-ci.yaml index 2d85672..89762a9 100644 --- a/.github/workflows/platformio-ci.yaml +++ b/.github/workflows/platformio-ci.yaml @@ -3,8 +3,23 @@ name: PlatformIO CI on: push: branches: [ main ] + paths: + - '.github/workflows/platformio-ci.yaml' + - 'scale-adjust/**' + - 'node-gprs-http/**' + - 'node-wifi-mqtt/**' + - 'node-esp8266-generic/**' + - 'node-esp32-generic/**' pull_request: branches: [ main ] + paths: + - '.github/workflows/platformio-ci.yaml' + - 'scale-adjust/**' + - 'node-gprs-http/**' + - 'node-wifi-mqtt/**' + - 'node-esp8266-generic/**' + - 'node-esp32-generic/**' + # Allow job to be triggered manually. workflow_dispatch: