README.md: Add permissions required for the `assign-to-bounty-awaiting-for-approval.js` script
This commit is contained in:
parent
808ba87cc1
commit
c66a149355
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue