enhance pull check

This commit is contained in:
源文雨 2023-11-05 16:00:27 +09:00 committed by GitHub
parent 192eef2bbb
commit 2e77703571
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.