From 653544e825d2a47079dc1ec0a987624001a4e2ea Mon Sep 17 00:00:00 2001 From: bitnami-bot Date: Thu, 30 Nov 2023 10:49:09 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20synced=20local=20'.github/workfl?= =?UTF-8?q?ows/'=20with=20remote=20'workflows/'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: bitnami-bot --- .github/workflows/comments.yml | 3 +++ .github/workflows/move-closed-issues.yml | 3 +++ .github/workflows/pr-reviews.yml | 3 +++ .github/workflows/reasign.yml | 5 ++++- .github/workflows/triage.yml | 3 +++ 5 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/comments.yml b/.github/workflows/comments.yml index 7d321fd..017f883 100644 --- a/.github/workflows/comments.yml +++ b/.github/workflows/comments.yml @@ -10,6 +10,9 @@ permissions: contents: read pull-requests: write issues: write +# Avoid concurrency over the same issue +concurrency: + group: card-movement-${{ github.event.issue.number }} jobs: call-comments-workflow: uses: bitnami/support/.github/workflows/comment-created.yml@main diff --git a/.github/workflows/move-closed-issues.yml b/.github/workflows/move-closed-issues.yml index 76664ce..d9c7425 100644 --- a/.github/workflows/move-closed-issues.yml +++ b/.github/workflows/move-closed-issues.yml @@ -12,6 +12,9 @@ on: permissions: issues: write pull-requests: write +# Avoid concurrency over the same issue +concurrency: + group: card-movement-${{ github.event.repository.id }}-${{ github.event.issue != null && github.event.issue.number || github.event.number }} jobs: call-move-closed-workflow: uses: bitnami/support/.github/workflows/item-closed.yml@main diff --git a/.github/workflows/pr-reviews.yml b/.github/workflows/pr-reviews.yml index bd3da55..2f3725f 100644 --- a/.github/workflows/pr-reviews.yml +++ b/.github/workflows/pr-reviews.yml @@ -9,6 +9,9 @@ on: - synchronize permissions: contents: read +# Avoid concurrency over the same issue +concurrency: + group: card-movement-${{ github.event.number }} jobs: call-pr-review-workflow: uses: bitnami/support/.github/workflows/pr-review-requested-sync.yml@main diff --git a/.github/workflows/reasign.yml b/.github/workflows/reasign.yml index 67f3199..ce670f7 100644 --- a/.github/workflows/reasign.yml +++ b/.github/workflows/reasign.yml @@ -3,7 +3,7 @@ name: '[Support] Review based card movements' on: - pull_request: + pull_request_target: types: - labeled issues: @@ -13,6 +13,9 @@ permissions: contents: read pull-requests: write issues: write +# Avoid concurrency over the same issue +concurrency: + group: card-movement-${{ github.event.issue != null && github.event.issue.number || github.event.number }} jobs: call-reasign-workflow: uses: bitnami/support/.github/workflows/item-labeled.yml@main diff --git a/.github/workflows/triage.yml b/.github/workflows/triage.yml index 8a86133..8800317 100644 --- a/.github/workflows/triage.yml +++ b/.github/workflows/triage.yml @@ -16,6 +16,9 @@ permissions: contents: read pull-requests: write issues: write +# Avoid concurrency over the same issue +concurrency: + group: card-movement-${{ github.event.issue != null && github.event.issue.number || github.event.number }} jobs: call-triage-workflow: uses: bitnami/support/.github/workflows/item-opened.yml@main