mirror of
https://github.com/status-im/status-github-bot.git
synced 2025-01-27 05:24:57 +00:00
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**
|
||||
- [x] Check the box for **Push** events
|
||||
- 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**
|
||||
- Path: `.github/github-bot.yml`
|
||||
1. Generate a private key pass and save it.
|
||||
|
@ -58,9 +58,9 @@ async function assignIssueToBountyAwaitingForApproval(context, robot, 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 {
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user