From 6c0a2627d9806c9d2d3487353b4a1b349d6d43b5 Mon Sep 17 00:00:00 2001 From: Michael Dulude Date: Fri, 6 Dec 2024 10:31:42 -0500 Subject: [PATCH] Update weekly_html_accessibility_check.yml Updated to latest version. --- .../weekly_html_accessibility_check.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/weekly_html_accessibility_check.yml b/.github/workflows/weekly_html_accessibility_check.yml index 57cb0b98b..f243ebd8b 100644 --- a/.github/workflows/weekly_html_accessibility_check.yml +++ b/.github/workflows/weekly_html_accessibility_check.yml @@ -3,11 +3,26 @@ 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@main + uses: spacetelescope/notebook-ci-actions/.github/workflows/html_accessibility_check.yml@v3 with: target_url: https://spacetelescope.github.io/${{ github.event.repository.name }}/intro.html + python-version: ${{ vars.PYTHON_VERSION }} + total_error_limit: ${{ inputs.total_error_limit || 0 }} + total_warning_limit: ${{ inputs.total_warning_limit || 0 }} + secrets: A11YWATCH_TOKEN: ${{ secrets.A11YWATCH_TOKEN }}