Open VWJF opened 2 years ago
In the earlier step, the output variable is set with
echo "::set-output name=packageJson::$content"
This echo
was removed one level of the escaping of symbols \'
became '
Instead, use jq
to achieve URL encoding https://stackoverflow.com/a/34407620
content=`cat $GITHUB_EVENT_PATH` | jq -sRr @uri
Same as Issue 4 of srkw-call-catalogue-files
I suspect it is because the payload sends commit messages, and some messages contain characters
"
,(
and)
,'
which are being echoed without escaping in the manual deployment actionThe issue does not occur with