From d8aca7f2115ff63f502793dfa0e3e1611ead44a1 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 18 Dec 2021 23:51:17 +0100 Subject: [PATCH] workflows: build-gluon: avoid failure when no path filter matches The CI should be successful when there is nothing to check. Add if condition as proposed in [1]. [1] https://github.com/dorny/paths-filter/issues/66#issuecomment-778267385 --- .github/workflows/build-gluon.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-gluon.yml b/.github/workflows/build-gluon.yml index 63c5c420..dccdb347 100644 --- a/.github/workflows/build-gluon.yml +++ b/.github/workflows/build-gluon.yml @@ -24,6 +24,7 @@ jobs: build_firmware: needs: changed + if: ${{ needs.changed.outputs.targets != '[]' && needs.changed.outputs.targets != '' }} strategy: fail-fast: false matrix: