Skip to content

Commit add06c0

Browse files
committed
minimize tests
1 parent 54eb513 commit add06c0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/test.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ on:
1616
- resolveissue-*
1717
- demo*
1818

19+
# Credits to https://blog.maximeheckel.com/posts/building-perfect-github-action-frontend-teams/
20+
concurrency:
21+
# Here the group is defined by the head_ref of the PR
22+
group: ${{ github.head_ref }}
23+
# Here we specify that we'll cancel any "in progress" workflow of the same group. Thus if we push, ammend a commit and push
24+
# again the previous workflow will be cancelled, thus saving us github action build minutes and avoid any conflicts
25+
cancel-in-progress: true
26+
1927
jobs:
2028
all-test:
2129
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)