Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for defining invalid labels #22

Merged
merged 8 commits into from
Feb 18, 2021
Merged

Add support for defining invalid labels #22

merged 8 commits into from
Feb 18, 2021

Conversation

jesusvasquez333
Copy link
Owner

This PR add a new feature to this action, which allows the user to define a list of invalid labels. If a PR contains any of this invalid labels, the action will prevent the merging of the PR, similarly as not having any valid label defined. However, the action will generate independent reviews for both situations: missing a valid label, or containing an invalid label.

The list of invalid labels is optional, and by default is an empty list. So, this changes are backward compatible with previous versions.

This resolves #16

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request does not contain a valid label. Please add one of the following labels: bug, enhancement

@jesusvasquez333 jesusvasquez333 added the enhancement New feature or request label Feb 18, 2021
@jesusvasquez333 jesusvasquez333 self-assigned this Feb 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement invalid-labels feature
1 participant