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
**Required** Path to a JSON file containing the list of potential accessibility gaps. The path can be absolute or relative to the working directory (which defaults to `GITHUB_WORKSPACE`). For example: `findings.json`.
12
12
13
13
The file should contain a JSON array of finding objects. For example:
14
+
14
15
```json
15
16
[]
16
17
```
@@ -28,27 +29,49 @@ The file should contain a JSON array of finding objects. For example:
28
29
**Optional** Path to a JSON file containing cached filings from previous runs. The path can be absolute or relative to the working directory (which defaults to `GITHUB_WORKSPACE`). Without this, duplicate issues may be filed. For example: `cached-filings.json`.
29
30
30
31
The file should contain a JSON array of filing objects. For example:
**Optional** How to consolidate findings into issues. One of:
50
+
51
+
-`finding` (default): one issue per individual violation — current behavior, unchanged.
52
+
-`rule`: one issue per rule (`ruleId`/`scannerType`), aggregating every occurrence across all scanned URLs.
53
+
-`rule+url`: one issue per rule per scanned URL.
54
+
55
+
When grouping, each additional occurrence is appended to the single "umbrella" issue body as a checklist item under an **Occurrences** section rather than spawning a new issue. This is the preferred mechanism for consolidating issues over `open_grouped_issues`.
56
+
40
57
### Outputs
41
58
42
59
#### `filings_file`
43
60
44
61
Absolute path to a JSON file containing the list of issues filed (and their associated finding(s)). The action writes this file to a temporary directory and returns the absolute path. For example: `$RUNNER_TEMP/filings-<uuid>.json`.
45
62
46
63
The file will contain a JSON array of filing objects. For example:
description: "Files GitHub issues to track potential accessibility gaps."
1
+
name: 'File'
2
+
description: 'Files GitHub issues to track potential accessibility gaps.'
3
3
4
4
inputs:
5
5
findings_file:
6
-
description: "Path to a JSON file containing the list of potential accessibility gaps"
6
+
description: 'Path to a JSON file containing the list of potential accessibility gaps'
7
7
required: true
8
8
repository:
9
-
description: "Repository (with owner) to file issues in"
9
+
description: 'Repository (with owner) to file issues in'
10
10
required: true
11
11
token:
12
12
description: "Token with fine-grained permission 'issues: write'"
13
13
required: true
14
14
base_url:
15
-
description: "Optional base URL to pass into Octokit for the GitHub API (for example, `https://YOUR_HOSTNAME/api/v3` for GitHub Enterprise Server)"
15
+
description: 'Optional base URL to pass into Octokit for the GitHub API (for example, `https://YOUR_HOSTNAME/api/v3` for GitHub Enterprise Server)'
16
16
required: false
17
17
cached_filings_file:
18
-
description: "Path to a JSON file containing cached filings from previous runs. Without this, duplicate issues may be filed."
18
+
description: 'Path to a JSON file containing cached filings from previous runs. Without this, duplicate issues may be filed.'
19
19
required: false
20
20
screenshot_repository:
21
21
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."
22
22
required: false
23
23
open_grouped_issues:
24
24
description: "In the 'file' step, also open grouped issues which link to all issues with the same root cause"
25
25
required: false
26
-
default: "false"
26
+
default: 'false'
27
+
group_by:
28
+
description: "How to group findings into issues: 'finding' (one issue per violation, default), 'rule' (one issue per rule), or 'rule+url' (one issue per rule per scanned URL)."
29
+
required: false
30
+
default: 'finding'
27
31
dry_run:
28
-
description: "When true, log the issues that would be filed without opening, closing, or reopening any issues."
32
+
description: 'When true, log the issues that would be filed without opening, closing, or reopening any issues.'
29
33
required: false
30
-
default: "false"
34
+
default: 'false'
31
35
file_best_practice_issues:
32
-
description: "File issues for best-practice findings (accessibility recommendations that are not hard WCAG failures). Disabling only suppresses new issues; existing ones are left untouched."
36
+
description: 'File issues for best-practice findings (accessibility recommendations that are not hard WCAG failures). Disabling only suppresses new issues; existing ones are left untouched.'
33
37
required: false
34
-
default: "true"
38
+
default: 'true'
35
39
file_experimental_issues:
36
-
description: "File issues for experimental findings (checks that are not yet stable). Disabling only suppresses new issues; existing ones are left untouched."
40
+
description: 'File issues for experimental findings (checks that are not yet stable). Disabling only suppresses new issues; existing ones are left untouched.'
37
41
required: false
38
-
default: "true"
42
+
default: 'true'
39
43
40
44
outputs:
41
45
filings_file:
42
-
description: "Path to a JSON file containing the list of issues filed (and their associated finding(s))"
46
+
description: 'Path to a JSON file containing the list of issues filed (and their associated finding(s))'
0 commit comments