mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-21 23:34:31 +00:00
CI: Add concurrency checks to PR workflows (#6000)
## Summary https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow ## Changes - **What**: Will cancel ongoing checks when new commits are pushed to the PR branch ## Review Focus What other optimizations could we make? ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-6000-CI-Add-concurrency-checks-to-PR-workflows-2876d73d3650813cbb65eb8c397ac748) by [Unito](https://www.unito.io)
This commit is contained in:
4
.github/workflows/lint-and-format.yaml
vendored
4
.github/workflows/lint-and-format.yaml
vendored
@@ -4,6 +4,10 @@ on:
|
||||
pull_request:
|
||||
branches-ignore: [wip/*, draft/*, temp/*]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
Reference in New Issue
Block a user