From a771cbd8715008444c13713f408b84e18f213926 Mon Sep 17 00:00:00 2001 From: Timur Olzhabayev Date: Thu, 10 Feb 2022 14:01:18 +0100 Subject: [PATCH] fix(github_actions): workflow execution concurrency is now limited to 1 (#45125) --- .github/workflows/commands.yml | 3 ++- .github/workflows/pr-checks.yml | 3 ++- .github/workflows/pr-commands-closed.yml | 3 ++- .github/workflows/pr-commands.yml | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/commands.yml b/.github/workflows/commands.yml index 969c4869134..7b5c492590f 100644 --- a/.github/workflows/commands.yml +++ b/.github/workflows/commands.yml @@ -4,7 +4,8 @@ on: types: [labeled, unlabeled] issue_comment: types: [created] - +concurrency: + group: issue-commands-${{ github.event.issue.number }} jobs: main: runs-on: ubuntu-latest diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 4e26de337b6..be455a168a2 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -12,7 +12,8 @@ on: types: - milestoned - demilestoned - +concurrency: + group: pr-checks-${{ github.event.issue.number }} jobs: main: runs-on: ubuntu-latest diff --git a/.github/workflows/pr-commands-closed.yml b/.github/workflows/pr-commands-closed.yml index bc179127c0b..0f0067450be 100644 --- a/.github/workflows/pr-commands-closed.yml +++ b/.github/workflows/pr-commands-closed.yml @@ -3,7 +3,8 @@ on: pull_request: types: - closed - +concurrency: + group: pr-commands-closed-${{ github.event.issue.number }} jobs: close_job: # this job will only run if the PR has been closed without being merged diff --git a/.github/workflows/pr-commands.yml b/.github/workflows/pr-commands.yml index cd115987f6c..523628e545d 100644 --- a/.github/workflows/pr-commands.yml +++ b/.github/workflows/pr-commands.yml @@ -4,7 +4,8 @@ on: types: - opened - synchronize - +concurrency: + group: pr-commands-${{ github.event.issue.number }} jobs: main: runs-on: ubuntu-latest