From 2e77703571f43d11157c41227754c7895ce6be32 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: Sun, 5 Nov 2023 16:00:27 +0900 Subject: [PATCH] enhance pull check --- .github/workflows/pull.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index dd1d7f75..99c59eb6 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -12,8 +12,8 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: - - name: Close PR if commit message contains "main.go" - if: contains(github.event.pull_request.title, 'main.go') + - name: Close PR if commit message contains ".go" + if: contains(github.event.pull_request.title, '.go') uses: superbrothers/close-pull-request@v3 with: # Optional. Post a issue comment just before closing a pull request.