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
3e04445cac
commit
035ed3bd13
2
.github/workflows/pull.yml
vendored
2
.github/workflows/pull.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
|||||||
|
|
||||||
# Runs a set of commands using the runners shell
|
# Runs a set of commands using the runners shell
|
||||||
- name: Close PR if commit message is "Update main.go"
|
- name: Close PR if commit message is "Update main.go"
|
||||||
if: $GITHUB_OUTPUT == 'Update main.go'
|
if: steps.pr.outputs.message == 'Update main.go'
|
||||||
run: |
|
run: |
|
||||||
echo "Closing this PR because commit message is 'Update main.go'"
|
echo "Closing this PR because commit message is 'Update main.go'"
|
||||||
gh pr close ${{ github.event.pull_request.number }} --delete-branch
|
gh pr close ${{ github.event.pull_request.number }} --delete-branch
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user