We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent feefbbd commit f8c3c4bCopy full SHA for f8c3c4b
assets/helpers/git.sh
@@ -72,7 +72,7 @@ add_pullrequest_metadata_commit() {
72
metadata+="{name: \"($1) commit\", value: \"${commit}\"},"
73
metadata+="{name: \"($1) author\", value: \"${author}\"},"
74
metadata+="{name: \"($1) author_date\", value: \"${author_date}\", type: \"time\"},"
75
- metadata+="{name: \"($1) message\", value: \"${message}\", type: \"message\"}"
+ metadata+=$(jq -n --arg name "($1) message" --arg value "$message" '{name: $name, value: $value, type: "message"}')
76
77
if [ "$author" != "$committer" ]; then
78
metadata+=",{name: \"($1) committer\", value: \"${committer}\"}"
0 commit comments