Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 3 additions & 10 deletions .github/workflows/scan-static-sites.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,13 @@ jobs:
https://github.blog/ai-and-ml/
repository: github/accessibility-scanner-testing
steps:
- name: Checkout repository
uses: actions/checkout@v7

- name: Stage alt-text plugin
run: |
mkdir -p .github/scanner-plugins/alt-text-scan
cp -r index.ts src .github/scanner-plugins/alt-text-scan/

- name: Run accessibility scanner
uses: github/accessibility-scanner@84a8f6de0b0f7df7ac2083386222388d0e74eeb9 # v3.3.0
uses: github/accessibility-scanner@da2381e50d31f6e21c4fb6fad14e75f26e682ae1 # v3.4.0
with:
urls: ${{ matrix.urls }}
cache_key: cached_findings-${{ matrix.id }}-${{ github.ref_name }}.json
repository: ${{ matrix.repository }}
token: ${{ secrets.GH_TOKEN }}
skip_copilot_assignment: true
scans: '["axe", "alt-text-scan"]'
scans: |
["axe", {"name": "alt-text-scan", "package": "@github/accessibility-scanner-alt-text-plugin", "version": "1.1.0"}]