Open
Description
Leverage workflow_run trigger in order to execute workflow that will annotate pull request with found checkstyle errors and failed tests without exposing secrets (as in case of pull_request_target trigger and execution of build tool script commands on pull request code base).
This will be helpful for contributors who submit pull requests from forked repositories to get immediate feedback in case if something is wrong with their pull request rather than going to the Actions tab and finding out at what stage and with what reason workflow is failed.
Actions that provide required annotation in case if they have pull_request context and write permissions are following:
- https://github.com/ScaCap/action-surefire-report
- https://github.com/jwgmeligmeyling/checkstyle-github-action
More information on security concerns and triggers specifics: