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 workflow to disable PR if certain labels exist #395

Merged
merged 1 commit into from
Mar 14, 2022

Conversation

YrrepNoj
Copy link
Contributor

Description

Add a workflow that checks if certain 'banned' labels have been applied to a PR. If the labels exist, the workflow will fail preventing a merge. This is useful as we review PRs so we can make sure proper documentation and tests have been added before getting merged.

Related Issue

Closes #352

Type of change

  • New feature (non-breaking change which adds functionality)

@YrrepNoj YrrepNoj self-assigned this Mar 14, 2022
@YrrepNoj YrrepNoj force-pushed the 352-enforcing-labels-on-prs branch from 261da25 to 0ab0945 Compare March 14, 2022 14:51
@YrrepNoj YrrepNoj added needs-tests PR Label - Tests required to merge needs-adr needs-docs PR Label - Docs required to merge and removed needs-adr needs-docs PR Label - Docs required to merge needs-tests PR Label - Tests required to merge labels Mar 14, 2022
@YrrepNoj YrrepNoj merged commit bc89361 into master Mar 14, 2022
@YrrepNoj YrrepNoj deleted the 352-enforcing-labels-on-prs branch March 14, 2022 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use automation to prevent merge when certain expectations are unmet in a PR
2 participants