-
Notifications
You must be signed in to change notification settings - Fork 51
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
Make Job Summary Reporting Configurable in Harden Runner #491
Comments
The variable I'm referring to is STATE_addSummary |
Thank you @pputman-clabs for reaching out! The behavior you're seeing is intentional. To keep the GitHub Actions workflow summary uncluttered, Harden-Runner prints the summary for only one job — the first job where the action runs. This prevents multiple entries from being added to the summary when Harden-Runner is used in several jobs. While the workflow summary shows a preview with key details from one job, you can view complete insights for all jobs by clicking the provided link to the detailed insights page. Technical detailsThis first job of a workflow gets a Line 191 in 0080882
Line 208 in 0080882
Line 215 in 0080882
and if the variable is true, the markdown is rendered for that job Line 93 in 0080882
Line 57 in 0080882
|
Thanks for the comment. It would be nice to have this configurable. In my case, the first job is just go-tests, which isn't the main concern, then a docker build and deploy which I'd much rather have a report of, however since all jobs will have it in the insights this isn't really a huge concern, just a "nice to have" if possible. |
In a workflow with two jobs, both with harden runner activated, one of them prints a summary to the github actions workflow summary, and the other does not. It is because of this environment variable, but not sure how or where this is set. This is set for the first job in the logs, and not the second job.
could you add an input into the github action to set this, or document how this is determined? Both instances the action is called with the same options so not sure what the difference is.
The text was updated successfully, but these errors were encountered: