Skip to content

Commit baacfaf

Browse files
authored
Only check website notebooks (#40)
This check was including the MakerSuite template notebooks, which are out of scope for the nblint/nbfmt checks. Change-Id: I9bcbe0c5bc22290fbd77a8b465fc6eb49b3df892
1 parent 47a854d commit baacfaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/notebooks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
readarray -t changed_notebooks < <(git diff --name-only main | grep '\.ipynb$' || true)
2929
else
3030
# Manual run, check everything
31-
readarray -t changed_notebooks < <(find -name '*.ipynb')
31+
readarray -t changed_notebooks < <(find site/en/ -name '*.ipynb')
3232
fi
3333
if [[ ${#changed_notebooks[@]} == 0 ]]; then
3434
echo "No notebooks modified in this pull request."
@@ -55,7 +55,7 @@ jobs:
5555
readarray -t changed_notebooks < <(git diff --name-only main | grep '\.ipynb$' || true)
5656
else
5757
# Manual run, check everything
58-
readarray -t changed_notebooks < <(find -name '*.ipynb')
58+
readarray -t changed_notebooks < <(find site/en/ -name '*.ipynb')
5959
fi
6060
if [[ ${#changed_notebooks[@]} == 0 ]]; then
6161
echo "No notebooks modified in this pull request."

0 commit comments

Comments
 (0)