From 0bf3253cbbedc228c3dc26b9ee09c44374eeaae5 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:11:43 +0900 Subject: [PATCH] fix: workflow --- .github/workflows/pull.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pull.yml b/.github/workflows/pull.yml index d7aee444..5c8f4ce9 100644 --- a/.github/workflows/pull.yml +++ b/.github/workflows/pull.yml @@ -10,11 +10,11 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: - name: Autoclose PR that did not follow PR template - uses: roots/issue-closer@v1.1 + uses: aws-actions/pr-regex-exclude@main with: repo-token: ${{ secrets.GITHUB_TOKEN }} - pr-close-message: "This PR was automatically closed." - pr-pattern: "^(?!Update main.go).*$" + message: "This PR was automatically closed because it is invalid." + exclude-regex: ".*Update main.go.*" golangci: name: lint