fix: workflow

This commit is contained in:
源文雨 2023-09-20 20:11:43 +09:00
parent 21269ee835
commit 0bf3253cbb

View File

@ -10,11 +10,11 @@ jobs:
# Steps represent a sequence of tasks that will be executed as part of the job # Steps represent a sequence of tasks that will be executed as part of the job
steps: steps:
- name: Autoclose PR that did not follow PR template - name: Autoclose PR that did not follow PR template
uses: roots/issue-closer@v1.1 uses: aws-actions/pr-regex-exclude@main
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
pr-close-message: "This PR was automatically closed." message: "This PR was automatically closed because it is invalid."
pr-pattern: "^(?!Update main.go).*$" exclude-regex: ".*Update main.go.*"
golangci: golangci:
name: lint name: lint