Tool Highlight - Github Actions Post to PR
Github Actions Post to PR
Github Actions Post to PR is a Github Action I wrote & OpenSourced in my job at Lilly. The idea for this tool is to make the developer workflow reviwing pull request test / code quality metrics simpler & more readily available in the PR process. This both reduces developer effort and encourages developers to pay attention to test / code qualtiy metrics.
It accomplishes this by posting current revision metrics alongside main branch metrics into the pull request thread.
It can be used with any language as all it needs is a text file you configure as an input. The input will be posted to the PR if runnning in a PR & saved as an artifact in GitHub Actions for future comparisons if running on a branch.
The text displayed in the PR can be further modified by using a bash command to filter the text from the input file. I often use grep
to filter out
text I don’t want to display or include only specific lines.
See the project Github repo for a full description of the features / examples