From c00957b188ab78e7039b173072aa183a5f8bdebf Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Wed, 29 Nov 2023 18:54:39 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20synced=20local=20'.github/workfl?= =?UTF-8?q?ows/'=20with=20remote=20'workflows/'=20(#154)?= 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 7d321fd6..017f8837 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 76664ced..d9c74255 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 bd3da55a..2f3725fb 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 67f31995..ce670f71 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 8a861335..88003178 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