From 202c460d88f6fdd4cfb9cd164d85e32ea259f66c Mon Sep 17 00:00:00 2001 From: Ryan Lopopolo Date: Mon, 7 Sep 2020 13:09:58 -0700 Subject: [PATCH] Block WIP or unmergeable PRs See artichoke/project-infrastructure#44. --- .github/workflows/block-merge.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/block-merge.yaml diff --git a/.github/workflows/block-merge.yaml b/.github/workflows/block-merge.yaml new file mode 100644 index 00000000..9e41a548 --- /dev/null +++ b/.github/workflows/block-merge.yaml @@ -0,0 +1,16 @@ +--- +name: Merge +"on": + pull_request: + types: [opened, labeled, unlabeled, synchronize] +jobs: + labels: + name: Labels + runs-on: ubuntu-latest + + steps: + - uses: mheap/github-action-required-labels@v1 + with: + mode: exactly + count: 0 + labels: "S-do-not-merge, S-wip"