pozil / auto-assign-issue

GitHub Action that auto-assigns issues or PRs to one or more users
Creative Commons Zero v1.0 Universal
53 stars 28 forks source link

Assignation doesn't work for PRs #52

Closed agomezmoron closed 2 years ago

agomezmoron commented 2 years ago

When using the action with a PR it doesn't work.

PRs have assignees and requested_reviewers. IMHO, assignees in the PR context should be a requested_reviewer - and the same to remove the previous ones.

agomezmoron commented 2 years ago

I am working on a PR to provide a fix but I have pending the tests https://github.com/pozil/auto-assign-issue/pull/51

pozil commented 2 years ago

Thanks for taking a look into this. I must admit that I haven't tested the behavior of the action on PRs. I generally don't use assignees so I agree on switching to reviewers.

pozil commented 2 years ago

Thanks for the fix, I'll release a new version with your work.