# action-git-diff-suggestions **Repository Path**: mirrors_getsentry/action-git-diff-suggestions ## Basic Information - **Project Name**: action-git-diff-suggestions - **Description**: This GitHub Action will take the current git changes and apply them as GitHub code review suggestions - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-25 - **Last Updated**: 2026-02-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # STOP 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. # action-git-diff-suggestions typescript-action status 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! ## Usage See the [Sentry repo](https://github.com/getsentry/sentry/tree/master/.github/workflows) for real world examples. ### Inputs | input | required | description | | ----- | -------- | ----------- | | `github-token` | no | The GitHub Actions token e.g. `secrets.GITHUB_TOKEN` | | `message` | 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. | ### Example ```yaml - uses: getsentry/action-git-diff-suggestions@main with: message: 'eslint made the following change' ``` ### Full example ```yaml name: test on: pull_request jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: node-version: 12 - run: yarn install - run: yarn lint - uses: getsentry/action-git-diff-suggestions@main with: message: eslint - run: yarn test ```