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]
issue_comment:
types: [created]
concurrency:
group: issue-commands-${{ github.event.issue.number }}
jobs:
main:
runs-on: ubuntu-latest

View File

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

View File

@@ -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

View File

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