README.md: Add permissions required for the `assign-to-bounty-awaiting-for-approval.js` script

This commit is contained in:
Pedro Pombeiro 2018-01-25 20:42:01 +01:00
parent 808ba87cc1
commit c66a149355
No known key found for this signature in database
GPG Key ID: A65DEB11E4BBC647
2 changed files with 5 additions and 2 deletions

View File

@ -47,6 +47,9 @@ See the official [docs for deployment](https://probot.github.io/docs/deployment/
- Repository contents - **Read-only** - Repository contents - **Read-only**
- [x] Check the box for **Push** events - [x] Check the box for **Push** events
- Repository projects - **Read & Write** - Repository projects - **Read & Write**
- [x] Check the box for **Project for repository projects** events
- Organization projects - **Read-only**
- [x] Check the box for **Project for organization projects** events
- Single File - **Read-only** - Single File - **Read-only**
- Path: `.github/github-bot.yml` - Path: `.github/github-bot.yml`
1. Generate a private key pass and save it. 1. Generate a private key pass and save it.

View File

@ -58,9 +58,9 @@ async function assignIssueToBountyAwaitingForApproval(context, robot, assign) {
} }
if (assign) { if (assign) {
robot.log(`assignIssueToBountyAwaitingForApproval - Handling labelling of #${payload.issue.number} with ${payload.label.name} on repo ${ownerName}/${repoName}`) robot.log(`assignIssueToBountyAwaitingForApproval - Handling labeling of #${payload.issue.number} with ${payload.label.name} on repo ${ownerName}/${repoName}`)
} else { } else {
robot.log(`assignIssueToBountyAwaitingForApproval - Handling unlabelling of #${payload.issue.number} with ${payload.label.name} on repo ${ownerName}/${repoName}`) robot.log(`assignIssueToBountyAwaitingForApproval - Handling unlabeling of #${payload.issue.number} with ${payload.label.name} on repo ${ownerName}/${repoName}`)
} }
// Fetch org projects // Fetch org projects