fix(github_actions): workflow execution concurrency is now limited to 1 (#45125)

This commit is contained in:
Timur Olzhabayev
2022-02-10 14:01:18 +01:00
committed by GitHub
parent e7605ad974
commit a771cbd871
4 changed files with 8 additions and 4 deletions

View File

@@ -4,7 +4,8 @@ on:
types: [labeled, unlabeled] types: [labeled, unlabeled]
issue_comment: issue_comment:
types: [created] types: [created]
concurrency:
group: issue-commands-${{ github.event.issue.number }}
jobs: jobs:
main: main:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@@ -12,7 +12,8 @@ on:
types: types:
- milestoned - milestoned
- demilestoned - demilestoned
concurrency:
group: pr-checks-${{ github.event.issue.number }}
jobs: jobs:
main: main:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@@ -3,7 +3,8 @@ on:
pull_request: pull_request:
types: types:
- closed - closed
concurrency:
group: pr-commands-closed-${{ github.event.issue.number }}
jobs: jobs:
close_job: close_job:
# this job will only run if the PR has been closed without being merged # this job will only run if the PR has been closed without being merged

View File

@@ -4,7 +4,8 @@ on:
types: types:
- opened - opened
- synchronize - synchronize
concurrency:
group: pr-commands-${{ github.event.issue.number }}
jobs: jobs:
main: main:
runs-on: ubuntu-latest runs-on: ubuntu-latest