File tree 1 file changed +5
-9
lines changed
1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change 11
11
- ' beta'
12
12
- ' alpha'
13
13
- ' !all-contributors/**'
14
- pull_request : {}
14
+ pull_request :
15
+
16
+ concurrency :
17
+ group : ${{ github.workflow }}-${{ github.ref }}
18
+ cancel-in-progress : true
15
19
16
20
permissions : {}
17
21
18
22
jobs :
19
23
main :
20
24
permissions :
21
- actions : write # to cancel/stop running workflows (styfle/cancel-workflow-action)
22
25
contents : read # to fetch code (actions/checkout)
23
26
# ignore all-contributors PRs
24
27
if : ${{ !contains(github.head_ref, 'all-contributors') }}
29
32
node : [14, 16, 18]
30
33
runs-on : ubuntu-latest
31
34
steps :
32
- - name : 🛑 Cancel Previous Runs
33
-
34
-
35
35
- name : ⬇️ Checkout repo
36
36
uses : actions/checkout@v3
37
37
with :
63
63
64
64
release :
65
65
permissions :
66
- actions : write # to cancel/stop running workflows (styfle/cancel-workflow-action)
67
66
contents : write # to create release tags (cycjimmy/semantic-release-action)
68
67
issues : write # to post release that resolves an issue
69
68
73
72
${{ github.repository == 'testing-library/dom-testing-library' &&
74
73
github.event_name == 'push' }}
75
74
steps :
76
- - name : 🛑 Cancel Previous Runs
77
-
78
-
79
75
- name : ⬇️ Checkout repo
80
76
uses : actions/checkout@v3
81
77
You can’t perform that action at this time.
0 commit comments