Fix gha concurrency conditions (#8702)

This commit is contained in:
Michael Telatynski
2022-05-26 10:21:44 +01:00
committed by GitHub
parent f3f14afbbf
commit 7efd7b67ea
2 changed files with 4 additions and 1 deletions

View File

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

View File

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