Skip to content

Commit

Permalink
improving aggregate results steps so is prettier
Browse files Browse the repository at this point in the history
Signed-off-by: Alfredo Gutierrez <[email protected]>
  • Loading branch information
AlfredoG87 committed Jul 23, 2024
1 parent c81551d commit cf5742d
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/pr-formatting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,20 +98,28 @@ jobs:
run: |
failed=false
if [ "${{ env.TITLE_CHECK_FAILED }}" == "true" ]; then
echo "Title Check failed"
echo "::error title=Title Check::❌ Title Check failed"
failed=true
else
echo "::notice title=Title Check::✅ Title Check passed"
fi
if [ "${{ env.MILESTONE_CHECK_FAILED }}" == "true" ]; then
echo "Milestone Check failed"
echo "::error title=Milestone Check::❌ Milestone Check failed"
failed=true
else
echo "::notice title=Milestone Check::✅ Milestone Check passed"
fi
if [ "${{ env.ASSIGNEE_CHECK_FAILED }}" == "true" ]; then
echo "Assignee Check failed"
echo "::error title=Assignee Check::❌ Assignee Check failed"
failed=true
else
echo "::notice title=Assignee Check::✅ Assignee Check passed"
fi
if [ "${{ env.LABEL_CHECK_FAILED }}" == "true" ]; then
echo "Label Check failed"
echo "::error title=Label Check::❌ Label Check failed"
failed=true
else
echo "::notice title=Label Check::✅ Label Check passed"
fi
if [ "$failed" == "true" ]; then
exit 1
Expand Down

0 comments on commit cf5742d

Please sign in to comment.