ci: fix race condition when both workflow run
This commit is contained in:
@@ -52,10 +52,11 @@ jobs:
|
|||||||
git push
|
git push
|
||||||
|
|
||||||
update-issue-templates:
|
update-issue-templates:
|
||||||
|
needs: update-catalog
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
if: ${{ github.repository == 'noctalia-dev/community-plugins' }}
|
if: ${{ github.repository == 'noctalia-dev/community-plugins' && !cancelled() }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v7
|
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.email "github-actions[bot]@users.noreply.github.com"
|
||||||
git config --local user.name "github-actions[bot]"
|
git config --local user.name "github-actions[bot]"
|
||||||
git commit -m "chore: update issue templates [skip ci]"
|
git commit -m "chore: update issue templates [skip ci]"
|
||||||
|
git pull --rebase
|
||||||
git push
|
git push
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user