You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace JSON string I/O with file-based approach in find, file, fix actions
Each sub-action (find, file, fix) now writes its output JSON to a temp file
and exposes a *_file output alongside the existing string output. Each also
accepts optional *_file inputs as alternatives to the string inputs.
The composite action.yml now passes file paths between steps instead of
interpolating large JSON strings, avoiding Linux's ARG_MAX limit that caused
'Argument list too long' errors when processing large datasets (~200KB+).
Changes:
- find: writes findings.json, sets findings_file output
- file: accepts findings_file/cached_filings_file inputs, writes filings.json,
sets filings_file output
- fix: accepts issues_file input, writes fixings.json, sets fixings_file output
- action.yml: normalize_cache reads directly from cache file, all inter-step
data flows via file paths, results step reads from file outputs
Backward compatible: string inputs/outputs still work for standalone usage.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
description: "List of potential accessibility gaps, as stringified JSON"
7
-
required: true
7
+
required: false
8
+
findings_file:
9
+
description: "Path to a JSON file containing findings (alternative to 'findings' for large datasets)"
10
+
required: false
8
11
repository:
9
12
description: "Repository (with owner) to file issues in"
10
13
required: true
@@ -14,6 +17,9 @@ inputs:
14
17
cached_filings:
15
18
description: "Cached filings from previous runs, as stringified JSON. Without this, duplicate issues may be filed."
16
19
required: false
20
+
cached_filings_file:
21
+
description: "Path to a JSON file containing cached filings (alternative to 'cached_filings' for large datasets)"
22
+
required: false
17
23
screenshot_repository:
18
24
description: "Repository (with owner) where screenshots are stored on the gh-cache branch. Defaults to the 'repository' input if not set. Required if issues are open in a different repo to construct proper screenshot URLs."
19
25
required: false
@@ -25,6 +31,8 @@ inputs:
25
31
outputs:
26
32
filings:
27
33
description: "List of issues filed (and their associated finding(s)), as stringified JSON"
34
+
filings_file:
35
+
description: "Path to a JSON file containing filings (use for large datasets to avoid output size limits)"
0 commit comments