Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/deploy-book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

name: deploy-book

# Updates public documentation for new releases.
# Updates public documentation for new releases, or on demand.
on:
release:
types: [published]
workflow_dispatch: {}

# This job installs dependencies, builds the book, and pushes it to `gh-pages`
jobs:
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/lint-notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,15 @@ name: lint-notebooks
# place, MyST-NB/nbconvert renders that leftover state into the built docs,
# so old widget content (e.g. stale progress-bar text) can silently reappear
# in published pages even after the code that produced it is gone.
#
# No `paths:` filter: this check is required by branch protection on main,
# and a required check that never runs (e.g. filtered out by paths) leaves a
# PR permanently blocked rather than passing, even if it's unrelated to
# notebooks. The check itself is cheap, so we just run it on every PR/push.
on:
pull_request:
paths:
- "**/*.ipynb"
- "scripts/check_notebook_widgets.py"
push:
branches: [main]
paths:
- "**/*.ipynb"
- "scripts/check_notebook_widgets.py"

jobs:
check-notebook-widgets:
Expand Down