Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show GitHub workflow errors in a thread below failure messages #743

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Half-Shot
Copy link
Contributor

Fixes #742

Nice and simple. Logs are quite a bit harder but folks should be able to click through to GitHub for that.

image

image

@Half-Shot Half-Shot requested a review from a team as a code owner May 5, 2023 16:46
extraThreadContent.html += `<li><strong>${conclusion}</strong> ${step.name} </li>`;
}
}
extraThreadContent.html += `</ul>`;
Copy link
Contributor

Choose a reason for hiding this comment

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

I counted the tags and it looks alright – but I prefer things like this to be done with list-map()-join() combos to not leave any room for errors.

Also, any reason why the HTML is hand-crafted here instead of using an MD renderer like we usually do?

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.

Emit the stage that failed and any error logs when a GitHub workflow fails
3 participants