ruby-grape / grape

An opinionated framework for creating REST-like APIs in Ruby.
http://www.ruby-grape.org
MIT License
9.88k stars 1.22k forks source link

Danger missing write access #2479

Closed ericproulx closed 1 month ago

ericproulx commented 1 month ago

@dblock Danger is always ✅ but there's a message saying

Danger does not have write access to the PR to set a PR status.
dblock commented 1 month ago

~Odd. The token is valid and has not expired. I'll look more.~

I think this is expected. Danger will comment on a PR but not block it. I can probably update the token to have write access to this repo PRs, but I'd rather not since the token is public.

We should replace Danger with a version where the PR comment and status are set via a separate action with a PAT with r/w access like in https://github.com/opensearch-project/opensearch-api-specification/blob/main/.github/workflows/pr-comment.yml.