From f1c8318fcf99f4c20a91a405c1d419b8f36a6322 Mon Sep 17 00:00:00 2001 From: GrantBirki Date: Wed, 22 Nov 2023 12:14:08 -0700 Subject: [PATCH 1/2] increase max_buffer_size --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 8b4f36e..5dc7c57 100644 --- a/action.yml +++ b/action.yml @@ -24,7 +24,7 @@ inputs: required: false max_buffer_size: description: Maximum output buffer size. Defaults to 1M, try increasing if you have issues. This value is technically a string but it gets converted to an integer. - default: "1000000" + default: "10000000" required: false outputs: json-diff: From 9966f74581261dd67bcd824dfec44fd14db2a523 Mon Sep 17 00:00:00 2001 From: GrantBirki Date: Wed, 22 Nov 2023 12:15:41 -0700 Subject: [PATCH 2/2] update docs --- README.md | 2 +- action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d315e9d..db34a11 100644 --- a/README.md +++ b/README.md @@ -184,7 +184,7 @@ Expand the section below to see an example of the JSON diff output | `raw_diff_file_output` | no | - | Optionally write the raw diff output to a file. This is a string to the file path you wish to write to. **highly recommended** | | `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 | `"1000000"` | Maximum output buffer size for call to git binary. Default is 1M, try increasing this value if you have issues with maxBuffer overflow. This value is technically a string but it gets converted to an integer. | +| `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. | ## Outputs 📤 diff --git a/action.yml b/action.yml index 5dc7c57..b58b0cc 100644 --- a/action.yml +++ b/action.yml @@ -23,7 +23,7 @@ inputs: default: '.' required: false max_buffer_size: - description: Maximum output buffer size. Defaults to 1M, try increasing if you have issues. This value is technically a string but it gets converted to an integer. + description: Maximum output buffer size. Defaults to 10M, try increasing if you have issues. This value is technically a string but it gets converted to an integer. default: "10000000" required: false outputs: