Skip to content

Commit a0946d6

Browse files
authored
Merge pull request #464 from spacetelescope/new_nb_508_checker
Add notebook accessibility check workflows
2 parents ab791f5 + 2c33fb8 commit a0946d6

2 files changed

Lines changed: 26 additions & 0 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

0 commit comments

Comments
 (0)