andk / pause

Perl authors upload server
http://pause.perl.org/
150 stars 57 forks source link

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

Open rspier opened 2 months ago

rspier commented 2 months ago

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

rjbs commented 2 months ago

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 commented 2 months ago

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.