Skip to content

Commit

Permalink
Only run CI on the latest version of branches
Browse files Browse the repository at this point in the history
  • Loading branch information
telser committed Nov 8, 2024
1 parent 03f30bd commit e0ef4af
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: Build and Test
on:
push:

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: ${{ github.ref_name != 'main' }}

defaults:
run:
shell: bash
Expand Down

0 comments on commit e0ef4af

Please sign in to comment.