Skip to content

Commit

Permalink
fix prosoponator bot - add missing body for approve/disapprove operat…
Browse files Browse the repository at this point in the history
…ions (#1236)

* add missing body for approve/disapprove operations

* lint
  • Loading branch information
goastler authored Jun 11, 2024
1 parent ee067b9 commit 6fad3bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dev/prosoponator-bot/src/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ async function disapprove(args: string[]) {
repo: github.context.repo.repo,
pull_number: github.context.payload.issue!.number,
event: 'REQUEST_CHANGES',
body: `Disapproved by @${github.context.actor}`,
})
console.log('done')
}
Expand All @@ -52,6 +53,7 @@ async function approve(args: string[]) {
repo: github.context.repo.repo,
pull_number: github.context.payload.issue!.number,
event: 'APPROVE',
body: `Approved by @${github.context.actor}`,
})
console.log('done')
}
Expand Down

0 comments on commit 6fad3bb

Please sign in to comment.