Skip to content

Commit

Permalink
ci: add concurrency option to build workflow (#326)
Browse files Browse the repository at this point in the history
* ci: add `concurrency` option to `build` `workflow`

EX-5357

* ci: cancel previous `workflows`
  • Loading branch information
luismmdev authored Feb 9, 2022
1 parent 3ee4489 commit 135049e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Check branch is releasable and release alpha on main branch update
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 135049e

Please sign in to comment.