Skip to content

Commit df0b379

Browse files
authored
Merge pull request #14 from vishnoianil/fix-perms
Fix permissions and minor text fixing
2 parents 0318167 + e695a31 commit df0b379

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

app.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ default_permissions:
8282

8383
# Pull requests and related comments, assignees, labels, milestones, and merges.
8484
# https://developer.github.com/v3/apps/permissions/#permission-on-pull-requests
85-
# pull_requests: read
85+
pull_requests: write
8686

8787
# Manage the post-receive hooks for a repository.
8888
# https://developer.github.com/v3/apps/permissions/#permission-on-repository-hooks
@@ -127,11 +127,11 @@ default_permissions:
127127
# name: My Probot App
128128

129129
# The homepage of your GitHub App.
130-
# url: https://example.com/
130+
url: https://github.com/redhat-et/instruct-lab-bot
131131

132132
# A description of the GitHub App.
133133
# description: A description of my awesome app
134134

135135
# Set to true when your GitHub App is available to the public or false when it is only accessible to the owner of the app.
136136
# Default: true
137-
# public: false
137+
public: false

src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ export default (app: Probot) => {
1616
const issueComment = context.issue({
1717
body:
1818
`Beep, boop 🤖 Hi, I'm instruct-lab-bot and I'm going to help you` +
19-
`with your pull request. Thanks for you contribution! 🎉\n` +
19+
` with your pull request. Thanks for you contribution! 🎉\n` +
2020
`In order to proceed please reply with the following comment:\n` +
2121
`\`@instruct-lab-bot generate\`\n` +
2222
`This will trigger the generation of some test data for your` +
23-
`contribution. Once the data is generated, I will let you know` +
24-
`and you can proceed with the review.`,
23+
` contribution. Once the data is generated, I will let you know` +
24+
` and you can proceed with the review.`,
2525
});
2626
await context.octokit.issues.createComment(issueComment);
2727
});

0 commit comments

Comments
 (0)