From 9d978bed3d939ed3ba513d9a66ceed848c505cd6 Mon Sep 17 00:00:00 2001 From: Lemmy Date: Mon, 3 Aug 2026 17:48:22 -0400 Subject: [PATCH] ci: fix race condition when both workflow run --- .github/workflows/on-push.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/on-push.yml b/.github/workflows/on-push.yml index f7515cc..53f7eae 100644 --- a/.github/workflows/on-push.yml +++ b/.github/workflows/on-push.yml @@ -52,10 +52,11 @@ jobs: git push update-issue-templates: + needs: update-catalog runs-on: ubuntu-latest permissions: contents: write - if: ${{ github.repository == 'noctalia-dev/community-plugins' }} + if: ${{ github.repository == 'noctalia-dev/community-plugins' && !cancelled() }} steps: - name: Checkout repository uses: actions/checkout@v7 @@ -84,5 +85,6 @@ jobs: git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" git commit -m "chore: update issue templates [skip ci]" + git pull --rebase git push