From cf5742d059883533a90e55002b30b95f29ae288d Mon Sep 17 00:00:00 2001 From: Alfredo Gutierrez Date: Tue, 23 Jul 2024 17:24:07 -0600 Subject: [PATCH] improving aggregate results steps so is prettier Signed-off-by: Alfredo Gutierrez --- .github/workflows/pr-formatting.yaml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-formatting.yaml b/.github/workflows/pr-formatting.yaml index 1d2f2e6c..5f28ccdc 100644 --- a/.github/workflows/pr-formatting.yaml +++ b/.github/workflows/pr-formatting.yaml @@ -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