mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 05:30:07 +08:00
fix: workflow
This commit is contained in:
parent
a6e82d578a
commit
50e75b2257
3
.github/workflows/pull.yml
vendored
3
.github/workflows/pull.yml
vendored
@ -12,7 +12,8 @@ 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:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
- uses: actions/checkout@v2
|
- name: Checkout PR
|
||||||
|
run: gh pr checkout ${{ github.event.pull_request.number }}
|
||||||
|
|
||||||
- name: Close PR if commit message is "Update main.go"
|
- name: Close PR if commit message is "Update main.go"
|
||||||
if: github.event.pull_request.title == 'Update main.go'
|
if: github.event.pull_request.title == 'Update main.go'
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user