| GITHUB_TOKEN | Secret GitHub API token used to make API requests. | no | ${{ github.token }} |
| DOT | Dot. | no | ... |
| BASE | base | no | — |
| RELATIVE | relative filter | no | — |
| DIFF_FILTER | Diff filter. | no | AMRC |
| FORMAT | Output format (text or json) | no | text |
| ESCAPE_JSON | Whether to escape when json format. | no | — |
| SEPARATOR | Separator of diffs. | no | "" |
| PATTERNS | Target file pattern. | no | — |
| MINIMATCH_OPTION_NOBRACE | https://github.com/isaacs/minimatch#nobrace | no | — |
| MINIMATCH_OPTION_NOGLOBSTAR | https://github.com/isaacs/minimatch#noglobstar | no | — |
| MINIMATCH_OPTION_DOT | https://github.com/isaacs/minimatch#dot | no | — |
| MINIMATCH_OPTION_NOEXT | https://github.com/isaacs/minimatch#noext | no | — |
| MINIMATCH_OPTION_NOCASE | https://github.com/isaacs/minimatch#nocase | no | — |
| MINIMATCH_OPTION_MATCH_BASE | https://github.com/isaacs/minimatch#matchbase | no | — |
| MINIMATCH_OPTION_NONEGATE | https://github.com/isaacs/minimatch#nonegate | no | — |
| FILES | Specific files. | no | — |
| SUMMARY_INCLUDE_FILES | Whether the summary contains the result of specific files. | no | — |
| ABSOLUTE | Get as absolute path. | no | — |
| SET_ENV_NAME | Env name (diff). | no | GIT_DIFF |
| SET_ENV_NAME_FILTERED_DIFF | Env name (filtered_diff). | no | GIT_DIFF_FILTERED |
| SET_ENV_NAME_MATCHED_FILES | Env name (matched_files). | no | MATCHED_FILES |
| SET_ENV_NAME_COUNT | Env name (count). | no | — |
| SET_ENV_NAME_INSERTIONS | Env name (insertions). | no | — |
| SET_ENV_NAME_DELETIONS | Env name (deletions). | no | — |
| SET_ENV_NAME_LINES | Env name (lines). | no | — |
| DIFF_DEFAULT | Default value (diff). | no | — |
| FILTERED_DIFF_DEFAULT | Default value (filtered_diff). | no | — |
| MATCHED_FILES_DEFAULT | Default value (matched_files). | no | — |
| COUNT_DEFAULT | Default value (count). | no | 0 |
| GET_FILE_DIFF | Whether to get file diff. | no | — |
| INSERTIONS_DEFAULT | Default value (insertions). | no | 0 |
| DELETIONS_DEFAULT | Default value (deletions). | no | 0 |
| LINES_DEFAULT | Default value (lines). | no | 0 |
| CHECK_ONLY_COMMIT_WHEN_DRAFT | Whether to check only commits when drafting. | no | — |
| SUPPRESS_ERROR | Whether to suppress git diff error. | no | — |