From 64d27249e28b34913af4cb471022c46d81f4c953 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Rold=C3=A1n=20Betancort?= Date: Mon, 3 Jun 2024 17:05:22 +0100 Subject: [PATCH] triggers builds if github event is release recent changes to bypass CI builds when code unrelated changes happen broke the release process, because the release jobs have those bypassed builds as required. this changes the bypass condition so that they run if the event that triggered GitHub Actions was a release --- .github/workflows/authzed-node.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/authzed-node.yaml b/.github/workflows/authzed-node.yaml index bae612e..a8c1c52 100644 --- a/.github/workflows/authzed-node.yaml +++ b/.github/workflows/authzed-node.yaml @@ -35,7 +35,7 @@ jobs: node-version: [18, 20, 21] needs: "paths-filter" if: | - needs.paths-filter.outputs.codechange == 'true' + needs.paths-filter.outputs.codechange == 'true' || github.event_name == 'release' steps: - uses: actions/checkout@v4 - uses: "authzed/action-spicedb@v1" @@ -81,7 +81,7 @@ jobs: node-version: [18, 20, 21] needs: "paths-filter" if: | - needs.paths-filter.outputs.codechange == 'true' + needs.paths-filter.outputs.codechange == 'true' || github.event_name == 'release' steps: - uses: actions/checkout@v4 - uses: "authzed/action-spicedb@v1"