Compare commits
No commits in common. "b47c2b4b81f163f9996e8d6037eec055fdf8baa3" and "44517e307a01e51802ca09e041323bd8cdf58e59" have entirely different histories.
b47c2b4b81
...
44517e307a
|
|
@ -64,13 +64,6 @@ jobs:
|
||||||
commit_body=$(git log -1 --pretty=format:"%b" origin/pull/${pr_num}/head)
|
commit_body=$(git log -1 --pretty=format:"%b" origin/pull/${pr_num}/head)
|
||||||
echo "合并请求 Commit Title: $commit_title"
|
echo "合并请求 Commit Title: $commit_title"
|
||||||
echo "合并请求Commit Body: $commit_body"
|
echo "合并请求Commit Body: $commit_body"
|
||||||
if echo "$commit_body" | grep -q "发布生产"; then
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
echo "不包含"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PR_STATUS_FLAG: ${{ github.event.pull_request.merged }}
|
PR_STATUS_FLAG: ${{ github.event.pull_request.merged }}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue