Skip to content

Weekly HTML Accessibility Check #162

Weekly HTML Accessibility Check

Weekly HTML Accessibility Check #162

name: Weekly HTML Accessibility Check
on:
schedule:
- cron: '0 4 * * 0' # 0400 UTC every Sunday
workflow_dispatch:
inputs:
total_error_limit:
required: false
description: 'The maximum total allowed number of HTML accessibility errors. To skip this testing requirement, enter the value "-1". If not explicitly specified, the default value is "0".'
default: 0
type: string
total_warning_limit:
required: false
description: 'The maximum total allowed number of HTML accessibility warnings. To skip this testing requirement, enter the value "-1". If not explicitly specified, the default value is "0".'
default: 0
type: string
jobs:
Scheduled:
uses: spacetelescope/notebook-ci-actions/.github/workflows/html_accessibility_check.yml@v1
with:
target_url: https://spacetelescope.github.io/${{ github.event.repository.name }}/
python-version: ${{ vars.PYTHON_VERSION || '3.11' }}

Check failure on line 23 in .github/workflows/weekly_html_accessibility_check.yml

View workflow run for this annotation

GitHub Actions / Weekly HTML Accessibility Check

Invalid workflow file

The workflow is not valid. .github/workflows/weekly_html_accessibility_check.yml (Line: 23, Col: 22): Invalid input, python-version is not defined in the referenced workflow. .github/workflows/weekly_html_accessibility_check.yml (Line: 24, Col: 25): Invalid input, total_error_limit is not defined in the referenced workflow.
total_error_limit: ${{ inputs.total_error_limit || 0 }}
total_warning_limit: ${{ inputs.total_warning_limit || 0 }}
secrets:
A11YWATCH_TOKEN: ${{ secrets.A11YWATCH_TOKEN }}