ci: fix tests running multiple times for same commit.
Fix the test suite running multiple times when pushing multiple branches at once.
This commit is contained in:
3
.github/workflows/test.yaml
vendored
3
.github/workflows/test.yaml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user