pozil / auto-assign-issue

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

Assign reviewers when PR is not draft #92

Closed mariajgrimaldi closed 1 year ago

mariajgrimaldi commented 1 year ago

Hello there!

I recently updated one of my workflows from v1.5.0 to the latest version of this action and found out that now assignees are also tagged as reviewers, which is pretty nice. The issue is, should they be tagged when the PR is still draft?

pozil commented 1 year ago

Hi @mariajgrimaldi. For this kind of use case, I would use a filter in the workflow so that the action doesn't run for draft PRs like this: https://github.com/orgs/community/discussions/25722

Would this work?