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

Commit 8afef17

Browse files
committed
finish up all the steps
1 parent 07a9295 commit 8afef17

7 files changed

Lines changed: 90 additions & 23 deletions

File tree

config.yml

Lines changed: 67 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -95,26 +95,70 @@ steps:
9595
data:
9696
url: '%actions.workflowsPR.data.html_url%'
9797

98-
# 8: on issue_comment.created (learner answered)
99-
# - bot validates
100-
# - bot explains items in the PR, will be combinations of information about branch protections, example workflows, CODEOWNERS, deployment, etc
101-
# - asks learner to merge
102-
# 9: on pr.closed (learner merged)
103-
# - bot creates PR about Project management
104-
# - challenge: what should you work on? screenshot of issues
105-
# - learner chooses one
106-
# 10: on issue_comment.edited (learner voted)
107-
# - bot explains that since no project management is involved, any answer is fair game
108-
# - bot explains docs in PR, lightweight project management on GitHub, explicitly calling out project management strategies
109-
# - asks learner to merge
110-
# 11: on pr.closed (learner merge)
111-
# - bot creates PR about measuring success
112-
# - challenge question: what might be some ways to measure success?
113-
# - learner votes
114-
# 12: on issue_comment.edited (learner voted)
115-
# - bot validates, most of the checked answers are probably right
116-
# - bot references PR docs, talks about measuring strategies
117-
# - asks learner to merge
118-
# 13: on pr.closed (learner merged)
119-
# - bot opens final issue, explaining what to do with this repo, includes instructions about forking or cloning
120-
# - bot congratulates learner on completion, recommends next steps
98+
#8
99+
- title: Answer the workflows challenge question
100+
description: Answer the workflows challenge question
101+
event: issue_comment.created
102+
actions:
103+
- type: respond
104+
with: workflows-answer.md
105+
106+
#9
107+
- title: Project management
108+
description: Project management
109+
event: pull_request.closed
110+
actions:
111+
- type: createPullRequest
112+
title: Managing projects on GitHub
113+
head: projects
114+
body: projects.md
115+
action_id: projectsPR
116+
- type: respond
117+
with: goto-pr.md
118+
data:
119+
url: '%actions.projectsPR.data.html_url%'
120+
121+
#10
122+
- title: Answer the project management challenge
123+
description: Answer the project management challenge
124+
event: issue_comment.created
125+
actions:
126+
- type: respond
127+
with: projecs-answer.md
128+
129+
#11
130+
- title: Measuring success
131+
description: Measuring success
132+
event: pull_request.closed
133+
actions:
134+
- type: createPullRequest
135+
title: Measuring success
136+
head: metrics
137+
body: metrics.md
138+
action_id: metricsPR
139+
- type: respond
140+
with: goto-pr.md
141+
data:
142+
url: '%actions.metricsPR.data.html_url%'
143+
144+
#12
145+
- title: Answer the success metrics challenge
146+
description: Answer the success metrics challenge
147+
event: issue_comment.created
148+
actions:
149+
- type: respond
150+
with: metrics-answer.md
151+
152+
#13
153+
- title: Merge the final PR
154+
description: Merge the final PR
155+
event: pull_request.closed
156+
actions:
157+
- type: createIssue
158+
title: Congratulations
159+
body: congratulations.md
160+
action_id: congratulationsIssue
161+
- type: respond
162+
with: goto-pr.md
163+
data:
164+
url: '%actions.congratulationsIssue.data.html_url%'

responses/congratulations.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
13: on pr.closed (learner merged)
2+
- bot opens final issue, explaining what to do with this repo, includes instructions about forking or cloning
3+
- bot congratulates learner on completion, recommends next steps

responses/metrics-answer.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
12: on issue_comment.edited (learner voted)
2+
- bot validates, most of the checked answers are probably right
3+
- bot references PR docs, talks about measuring strategies
4+
- asks learner to merge

responses/metrics.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
11: on pr.closed (learner merge)
2+
- bot creates PR about measuring success
3+
- challenge question: what might be some ways to measure success?
4+
- learner votes

responses/projects-answer.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
10: on issue_comment.edited (learner voted)
2+
- bot explains that since no project management is involved, any answer is fair game
3+
- bot explains docs in PR, lightweight project management on GitHub, explicitly calling out project management strategies
4+
- asks learner to merge

responses/projects.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
9: on pr.closed (learner merged)
2+
- bot creates PR about Project management
3+
- challenge: what should you work on? screenshot of issues
4+
- learner chooses one

responses/workflows-answer.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
8: on issue_comment.created (learner answered)
2+
- bot validates
3+
- bot explains items in the PR, will be combinations of information about branch protections, example workflows, CODEOWNERS, deployment, etc
4+
- asks learner to merge

0 commit comments

Comments
 (0)