Skip to content

Commit

Permalink
Add concurrency group to ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fxamacker authored Sep 29, 2024
1 parent 33c14c9 commit d42b010
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,17 @@ on:
pull_request:
push:
branches:
- 'main'
- 'master'
- 'release*'
- 'feature/stream-mode'
tags:
- 'v*'
- 'v*'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true

jobs:
# Test on various OS with default Go version.
tests:
Expand Down

0 comments on commit d42b010

Please sign in to comment.