diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 7c64d21f6..4737fc7c3 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -2,6 +2,10 @@ name: benchmarks on: [pull_request] +concurrency: + group: ${{ github.actor }}-${{ github.ref }} + cancel-in-progress: true + jobs: benchmarks: strategy: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 52980cd54..97d764ea6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,15 @@ name: tests -on: [push, pull_request] +on: + push: + branches: + - 'main' + - 'GWB-*' + pull_request: + +concurrency: + group: ${{ github.actor }}-${{ github.ref }} + cancel-in-progress: true jobs: test_indentation: