Skip to content

Commit

Permalink
fix validate notebook ci check
Browse files Browse the repository at this point in the history
  • Loading branch information
bracesproul committed Aug 28, 2024
1 parent 120c048 commit f0782d0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/validate-new-notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,12 @@ concurrency:

on:
push:
branches:
- main
branches: ["main"]
pull_request:
branches:
- main
paths:
- 'docs/docs/**'
- 'examples/**'
- '**.ipynb'
- 'deno.json'
workflow_dispatch:

Expand Down Expand Up @@ -71,7 +69,7 @@ jobs:
run: |
notebooks=$(echo '${{ steps.changed-files.outputs.all_changed_files }}' | tr ' ' '\n' | grep -E '^(docs/docs|examples)/.*\.ipynb$' || true)
if [ -n "$notebooks" ]; then
cd ./langgraph
cd ./libs/langgraph
for notebook in $notebooks; do
absolute_path="$GITHUB_WORKSPACE/$notebook"
yarn notebook_validate "$absolute_path"
Expand Down
3 changes: 2 additions & 1 deletion examples/quickstart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"metadata": {},
"source": [
"# Quickstart\n",
"trigger change!\n",
"\n",
"In this quickstart guide, you'll get up and running with a simple agent that can\n",
"search the web using [Tavily Search API](https://tavily.com/). The code is fully\n",
Expand Down Expand Up @@ -282,4 +283,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}

0 comments on commit f0782d0

Please sign in to comment.