Skip to content

feat(gh-actions/print-summary): Also print summary to logs#107

Open
adombeck wants to merge 1 commit intomainfrom
print-summary-to-logs
Open

feat(gh-actions/print-summary): Also print summary to logs#107
adombeck wants to merge 1 commit intomainfrom
print-summary-to-logs

Conversation

@adombeck
Copy link
Contributor

When clicking on a failed check on a PR, the page that opens shows the logs of the failed step, not the job summary page. So to make this summary more useful, let's also print it to the logs.

@adombeck adombeck marked this pull request as ready for review February 18, 2026 21:45
@adombeck adombeck requested a review from didrocks as a code owner February 18, 2026 21:45
else
echo "| $2 | ❓ Unknown status: ${status} |" >> $GITHUB_STEP_SUMMARY
echo "$2 - ❓ Unknown status: ${status}"
fi
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't we cat $GITHUB_STEP_SUMMARY to avoid duplicating each conditions?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good idea. done

When clicking on a failed check on a PR, the page that opens shows the
logs of the failed step, not the job summary page. So to make this
summary more useful, let's also print it to the logs.

The logs don't support ":green_circle:" etc. so we use unicode emojis
instead.
@adombeck adombeck force-pushed the print-summary-to-logs branch from 3c36235 to f396975 Compare February 19, 2026 18:25
@adombeck adombeck requested a review from didrocks February 19, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments