From 11891b6b2099b764b60edf47cf77605080c4ae78 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 | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr-label-check.yml b/.github/workflows/pr-label-check.yml index bcf245887..e8b47b31a 100644 --- a/.github/workflows/pr-label-check.yml +++ b/.github/workflows/pr-label-check.yml @@ -16,11 +16,8 @@ permissions: jobs: do-not-merge: - runs-on: ubuntu-22.04 + # Remove `do-not-merge` label before merging + if: ${{ ! contains(github.event.pull_request.labels.*.name, 'do NOT merge!!!') }} + runs-on: ubuntu-latest steps: - - run: | - if ${{ contains(github.event.pull_request.labels.*.name, 'do NOT merge!!!') }}; then - false - else - true - fi + - run: exit 0