File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change 5
5
- closed
6
6
7
7
jobs :
8
- semantic-version :
8
+ preparation :
9
9
if : github.event.pull_request.merged
10
10
name : Get next version numbers
11
11
runs-on : ubuntu-latest
14
14
uses : actions/checkout@v3
15
15
with :
16
16
fetch-depth : 0
17
+ - name : Remove WIP label from linked issue
18
+ uses : RebeccaStevens/issue-closed-labeler-action@latest
19
+ with :
20
+ rules : ' [{"condition": "WIP", "remove": "WIP"}]'
21
+ - name : Remove WIP label from PR
22
+ uses : actions-ecosystem/action-remove-labels@v1
23
+ with :
24
+ labels : WIP
17
25
- name : Get previous tag
18
26
id : previous_tag
19
27
uses : " WyriHaximus/github-action-get-previous-tag@v1"
@@ -30,17 +38,17 @@ jobs:
30
38
31
39
determine-release :
32
40
name : Release type
33
- needs : semantic-version
41
+ needs : preparation
34
42
runs-on : ubuntu-latest
35
43
continue-on-error : true
36
44
strategy :
37
45
matrix :
38
46
labels : ["bug,patch", "feature,minor"]
39
47
include :
40
48
- labels : " bug,patch"
41
- version : " ${{ needs.semantic-version .outputs.v_patch }}"
49
+ version : " ${{ needs.preparation .outputs.v_patch }}"
42
50
- labels : " feature,minor"
43
- version : " ${{ needs.semantic-version .outputs.v_minor }}"
51
+ version : " ${{ needs.preparation .outputs.v_minor }}"
44
52
steps :
45
53
- name : Check labels
46
54
uses : docker://agilepathway/pull-request-label-checker:latest
You can’t perform that action at this time.
0 commit comments