Skip to content
This repository was archived by the owner on Sep 1, 2022. It is now read-only.

Commit 07a9295

Browse files
committed
add a workflows PR
1 parent a05208a commit 07a9295

3 files changed

Lines changed: 39 additions & 10 deletions

File tree

config.yml

Lines changed: 31 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ before:
1010
body: welcome.md
1111

1212
steps:
13+
14+
#1
1315
- title: Close an issue
1416
description: Close an issue
1517
event: issues.closed
@@ -24,13 +26,15 @@ steps:
2426
data:
2527
url: '%actions.ownerPR.data.html_url%'
2628

29+
#2
2730
- title: Answer the owner challenge
2831
description: Answer the owner challenge
2932
event: pull_request.edited
3033
actions:
3134
- type: respond
3235
with: repo-owner-answer.md
3336

37+
#3
3438
- title: Merge the ownership PR
3539
description: Merge the ownership PR
3640
event: pull_request.closed
@@ -45,13 +49,15 @@ steps:
4549
data:
4650
url: '%actions.discoverablePR.data.html_url%'
4751

52+
#4
4853
- title: Answer the discoverability challenge
4954
description: Answer the discoverability challenge
5055
event: issue_comment.created
5156
actions:
5257
- type: respond
5358
with: discoverability-answer.md
54-
59+
60+
#5
5561
- title: Merge the discoverability PR
5662
description: Merge the discoverability PR
5763
event: pull_request.closed
@@ -65,15 +71,30 @@ steps:
6571
with: goto-pr.md
6672
data:
6773
url: '%actions.templatesPR.data.html_url%'
68-
69-
# 6: on issue_comment.edited (learner voted)
70-
# - bot responds why there's no right answer
71-
# - bot talks about issue and PR templates examples
72-
# - asks learner to merge
73-
# 7: on pr.closed (learner merged)
74-
# - bot creates PR about workflow
75-
# - challenge: what should you name your branch? screenshot of a list of branches
76-
# - learner answers
74+
75+
#6
76+
- title: Answer the templates challenge question
77+
description: Answer the templates challenge question
78+
event: issue_comment.created
79+
actions:
80+
- type: respond
81+
with: templates-answer.md
82+
83+
#7
84+
- title: Merge the templates PR
85+
description: Merge the templates PR
86+
event: pull_request.closed
87+
actions:
88+
- type: createPullRequest
89+
title: Workflows
90+
head: workflows
91+
body: workflows.md
92+
action_id: workflowsPR
93+
- type: respond
94+
with: goto-pr.md
95+
data:
96+
url: '%actions.workflowsPR.data.html_url%'
97+
7798
# 8: on issue_comment.created (learner answered)
7899
# - bot validates
79100
# - bot explains items in the PR, will be combinations of information about branch protections, example workflows, CODEOWNERS, deployment, etc

responses/templates-answer.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
6: on issue_comment.edited (learner voted)
2+
- bot responds why there's no right answer
3+
- bot talks about issue and PR templates examples
4+
- asks learner to merge

responses/workflows.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
7: on pr.closed (learner merged)
2+
- bot creates PR about workflow
3+
- challenge: what should you name your branch? screenshot of a list of branches
4+
- learner answers

0 commit comments

Comments
 (0)