Skip to content
This repository has been archived by the owner on Oct 8, 2022. It is now read-only.

Prevent labels when author is a team member #15

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

rachmari
Copy link

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.

@andymckay
Copy link
Owner

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 😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants