Compare commits
No commits in common. "44517e307a01e51802ca09e041323bd8cdf58e59" and "866a7c099c212c19567fba2eb8f1ca1bf256e745" have entirely different histories.
44517e307a
...
866a7c099c
|
|
@ -53,11 +53,6 @@ jobs:
|
||||||
if: github.event_name == 'pull_request'
|
if: github.event_name == 'pull_request'
|
||||||
run: |
|
run: |
|
||||||
echo "是否是合并关闭的 $PR_STATUS_FLAG"
|
echo "是否是合并关闭的 $PR_STATUS_FLAG"
|
||||||
if [[ "$PR_STATUS_FLAG" = true ]] ; then
|
|
||||||
echo "合并完成"
|
|
||||||
else
|
|
||||||
echo "取消合并"
|
|
||||||
fi
|
|
||||||
pr_num=${{ github.event.pull_request.number }}
|
pr_num=${{ github.event.pull_request.number }}
|
||||||
git fetch origin refs/pull/${pr_num}/head:refs/remotes/origin/pull/${pr_num}/head
|
git fetch origin refs/pull/${pr_num}/head:refs/remotes/origin/pull/${pr_num}/head
|
||||||
commit_title=$(git log -1 --pretty=format:"%s" origin/pull/${pr_num}/head)
|
commit_title=$(git log -1 --pretty=format:"%s" origin/pull/${pr_num}/head)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue