You've already forked library-registry
mirror of
https://github.com/arduino/library-registry.git
synced 2025-11-23 03:22:23 +03:00
Merge pull request #770 from per1234/fix-concurrency
Avoid manager workflow run cancelation by incidental events
This commit is contained in:
14
.github/workflows/manage-prs.yml
vendored
14
.github/workflows/manage-prs.yml
vendored
@@ -26,7 +26,19 @@ on:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.event.pull_request.number }}${{ github.event.issue.number }}
|
||||
cancel-in-progress: true
|
||||
cancel-in-progress: >-
|
||||
${{
|
||||
(
|
||||
github.event_name == 'pull_request_target' &&
|
||||
github.event.pull_request.draft == false
|
||||
) ||
|
||||
(
|
||||
github.event_name == 'issue_comment' &&
|
||||
github.event.issue.pull_request != '' &&
|
||||
github.event.issue.state == 'open' &&
|
||||
contains(github.event.comment.body, 'ArduinoBot')
|
||||
)
|
||||
}}
|
||||
|
||||
jobs:
|
||||
diff:
|
||||
|
||||
Reference in New Issue
Block a user