This doesn't work as intended as you can not leave a review comment on lines that are not modified in the PR. Due to this limitation, this action can potentionally have undesired results.
This GitHub Action will take the current git changes and apply them as GitHub code review suggestions. This is useful to run after running a linter or formatter that automatically makes fixes for you.
Note: This only works on
pull_request workflow events!
See the Sentry repo for real world examples.
||no||The GitHub Actions token e.g.
||highly recommended||This is string used in the review comment before the suggestion. It is also used to find previous comments to be deleted when the action is re-run. This should be named according to the workflow job so that multiple jobs don't delete each other's reviews.|
- uses: getsentry/[email protected] with: message: 'eslint made the following change'