From 83808221d72463010661191bc4b44d6e2359e948 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 18 Dec 2021 23:47:41 +0100 Subject: [PATCH 1/2] workflows: build-gluon: remove obsolete comment build-gluon.yml is not generated anymore. --- .github/workflows/build-gluon.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/build-gluon.yml b/.github/workflows/build-gluon.yml index 2bb2297c..63c5c420 100644 --- a/.github/workflows/build-gluon.yml +++ b/.github/workflows/build-gluon.yml @@ -1,7 +1,3 @@ - -# Update this file after adding/removing/renaming a target by running -# `make list-targets BROKEN=1 | ./contrib/actions/generate-actions.py > ./.github/workflows/build-gluon.yml` - name: Build Gluon on: push: From d8aca7f2115ff63f502793dfa0e3e1611ead44a1 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 18 Dec 2021 23:51:17 +0100 Subject: [PATCH 2/2] 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: