Skip to content

Commit 1402ce4

Browse files
committed
GitHub a11y-scanner: provided repo and token; setup still incomplete
1 parent 535c7cc commit 1402ce4

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed

.github/workflows/a11y-scan.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Accessibility Scanner
2+
on: workflow_dispatch # This configures the workflow to run manually, instead of (e.g.) automatically in every PR. Check out https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#on for more options.
3+
4+
jobs:
5+
accessibility_scanner:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- uses: github/accessibility-scanner@v2
9+
with:
10+
urls: | # Provide a newline-delimited list of URLs to scan; more information below.
11+
REPLACE_THIS
12+
repository: barronbytes/teacher-scripts
13+
token: ${{ secrets.GH_A11Y_TOKEN }}
14+
# This token must have write access to the repo above (contents, issues, and PRs); more information below. Note: GitHub Actions’ `GITHUB_TOKEN` (https://docs.github.com/en/actions/tutorials/authenticate-with-github_token) cannot be used here.
15+
cache_key: REPLACE_THIS # Provide a filename that will be used when caching results. We recommend including the name or domain of the site being scanning.

.vscode/settings.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
// Disable validation only for GitHub Actions YAMLs
3+
"[yaml]": {
4+
"editor.validate": false
5+
},
6+
"yaml.schemas": {},
7+
"yaml.customTags": [
8+
"tag:yaml.org,2002:str",
9+
"tag:yaml.org,2002:int",
10+
"tag:yaml.org,2002:float",
11+
"!secret",
12+
"!include"
13+
]
14+
}

__pycache__/stats.cpython-312.pyc

-1.14 KB
Binary file not shown.

0 commit comments

Comments
 (0)