@devries-cameron20 / composio-1 / commits / 95843b37e
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

fix(docs): use app token for data sync PRs (#3599)

This PR: - adds the same `actions/create-github-app-token` setup used by the SDK docs generator - checks out the repository with the generated app token - passes the app token to `peter-evans/create-pull-request` - uses the app token for the optional reviewer request - fixes the current `Docs - Update Data` failure where `CI_BOT_TOKEN` cannot authenticate the git push for `docs/auto-update-data` - verified with `go run github.com/rhysd/actionlint/cmd/actionlint@latest .github/workflows/docs-update-data.yml` and `git diff --check`

Alberto Schiabel committed Jun 17, 2026 at 20:36 UTC 95843b37e37274a31a6d61f77a80a853c0e64682
1 file changed +11 -2
.github/workflows/docs-update-data.yml
+11 -2
@@ -20,8 +20,17 @@ jobs:
20 COMPOSIO_API_KEY: ${{ secrets.COMPOSIO_API_KEY }}
21
22 steps:
23 + - name: Generate GitHub App token
24 + id: app-token
25 + uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
26 + with:
27 + app-id: ${{ secrets.RELEASE_BOT_APP_ID }}
28 + private-key: ${{ secrets.RELEASE_BOT_APP_PRIVATE_KEY }}
29 +
30 - name: Checkout repository
31 uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
32 + with:
33 + token: ${{ steps.app-token.outputs.token }}
34
35 - name: Log trigger source
36 env:
@@ -102,7 +111,7 @@ jobs:
111 if: steps.changes.outputs.has_changes == 'true'
112 uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
113 with:
105 - token: ${{ secrets.CI_BOT_TOKEN }}
114 + token: ${{ steps.app-token.outputs.token }}
115 commit-message: 'docs: update toolkits and API data'
116 title: 'docs: update toolkits, API spec, and meta tools data'
117 body: |
@@ -128,7 +137,7 @@ jobs:
137 if: steps.create-pr.outputs.pull-request-number
138 continue-on-error: true
139 env:
131 - GH_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
140 + GH_TOKEN: ${{ steps.app-token.outputs.token }}
141 PR_NUMBER: ${{ steps.create-pr.outputs.pull-request-number }}
142 AUTHOR: ${{ github.actor }}
143 run: |