From 68b181708cf9a90e53e478e663e674023b84e3a2 Mon Sep 17 00:00:00 2001 From: Andreas Herrmann Date: Sat, 2 Dec 2023 12:47:00 +0100 Subject: [PATCH] Skip the join job on release tags --- .github/workflows/ci.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c320c9f1..101b4f4c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -187,5 +187,9 @@ jobs: if: ${{ always() }} steps: - uses: cgrindel/gha_join_jobs@v1.2.0 + # Skip on release flows when invoked through the release workflow. + # Otherwise gha_join_jobs discovers its own job in the job list and + # fails since it is not yet succeeded, but still in progress. + if: github.event_name != 'push' || !startsWith(github.ref, 'refs/tags/v') with: github_token: ${{ secrets.GITHUB_TOKEN }}