fix: workflow

This commit is contained in:
源文雨 2023-09-20 20:30:20 +09:00
parent 035ed3bd13
commit 97c1985479

View File

@ -15,7 +15,10 @@ jobs:
# Runs a single command using the runners shell
- name: Get PR commit message
id: pr
run: echo "message=$(git log --format=%B -n 1)" > $GITHUB_OUTPUT
run: |
commitmessage=$(git log --format=%B -n 1)
echo "message=$commitmessage" > $GITHUB_OUTPUT
echo "set message=$commitmessage"
# Runs a set of commands using the runners shell
- name: Close PR if commit message is "Update main.go"