scala-steward icon indicating copy to clipboard operation
scala-steward copied to clipboard

Support assignment or review requests via configuration

Open travisbrown opened this issue 6 years ago • 4 comments

It would be convenient to be able to handle scala-steward's PRs through the standard tabs in GitHub's pull requests interface, and I was wondering whether other people would be interested in having this supported via configuration options in .scala-steward.conf. You'd add something like assignees = ["travisbrown"] and all update pull requests would be assigned to that person.

(I know this could also be done via CODEOWNERS, but that doesn't seem to be a perfect fit––e.g. I might want to be responsible for tending scala-steward updates on a repo where I'm not a primary maintainer or owner. Maybe that's a stretch, though.)

travisbrown avatar May 23 '19 07:05 travisbrown

I like the idea, but I think @scala-steward lacks permissions to assign PRs. If I'm not mistaken you need to have write access to a repository to assign issues and PRs.

If scala-steward would be a GitHub App (which I'm also working on) it would have appropriate access and could support this. In the meantime I think you can accomplish the same with Mergify.io.

fthomas avatar May 23 '19 17:05 fthomas

Would this be feasible with the GitLab integration?

philipphoffmann avatar Aug 07 '19 09:08 philipphoffmann

@philipphoffmann I've no idea if GitLab also requires special permissions for assigning merge requests.

fthomas avatar Aug 07 '19 18:08 fthomas

Since I mentioned Mergify before: this repo's mergify.yml shows now how @scala-steward's PRs can be assigned automatically.

fthomas avatar Oct 07 '19 20:10 fthomas