mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05:00
Github Actions: another fix for the levitate workflow (#43742)
* fix: add col number to the link to work correctly
If we don't provide the position in a #step:{line}:{column} format
then the Github UI won't take us to the correct step.
* fix: escape the backtick ("`") characters properly
This commit is contained in:
@@ -39,7 +39,7 @@ while IFS= read -r line; do
|
||||
if [ $STATUS -gt 0 ]
|
||||
then
|
||||
EXIT_CODE=1
|
||||
GITHUB_MESSAGE="${GITHUB_MESSAGE}**\`${PACKAGE_NAME}\`** has possible breaking changes ([more info](${GITHUB_JOB_LINK}#step:${GITHUB_STEP_NUMBER}:1))<br />"
|
||||
GITHUB_MESSAGE="${GITHUB_MESSAGE}**\\\`${PACKAGE_NAME}\\\`** has possible breaking changes ([more info](${GITHUB_JOB_LINK}#step:${GITHUB_STEP_NUMBER}:1))<br />"
|
||||
fi
|
||||
|
||||
done <<< "$PACKAGES"
|
||||
|
||||
Reference in New Issue
Block a user