Enhance changelog workflow to check for missing labels #524
changelog_verifier.yml
on: pull_request
verify-changelog
10s
Annotations
2 errors and 1 warning
verify-changelog
No update to CHANGELOG-3.0.md found!
|
verify-changelog
The template is not valid. .github/workflows/changelog_verifier.yml (Line: 28, Col: 14): Unexpected character encountered while parsing value: A. Path '', line 0, position 0.
|
verify-changelog
Encountered an error when evaluating display name ${{ format('if [[ {0} == ''failure'' && {1} == ''failure'' ]]; then
echo "error: Please ensure a changelog entry exists in CHANGELOG.md or CHANGELOG-3.0.md"
exit 1
fi
has_backport_label=false
labels={2}
for label in $labels; do
echo "Label: $label"
if [[ $label =~ "backport" ]]; then
has_backport_label=true
break
fi
done
if [[ {3} == ''success'' && $has_backport_label == false ]]; then
echo "error: Please make sure that the PR has a backport label associated with it when making an entry to the CHANGELOG.md file"
exit 1
fi
', steps.verify-changelog-3x.outcome, steps.verify-changelog.outcome, fromJson(github.event.pull_request.labels.*.name), steps.verify-changelog.outcome) }}. The template is not valid. .github/workflows/changelog_verifier.yml (Line: 28, Col: 14): Unexpected character encountered while parsing value: A. Path '', line 0, position 0.
|