Skip to content

Commit ac2bbf4

Browse files
committed
GitHub actions file complete. Permissions on token updated.
1 parent 0f572f3 commit ac2bbf4

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/a11y-scan.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ jobs:
88
- uses: github/accessibility-scanner@v2
99
with:
1010
urls: | # Provide a newline-delimited list of URLs to scan; more information below.
11-
REPLACE_THIS
11+
https://barronbytes.github.io/teacher-scripts/
1212
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: teacher-scripts-a11y-scan-cache
16-
# Provide a filename that will be used when caching results. We recommend including the name or domain of the site being scanning.
13+
token: ${{ secrets.GH_A11Y_TOKEN }} # Fine-grained token with read/write access to repo on actions, contents, issues, and PRs.
14+
cache_key: teacher-scripts-a11y-scan-cache

0 commit comments

Comments
 (0)