Skip to content

Commit ac639fb

Browse files
committed
Support push triggers in pr
1 parent 3cbfb24 commit ac639fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ on:
1616
- resolveissue-*
1717
- demo*
1818

19-
# Credits to https://blog.maximeheckel.com/posts/building-perfect-github-action-frontend-teams/
19+
# Credits to https://blog.maximeheckel.com/posts/building-perfect-github-action-frontend-teams/#you-are-terminated
2020
concurrency:
2121
# Here the group is defined by the head_ref of the PR
22-
group: ${{ github.head_ref }}
22+
group: ${{ github.head_ref || github.ref_name }}
2323
# Here we specify that we'll cancel any "in progress" workflow of the same group. Thus if we push, ammend a commit and push
2424
# again the previous workflow will be cancelled, thus saving us github action build minutes and avoid any conflicts
2525
cancel-in-progress: true

0 commit comments

Comments
 (0)