|
1 | | -name: "accessibility-scanner" |
2 | | -description: "Finds potential accessibility gaps, files GitHub issues to track them, and attempts to fix them with Copilot." |
| 1 | +name: 'accessibility-scanner' |
| 2 | +description: 'Finds potential accessibility gaps, files GitHub issues to track them, and attempts to fix them with Copilot.' |
3 | 3 |
|
4 | 4 | inputs: |
5 | 5 | urls: |
6 | | - description: "Newline-delimited list of URLs to check for accessibility issues" |
| 6 | + description: 'Newline-delimited list of URLs to check for accessibility issues' |
7 | 7 | required: true |
8 | 8 | multiline: true |
9 | 9 | repository: |
10 | | - description: "Repository (with owner) to file issues in" |
| 10 | + description: 'Repository (with owner) to file issues in' |
11 | 11 | required: true |
12 | 12 | token: |
13 | 13 | description: "Personal access token (PAT) with fine-grained permissions 'contents: write', 'issues: write', and 'pull_requests: write'" |
14 | 14 | required: true |
15 | 15 | cache_key: |
16 | | - description: "Key for caching results across runs" |
| 16 | + description: 'Key for caching results across runs' |
17 | 17 | required: true |
18 | 18 | login_url: |
19 | | - description: "If scanned pages require authentication, the URL of the login page" |
| 19 | + description: 'If scanned pages require authentication, the URL of the login page' |
20 | 20 | required: false |
21 | 21 | username: |
22 | | - description: "If scanned pages require authentication, the username to use for login" |
| 22 | + description: 'If scanned pages require authentication, the username to use for login' |
23 | 23 | required: false |
24 | 24 | password: |
25 | | - description: "If scanned pages require authentication, the password to use for login" |
| 25 | + description: 'If scanned pages require authentication, the password to use for login' |
26 | 26 | required: false |
27 | 27 | auth_context: |
28 | 28 | description: "If scanned pages require authentication, a stringified JSON object containing 'username', 'password', 'cookies', and/or 'localStorage' from an authenticated session" |
29 | 29 | required: false |
30 | 30 | skip_copilot_assignment: |
31 | | - description: "Whether to skip assigning filed issues to Copilot" |
| 31 | + description: 'Whether to skip assigning filed issues to Copilot' |
32 | 32 | required: false |
33 | | - default: "false" |
| 33 | + default: 'false' |
34 | 34 | include_screenshots: |
35 | | - description: "Whether to capture screenshots and include links to them in the issue" |
| 35 | + description: 'Whether to capture screenshots and include links to them in the issue' |
36 | 36 | required: false |
37 | | - default: "false" |
| 37 | + default: 'false' |
38 | 38 | open_grouped_issues: |
39 | 39 | description: "In the 'file' step, also open grouped issues which link to all issues with the same problem" |
40 | 40 | required: false |
41 | | - default: "false" |
| 41 | + default: 'false' |
42 | 42 | reduced_motion: |
43 | | - description: "Playwright reducedMotion setting: https://playwright.dev/docs/api/class-browser#browser-new-page-option-reduced-motion" |
| 43 | + description: 'Playwright reducedMotion setting: https://playwright.dev/docs/api/class-browser#browser-new-page-option-reduced-motion' |
44 | 44 | required: false |
45 | 45 | color_scheme: |
46 | | - description: "Playwright colorScheme setting: https://playwright.dev/docs/api/class-browser#browser-new-context-option-color-scheme" |
| 46 | + description: 'Playwright colorScheme setting: https://playwright.dev/docs/api/class-browser#browser-new-context-option-color-scheme' |
| 47 | + required: false |
| 48 | + scans: |
| 49 | + description: 'Stringified JSON array of scans to perform. If not provided, only Axe will be performed' |
47 | 50 | required: false |
48 | 51 |
|
49 | 52 | outputs: |
50 | 53 | results: |
51 | | - description: "List of issues and pull requests filed (and their associated finding(s)), as stringified JSON" |
| 54 | + description: 'List of issues and pull requests filed (and their associated finding(s)), as stringified JSON' |
52 | 55 | value: ${{ steps.results.outputs.results }} |
53 | 56 |
|
54 | 57 | runs: |
55 | | - using: "composite" |
| 58 | + using: 'composite' |
56 | 59 | steps: |
57 | 60 | - name: Make sub-actions referenceable |
58 | 61 | working-directory: ${{ github.action_path }} |
@@ -163,5 +166,5 @@ runs: |
163 | 166 | token: ${{ inputs.token }} |
164 | 167 |
|
165 | 168 | branding: |
166 | | - icon: "compass" |
167 | | - color: "blue" |
| 169 | + icon: 'compass' |
| 170 | + color: 'blue' |
0 commit comments