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

Commit 03268eb

Browse files
committed
use better filler responses
1 parent 5460b35 commit 03268eb

15 files changed

Lines changed: 140 additions & 62 deletions

config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ steps:
7575
#6
7676
- title: Answer the templates challenge question
7777
description: Answer the templates challenge question
78-
event: issue_comment.created
78+
event: pull_request.edited
7979
actions:
8080
- type: respond
8181
with: templates-answer.md
@@ -98,7 +98,7 @@ steps:
9898
#8
9999
- title: Answer the workflows challenge question
100100
description: Answer the workflows challenge question
101-
event: issue_comment.created
101+
event: pull_request.edited
102102
actions:
103103
- type: respond
104104
with: workflows-answer.md
@@ -121,7 +121,7 @@ steps:
121121
#10
122122
- title: Answer the project management challenge
123123
description: Answer the project management challenge
124-
event: issue_comment.created
124+
event: pull_request.edited
125125
actions:
126126
- type: respond
127127
with: projects-answer.md

responses/congratulations.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
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
1+
# :tada: Congratulations
2+
3+
You are finished with this course. You can see a deployed version of our work together at [LINK]. Feel free to share this link directly with others, or move it to your own organization.
4+
5+
- If your organization is on GitHub.com, [fork it]().
6+
- If your organization is on GitHub Enterprise Server, [clone and push it]() to your instance.
7+
8+
Your next steps are in the [Innersource learning path]().
Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1-
4: on issue_comment.created (learner answered)
2-
- bot validates response
3-
- bot explains topics, name, description, url
4-
- asks learner to merge
1+
### Answer :crystal_ball:
2+
3+
This repository is actually for ___.
4+
5+
Did you guess it? Probably not, because it doesn't contain many of the necessary elements to make a repository discoverable.
6+
7+
Some suggestions to ensure your teammates can find your repository are:
8+
- use a descriptive repository name
9+
- give your repository a description
10+
- provide a URL for the deployment of the app, or documentation about this project
511

612
Please merge this PR.

responses/discoverable.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
3: on pr.closed (learner merged)
2-
- bot opens PR for creating discoverable repos
3-
- challenge question: what is this repository for? screenshot of a repo with no README, topics, etc
4-
- learner enters response, likely will fail
1+
This PR is all about how to make your repositories more discoverable.
2+
3+
### Challenge question
4+
5+
What is this repository for?
6+
7+
[SCREENSHOT OF BARE REPOSITORY WITHOUT DOCS]
8+
9+
I'll respond when I detect you've submitted a comment on this PR.

responses/metrics-answer.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
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
1+
### Answer :crystal_ball:
2+
3+
Those are great ideas!
4+
5+
Here are some other ideas of measuring how well you're doing:
6+
- IDEAS HERE
7+
8+
I'll respond when you merge this PR.

responses/metrics.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
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
1+
Once you've implemented Innersource strategies, how do you know it's working?
2+
3+
### Challenge question
4+
5+
What might be some ways to measure the success of Innersource strategies?
6+
7+
I'll respond when you submit a comment to this PR.

responses/projects-answer.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
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
1+
### Answer :crystal_ball:
2+
3+
Without a clear project management strategy, you might as well pick any issue.
4+
5+
Being explicit about your project management tool, whether it's inside of GitHub or elsewhere, will help potential contributors figure out whether their contribution will be immediately beneficial or triaged.
6+
7+
I'll respond when you merge this PR.

responses/projects.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
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
1+
This to discuss project management!
2+
3+
### Challenge question
4+
5+
Here's some open issues in this company project. Which one should you work on?
6+
7+
[SCREENSHOT OF A HANDFUL OF ISSUES]
8+
9+
- [ ] issue 1
10+
- [ ] issue 2
11+
- [ ] issue 3
12+
- [ ] issue 4
13+
14+
I'll respond when you check one of the boxes above.

responses/repo-owner-answer.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1-
- answer: true, it _does_ exist, but it is a repository private to the github organization, so it's not visible, this is because of org permissions. Private repositories in the org are only visible by members of that org
2-
3-
2: on issue_comment.edited (learner voted)
4-
- bot validates guess, drops explanations
5-
- response explains ownership of repositories, name of repositories
6-
- response recommends few orgs as possible
7-
- response explains team mentions across orgs
8-
- bot asks learner to merge the PR
1+
### Answer :crystal_ball:
2+
3+
A repository _does_ exist at githubtraining/training-manual.
4+
5+
<details>
6+
<summary>Why can't you see it then? Review the **Files Changed** tab and see if you can figure it out. Collapse this text if you'd like an explanation.</summary>
7+
8+
The repository `training-manual` in the @githubtraining organization is private, and only visible to memebers of that organization. If you're not a member of the organization, it'll appear like the repository doesn't exist to you. This is an example of why having the right ownership structure is important. Having too many organizations with restrictive permissions means that each organization's work will be siloed.
9+
</summary>
10+
11+
Here are some recommendations based on some :sparkles: use of GitHub that we've seen:
12+
- aim for as few organizations as possible, remember: each organization is a black box to those outside of that organization
13+
- name your repositories in a meaningful manner, usually a simple project or application name will suffice
914

1015
Please merge this PR.

responses/repo-owner.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
- Open PR for repo ownership
2-
- response contains challenge question: true/false there is a repository at https://github.com/githubtraining/training-manual
1+
This pull request is all about repository ownership and naming conventions.
32

4-
- [ ] True, there is a repository at githubtraining/training-manual
5-
- [ ] False, no repository exists at githubtraining/training-manual
3+
### Challenge question
4+
5+
Does a repository exist at https://github.com/githubtraining/training-manual?
6+
7+
- [ ] True, there is at the given URL.
8+
- [ ] False, no repository exists at the given URL.
9+
10+
I'll respond when I detect you've checked one of the boxes above.

0 commit comments

Comments
 (0)