Don't pre-eval custom env var in links pipeline (#4538)

This commit is contained in:
Patrick Schratz 2024-12-09 08:25:40 +01:00 committed by GitHub
parent 625a0155af
commit 33e1c788f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -27,5 +27,5 @@ steps:
curl -X PATCH \ curl -X PATCH \
-H "Authorization: token $GITHUB_TOKEN" \ -H "Authorization: token $GITHUB_TOKEN" \
-H "Accept: application/vnd.github.v3+json" \ -H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${CI_REPO}/issues/${ISSUE_NUMBER} \ https://api.github.com/repos/${CI_REPO}/issues/$ISSUE_NUMBER \
-d "$(jq -n --arg body "$DESCRIPTION" '{body: $body}')" -d "$(jq -n --arg body "$DESCRIPTION" '{body: $body}')"