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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.