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:
Alexander Brown
2025-10-09 13:28:38 -07:00
committed by GitHub
parent 8b7bc5eb89
commit 13db1e484b
5 changed files with 19 additions and 2 deletions

View File

@@ -8,7 +8,8 @@ on:
types: [created]
concurrency:
group: ${{ github.event.number || github.event.issue.number }}
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test: