Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 7efd7b6

Browse files
authored
Fix gha concurrency conditions (#8702)
1 parent f3f14af commit 7efd7b6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/pull_request.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Pull Request
22
on:
33
pull_request_target:
44
types: [ opened, edited, labeled, unlabeled, synchronize ]
5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.event.pull_request.head.ref }}
7+
cancel-in-progress: true
58
jobs:
69
changelog:
710
name: Preview Changelog

.github/workflows/sonarqube.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
types:
66
- completed
77
concurrency:
8-
group: ${{ github.workflow }}-${{ github.ref }}
8+
group: ${{ github.workflow }}-${{ github.event.workflow_run.head_branch }}
99
cancel-in-progress: true
1010
jobs:
1111
prdetails:

0 commit comments

Comments
 (0)