mirror of
https://github.com/neovim/neovim.git
synced 2026-05-23 21:30:11 +00:00
ci(reviewers): cancel redundant reviewer assignment runs per PR #39404
Problem: The reviewer assignment workflow can run multiple times for the same PR. Solution: Ensure only the newest review-assignment run continues with workflow concurrency.
This commit is contained in:
4
.github/workflows/reviewers_add.yml
vendored
4
.github/workflows/reviewers_add.yml
vendored
@@ -6,6 +6,10 @@ on:
|
||||
|
||||
permissions: {}
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
request-reviewer:
|
||||
if: github.event.pull_request.state == 'open' && github.event.pull_request.draft == false && !endsWith(github.actor, '[bot]')
|
||||
|
||||
Reference in New Issue
Block a user