-
Notifications
You must be signed in to change notification settings - Fork 18
34 lines (32 loc) · 1.5 KB
/
weekly_html_accessibility_check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Weekly HTML Accessibility Check
on:
schedule:
- cron: '0 4 * * 0' # 0400 UTC every Sunday
workflow_dispatch:
inputs:
total_combined_limit:
required: false
description: 'The maximum total allowed number of HTML accessibility errors and warnings. To skip this testing requirement, enter the value "-1". If not explicitly specified, the default value is "0".'
default: 0
type: string
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@v3
with:
target_url: https://spacetelescope.github.io/${{ github.event.repository.name }}/
python-version: ${{ vars.PYTHON_VERSION }}
total_combined_limit: ${{ inputs.total_combined_limit || 0 }}
total_error_limit: ${{ inputs.total_error_limit || 0 }}
total_warning_limit: ${{ inputs.total_warning_limit || 0 }}
secrets:
A11YWATCH_TOKEN: ${{ secrets.A11YWATCH_TOKEN }}