chore(CI): fix error for sync code to enterprise

This commit is contained in:
zhanghongtong 2021-06-07 16:02:01 +08:00
parent d5366c7f5f
commit 5d30e52e73
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ jobs:
-H "Accept: application/vnd.github.v3+json" \
-H "Authorization: token ${{ secrets.CI_GIT_TOKEN }}" \
-X POST \
-d '{"title": "Sync code from opensource $GITHUB_REF to entperprise $EE_REF", "head": "$GITHUB_REF", "base":"$EE_REF"}' \
-d "{\"title\": \"Sync code from opensource $GITHUB_REF to entperprise $EE_REF\", \"head\": \"$GITHUB_REF\", \"base\":\"$EE_REF\"}" \
https://api.github.com/repos/${{ github.repository_owner }}/emqx-enterprise/pulls)
echo $R | jq
echo "::set-output name=url::$(echo $R | jq '.url')"