fix: avoid run labeler job concurrently (#5584)

Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
Ruihang Xia
2025-02-21 21:18:26 -08:00
committed by GitHub
parent 8d05fb3503
commit 500d0852eb
2 changed files with 8 additions and 0 deletions

View File

@@ -3,6 +3,10 @@ on:
pull_request_target:
types: [opened, edited]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
docbot:
runs-on: ubuntu-20.04

View File

@@ -7,6 +7,10 @@ on:
- reopened
- edited
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-20.04