forked from carbon-design-system/carbon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(mergify): add mergify config (carbon-design-system#5372)
- Loading branch information
Showing
1 changed file
with
118 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 React 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 π Looks like you are missing something, double check your code, | ||
your preview URL should match the | ||
[preview](https://www.carbondesignsystem.com/tutorial/react/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 React 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 π Looks like you are missing something, double check your code, | ||
your preview URL should match the | ||
[preview](https://www.carbondesignsystem.com/tutorial/react/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 React 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 π Looks like you are missing something, double check your code, | ||
your preview URL should match the | ||
[preview](https://www.carbondesignsystem.com/tutorial/react/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 React 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 π Looks like you are missing something, double check your code, | ||
your preview URL should match the | ||
[preview](https://www.carbondesignsystem.com/tutorial/react/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 React! | ||
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/react/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 π Looks like you are missing something, double check your the | ||
[instructions](https://www.carbondesignsystem.com/tutorial/react/step-5) | ||
in step 5 of the tutorial. π' | ||
label: | ||
add: ['status: needs correction'] |