From caa261e9301de7e2f64db9aa0c82fd78fefd8483 Mon Sep 17 00:00:00 2001 From: evazion Date: Fri, 1 Oct 2021 17:48:19 -0500 Subject: [PATCH] ci: fix tests running multiple times for same commit. Fix the test suite running multiple times when pushing multiple branches at once. --- .github/workflows/test.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 19329e312..3ce58e82d 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -22,6 +22,9 @@ jobs: test: if: ${{ github.event.workflow_run.conclusion == 'success' }} + # Don't run the test suite multiple times for the same commit. + concurrency: "test-${{ github.sha }}" + runs-on: ubuntu-latest container: