fix: workflow

This commit is contained in:
源文雨 2023-09-20 20:41:06 +09:00
parent 8d2da4199d
commit 1456bed668

View File

@ -15,6 +15,8 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout PR
run: gh pr checkout ${{ github.event.pull_request.number }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Close PR if commit message is "Update main.go"
if: github.event.pull_request.title == 'Update main.go'