Skip to content

Commit a2e8ddc

Browse files
bloodfMarcin Kwiatkowski
authored andcommitted
chore: add concurrency control to GitHub actions (#754)
1 parent 9404a80 commit a2e8ddc

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.github/workflows/assing-pr-to-author.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ on:
33
pull_request:
44
types: [opened, ready_for_review, edited, synchronize]
55

6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
8+
cancel-in-progress: true
9+
610
jobs:
711
assignAuthor:
812
name: Assing

.github/workflows/conventional-pr-name.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ on:
33
pull_request:
44
types: ['opened', 'edited', 'reopened', 'synchronize']
55

6+
concurrency:
7+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
8+
cancel-in-progress: true
9+
610
jobs:
711
lint:
812
name: Validate PR Title (conventional-commit)

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ on:
1212
- develop
1313
- release-**
1414

15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
17+
cancel-in-progress: true
18+
1519
jobs:
1620
test_repository:
1721
name: Build and test

0 commit comments

Comments
 (0)