diff --git a/.github/workflows/csharp-test.yml b/.github/workflows/csharp-test.yml index f642f611739..2018c6754e6 100644 --- a/.github/workflows/csharp-test.yml +++ b/.github/workflows/csharp-test.yml @@ -9,6 +9,10 @@ on: jobs: unity-testsuite: runs-on: ubuntu-latest + # Cancel any previous testsuites running on the same PR and/or ref. + concurrency: + group: unity-test-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true steps: - name: Checkout repository uses: actions/checkout@v4