Problem
If thread-comments and PR-reviews are disabled or disallowed, then the feedback may be hard to find. Having something in the logs about the suggested changes would be a sure way to show what fixes should be applied.
Solution
Log the auto-fix patch, if any, to stdout (with optional coloring of course).
Alternatives
File-annotations are somewhat hidden in the PR's "changed files" tab. Step-summary does not show unless you navigate to the run's summary page (instead of the browsing the logs for the run).
Additional context
This idea is a little inspired by pre-commit's --show-diff-on-failure flag.
Problem
If thread-comments and PR-reviews are disabled or disallowed, then the feedback may be hard to find. Having something in the logs about the suggested changes would be a sure way to show what fixes should be applied.
Solution
Log the auto-fix patch, if any, to stdout (with optional coloring of course).
Alternatives
File-annotations are somewhat hidden in the PR's "changed files" tab. Step-summary does not show unless you navigate to the run's summary page (instead of the browsing the logs for the run).
Additional context
This idea is a little inspired by pre-commit's
--show-diff-on-failureflag.