Skip to content

Commit 7713d83

Browse files
authored
Merge pull request #149 from spacetelescope/add_nb_accessibility_checks
Add notebook accessibility check workflows
2 parents 0546a8b + 916880c commit 7713d83

3 files changed

Lines changed: 26 additions & 28 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
## This workflow performs section 508 accessibility checks on Jupyter notebooks created or updated in a pull request
2+
name: PR-Triggered Jupyter Notebook Accessibility Check
3+
4+
on:
5+
pull_request:
6+
branches:
7+
- main
8+
paths:
9+
- 'notebooks/**.ipynb'
10+
11+
jobs:
12+
Notebook_Accessibility_Check:
13+
uses: spacetelescope/notebook-ci-actions/.github/workflows/notebook_accessibility_check_pr.yml@v1
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
## This workflow scans all Jupyter notebooks in the repository for Section 508 accessibility issues.
2+
## It is scheduled to run weekly on Sundays at 0100 UTC, but can also be triggered manually.
3+
name: Weekly Jupyter Notebook Accessibility Check
4+
5+
on:
6+
# Weekly runs at 0100 UTC every Sunday
7+
schedule:
8+
- cron: "0 1 * * SUN"
9+
workflow_dispatch:
10+
11+
jobs:
12+
nb_a11y_check:
13+
uses: spacetelescope/notebook-ci-actions/.github/workflows/notebook_accessibility_check.yml@v1

.github/workflows/weekly_html_accessibility_check.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)