Skip to content

Commit 374553f

Browse files
authored
no-release(fix): workflow concurrent execution conditions (#22)
Fix workflow concurrent execution conditions In a feature branch we want to cancel ongoing runs In a release branch we don't want to cancel ongoing runs
1 parent 33e6d5d commit 374553f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/erlang.yml

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ name: Erlang CI
22

33
on: [push]
44

5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}
8+
59
jobs:
610

711
build_and_test:

0 commit comments

Comments
 (0)