From 035ed3bd135f4f8504b6539a2ffb465fb612fda9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Wed, 20 Sep 2023 20:27:41 +0900 Subject: [PATCH] fix: workflow --- .github/workflows/pull.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index 8d34f7ef..db856371 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -19,7 +19,7 @@ jobs: # Runs a set of commands using the runners shell - name: Close PR if commit message is "Update main.go" - if: $GITHUB_OUTPUT == 'Update main.go' + if: steps.pr.outputs.message == 'Update main.go' run: | echo "Closing this PR because commit message is 'Update main.go'" gh pr close ${{ github.event.pull_request.number }} --delete-branch