From 06c5542739a91f4fda632e989121a26c3fce1c4f Mon Sep 17 00:00:00 2001 From: Mogyuchi Date: Fri, 31 May 2024 08:07:01 +0900 Subject: [PATCH] ci: test --- .github/workflows/pr-label-check.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pr-label-check.yml b/.github/workflows/pr-label-check.yml index bcf245887..380e98ba9 100644 --- a/.github/workflows/pr-label-check.yml +++ b/.github/workflows/pr-label-check.yml @@ -3,7 +3,7 @@ on: pull_request: types: - opened # for "Require status checks to pass" - - synchronize # ditto + #- synchronize # ditto - labeled - unlabeled @@ -16,11 +16,8 @@ permissions: jobs: do-not-merge: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - - run: | - if ${{ contains(github.event.pull_request.labels.*.name, 'do NOT merge!!!') }}; then - false - else - true - fi + - if: contains(github.event.pull_request.labels.*.name, 'do NOT merge!!!') + name: "Remove `do-not-merge` label before merging" + run: exit 1