Skip to content

Python SDK for AI agent monitoring, LLM cost tracking, benchmarking, and more. Integrates with most LLMs and agent frameworks including CrewAI, Agno, OpenAI Agents SDK, Langchain, Autogen, AG2, and CamelAI

Switching back to peter evans create pull request (#412)

Howard Gil2de7a0225566
diff --git a/.github/workflows/add-notebook-examples-to-docs.yml b/.github/workflows/add-notebook-examples-to-docs.yml
index b59039d3..b75318fa 100644
--- a/.github/workflows/add-notebook-examples-to-docs.yml
+++ b/.github/workflows/add-notebook-examples-to-docs.yml
@@ -13,6 +13,7 @@ on:
permissions:
contents: write
+ pull-requests: write
jobs:
add-notebook-examples-to-docs:
@@ -55,14 +56,14 @@ jobs:
fi
done
- - name: Add, commit, and push changes
- run: |
- git config --global user.name 'Howard Gil'
- git config --global user.email '[email protected]'
- git add docs/v1/examples/*.mdx
- if git diff --staged --quiet; then
- echo "No changes to commit"
- else
- git commit -m "GitHub Action: Update examples in docs from notebooks"
- git push
- fi
\ No newline at end of file
+ - name: Create Pull Request
+ uses: peter-evans/create-pull-request@v7
+ with:
+ committer: Howard Gil <[email protected]>
+ commit-message: GitHub Action - Update examples in docs from notebooks
+ title: GitHub Action - Update examples in docs from notebooks
+ body: Changes detected in examples/** or docs/v1/examples/** triggered an update of the docs/v1/examples/**.mdx files to incorporate markdown from the corresponding notebook in examples/**.
+ branch: update-examples-in-docs-from-notebooks
+ delete-branch: true
+ assignees: HowieG,siyangqiu,bboynton97,areibman
+ reviewers: HowieG,siyangqiu,bboynton97,areibman