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

Workflow to implement a "do not merge" label. #516

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rspier
Copy link
Collaborator

@rspier rspier commented May 12, 2024

From https://github.com/jessesquires/gh-workflows/blob/main/.github/workflows/do-not-merge.yml (MIT licensed)

This action will fail if the do not merge label has been applied.

Future option: enable branch protection to enforce that checks (including this one) must pass

@rspier rspier added do not merge indicates that this PR should not be merged. and removed do not merge indicates that this PR should not be merged. labels May 12, 2024
@rspier rspier requested a review from rjbs May 12, 2024 04:49
@rjbs
Copy link
Collaborator

rjbs commented May 16, 2024

How does this work? Is the idea that we have configured the repository to refuse merge when any check fails, or is there more to it than this?

@rspier
Copy link
Collaborator Author

rspier commented May 17, 2024

How does this work? Is the idea that we have configured the repository to refuse merge when any check fails, or is there more to it than this?

It's exactly that. The repository is not currently configured that way -- I don't have permission to do so. But once the check is in place... it could be.

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.

2 participants