labeler icon indicating copy to clipboard operation
labeler copied to clipboard

Prevent labels when author is a team member

Open rachmari opened this issue 4 years ago • 1 comments

This update allows both issues and pull requests to be labeled. It also adds a new input parameter to prevent the label from being added when the author of a pull request is a member of the team. This update allows us to catch all external collaborator PRs opened to ensure they get a timely review.

Initially, I was preventing both issues and pull requests from being labeled when a team member was the author. But there might be a case when team member opens the issue but expects the first responder to triage it to the correct project board. I'm curious how other teams might use this feature to first respond. I could also make labeling issues and PRs configurable when the author is a team member.

rachmari avatar May 25 '20 03:05 rachmari

I don't know about that use case, you could chain together multiple actions in the same workflow I suppose though? One for issue and one for PR that do slightly different things? If we can I'd like to see us keep the Action as simple as possible 😄

andymckay avatar Jun 01 '20 14:06 andymckay