Skip to content

Commit

Permalink
Cancel in progress workflows on new commits
Browse files Browse the repository at this point in the history
  • Loading branch information
gassmoeller committed Feb 13, 2024
1 parent 05df5d4 commit bc0e464
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: benchmarks

on: [pull_request]

concurrency:
group: ${{ github.actor }}-${{ github.ref }}
cancel-in-progress: true

jobs:
benchmarks:
strategy:
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down

0 comments on commit bc0e464

Please sign in to comment.