]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
build: Give auto review bot write permission on pull request
authorDaniel Wagner <dwagner@suse.de>
Mon, 4 Jul 2022 11:02:04 +0000 (13:02 +0200)
committerDaniel Wagner <dwagner@suse.de>
Mon, 4 Jul 2022 11:33:15 +0000 (13:33 +0200)
commit2cce5a75dc232c57acfaa3668176268c538d823c
treef47f21f56156212d1dc32c5d4613376b28cfcdff
parentf86faaaa2a1ff319bde188dc8988be1ec054d238
build: Give auto review bot write permission on pull request

Currently setting the reviewer from the bot fails with:
  Error: HttpError: Resource not accessible by integration

The GITHUB_TOKEN needs enough permission to update the PR.

Links: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token
Signed-off-by: Daniel Wagner <dwagner@suse.de>
.github/workflows/auto_request_review.yml