forked from carbon-design-system/carbon-tutorial-vue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.mergify.yml
118 lines (118 loc) · 4.14 KB
/
.mergify.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
pull_request_rules:
- name: Close when CI Passes Step 1
conditions:
- 'status-success=ci/circleci: step-one'
actions:
close:
message:
'Looks good - You are one step closer to completion of the Carbon
Vue tutorial and earning the digital credential.'
label:
add: ['status: approved']
remove: ['status: needs correction']
- name: Comment when CI fails Step 1
conditions:
- 'status-failure=ci/circleci: step-one'
actions:
comment:
message:
'Hi, it looks like you are missing something. Double check your code,
your preview URL should match the
[preview](https://www.carbondesignsystem.com/tutorial/vue/step-1#preview)
in the tutorial.'
label:
add: ['status: needs correction']
- name: Close when CI Passes Step 2
conditions:
- 'status-success=ci/circleci: step-two'
actions:
close:
message:
'Looks good - You are one step closer to completion of the Carbon
Vue tutorial and earning the digital credential.'
label:
add: ['status: approved']
remove: ['status: needs correction']
- name: Comment when CI fails Step 2
conditions:
- 'status-failure=ci/circleci: step-two'
actions:
comment:
message:
'Hi, it looks like you are missing something. Double check your code,
your preview URL should match the
[preview](https://www.carbondesignsystem.com/tutorial/vue/step-2#preview)
in the tutorial.'
label:
add: ['status: needs correction']
- name: Close when CI Passes Step 3
conditions:
- 'status-success=ci/circleci: step-three'
actions:
close:
message:
'Looks good - You are one step closer to completion of the Carbon
Vue tutorial and earning the digital credential.'
label:
add: ['status: approved']
remove: ['status: needs correction']
- name: Comment when CI fails Step 3
conditions:
- 'status-failure=ci/circleci: step-three'
actions:
comment:
message:
'Hi, it looks like you are missing something. Double check your code,
your preview URL should match the
[preview](https://www.carbondesignsystem.com/tutorial/vue/step-3#preview)
in the tutorial.'
label:
add: ['status: needs correction']
- name: Close when CI Passes Step 4
conditions:
- 'status-success=ci/circleci: step-four'
actions:
close:
message:
'Looks good - You are one step closer to completion of the Carbon
Vue tutorial and earning the digital credential.'
label:
add: ['status: approved']
remove: ['status: needs correction']
- name: Comment when CI fails Step 4
conditions:
- 'status-failure=ci/circleci: step-four'
actions:
comment:
message:
'Hi, it looks like you are missing something. Double check your code,
your preview URL should match the
[preview](https://www.carbondesignsystem.com/tutorial/vue/step-4#preview)
in the tutorial.'
label:
add: ['status: needs correction']
- name: Close when CI Passes Step 5
conditions:
- 'status-success=ci/circleci: step-five'
actions:
close:
message:
"Congratulations! You've completed the Carbon tutorial for Vue! Feel
free to stop this running application on IBM Cloud to avoid the
possibility of incurring any charges. Please see the wrapping up step
to apply for your badge!
https://www.carbondesignsystem.com/tutorial/vue/wrapping-up"
label:
add: ['status: approved']
remove: ['status: needs correction']
- name: Comment when CI fails Step 5
conditions:
- 'status-failure=ci/circleci: step-five'
actions:
comment:
message:
'Hi, it looks like you are missing something. Double check the
[instructions](https://www.carbondesignsystem.com/tutorial/vue/step-5)
in step 5 of the tutorial.'
label:
add: ['status: needs correction']