Skip to content

Commit

Permalink
Merge pull request #26 from GrantBirki/git-diff-improvements
Browse files Browse the repository at this point in the history
Git diff improvements
  • Loading branch information
GrantBirki authored Mar 19, 2024
2 parents d3f05c9 + 8156a9a commit 999b996
Show file tree
Hide file tree
Showing 10 changed files with 1,938 additions and 158 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Checkout the example below to see how you can use this Action in your workflow t
```yaml
# Checkout the repo
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # needed to checkout all branches for this Action to work

Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# Checkout the repo
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # needed to checkout all branches for this Action to work

Expand Down Expand Up @@ -185,6 +185,8 @@ Expand the section below to see an example of the JSON diff output
| `file_output_only` | no | `"false"` | Only use file related outputs and do not print any diffs to console / loggers. **highly recommended** |
| `search_path` | no | `.` | Optionally limit the scope of the diff operation to a specific sub-path. Useful for limiting scope of the action. |
| `max_buffer_size` | no | `"10000000"` | Maximum output buffer size for call to git binary. Default is 10M, try increasing this value if you have issues with maxBuffer overflow. This value is technically a string but it gets converted to an integer. |
| `git_options` | no | `"--no-color --full-index"` | Additional options to pass to the git binary |
| `git_diff_file` | no | `"false"` | Optionally read the diff from a file instead of running `git diff` |

## Outputs 📤

Expand Down
Loading

0 comments on commit 999b996

Please sign in to comment.