Skip to content

Commit

Permalink
Cancel in progress (#1593)
Browse files Browse the repository at this point in the history
Fixes #1561
  • Loading branch information
gatesn authored Dec 6, 2024
1 parent 3a27f4a commit 84e1a6f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/bench-pr.yml
Original file line number Diff line number Diff line change
@@ -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 ]
Expand Down Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: CI

concurrency:
group: ${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/develop' }}

on:
push:
branches: [ "develop" ]
Expand Down

0 comments on commit 84e1a6f

Please sign in to comment.