Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
fix(docs): use app token for SDK docs sync PRs (#3706)
Alberto Schiabel9bd600a9a262
diff --git a/.github/workflows/docs.sdk-change-sync.yml b/.github/workflows/docs.sdk-change-sync.ymlindex 394c8c154..cccec4466 100644--- a/.github/workflows/docs.sdk-change-sync.yml+++ b/.github/workflows/docs.sdk-change-sync.yml@@ -20,9 +20,17 @@ jobs:id-token: writesteps:+ - name: Generate GitHub App token+ id: app-token+ uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0+ with:+ client-id: ${{ vars.RELEASE_BOT_CLIENT_ID }}+ private-key: ${{ secrets.RELEASE_BOT_APP_PRIVATE_KEY }}+- name: Checkout repositoryuses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3with:+ token: ${{ steps.app-token.outputs.token }}fetch-depth: 0- name: Get SDK diff@@ -76,6 +84,7 @@ jobs:if: steps.diff.outputs.has_changes == 'true'uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1with:+ token: ${{ steps.app-token.outputs.token }}commit-message: 'docs: update guides for SDK changes'title: 'docs: update guides for SDK changes'body: |@@ -97,8 +106,9 @@ jobs:- name: Request review from pusherif: steps.create-pr.outputs.pull-request-number+ continue-on-error: trueenv:- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ GH_TOKEN: ${{ steps.app-token.outputs.token }}PR_NUMBER: ${{ steps.create-pr.outputs.pull-request-number }}AUTHOR: ${{ github.actor }}run: gh pr edit "$PR_NUMBER" --add-reviewer "$AUTHOR"