Skip to content

Commit ed23f03

Browse files
authored
feat: clarify pull request instructions (#32)
1 parent d5b612d commit ed23f03

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

lib/create-pull-request.js

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,23 @@ export default async function createPullRequest(
22
octokit,
33
{ owner, repo, ownerId, repositoryId }
44
) {
5-
let body = `- [ ] Implement features. Create separate \`feat: ...\` commits for each feature of the initial version
5+
let body = `Your new script is ready to be implemented :tada:
6+
7+
You can run it locally on your machine with
8+
9+
\`\`\`
10+
node cli.js
11+
\`\`\`
12+
13+
Once you are happy with it, push your changes to this pull request
14+
15+
\`\`\`
16+
git commit -a -m "feat: initial version"
17+
git push
18+
\`\`\`
19+
20+
Before merging:
21+
622
- [ ] [Install the Octoherd GitHub App](https://github.com/apps/octoherd/installations/new/permissions?suggested_target_id=${ownerId}&repository_ids[]=${repositoryId})
723
`;
824

lib/prompts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export default async function prompts({
124124
{
125125
type: "input",
126126
name: "cocEmail",
127-
message: "Email for Code of Conduct",
127+
message: "Email for the repository's CODE_OF_CONDUCT.md file",
128128
default: () =>
129129
answers1.packageName.startsWith("@octoherd")
130130

0 commit comments

Comments
 (0)