diff --git a/.github/workflows/bench-pr.yml b/.github/workflows/bench-pr.yml index f8e1c562a7..f978686c11 100644 --- a/.github/workflows/bench-pr.yml +++ b/.github/workflows/bench-pr.yml @@ -1,5 +1,9 @@ name: PR Benchmarks +concurrency: + group: ${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/develop' }} + on: pull_request: types: [ labeled, synchronize ] @@ -32,7 +36,7 @@ jobs: name: Random Access - id: compress name: Vortex Compression - + runs-on: self-hosted if: ${{ contains(github.event.head_commit.message, '[benchmark]') || github.event.label.name == 'benchmark' && github.event_name == 'pull_request' }} steps: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ed9da33db5..0cd06610cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,9 @@ name: CI +concurrency: + group: ${{ github.ref }} + cancel-in-progress: ${{ github.ref != 'refs/heads/develop' }} + on: push: branches: [ "develop" ]