Fix gha concurrency conditions (#8702)
This commit is contained in:
parent
f3f14afbbf
commit
7efd7b67ea
2 changed files with 4 additions and 1 deletions
3
.github/workflows/pull_request.yaml
vendored
3
.github/workflows/pull_request.yaml
vendored
|
@ -2,6 +2,9 @@ name: Pull Request
|
|||
on:
|
||||
pull_request_target:
|
||||
types: [ opened, edited, labeled, unlabeled, synchronize ]
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.head.ref }}
|
||||
cancel-in-progress: true
|
||||
jobs:
|
||||
changelog:
|
||||
name: Preview Changelog
|
||||
|
|
2
.github/workflows/sonarqube.yml
vendored
2
.github/workflows/sonarqube.yml
vendored
|
@ -5,7 +5,7 @@ on:
|
|||
types:
|
||||
- completed
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
group: ${{ github.workflow }}-${{ github.event.workflow_run.head_branch }}
|
||||
cancel-in-progress: true
|
||||
jobs:
|
||||
prdetails:
|
||||
|
|
Loading…
Reference in a new issue