@devries-cameron20 / composio Mirror · read-only / commits / 55a17b992
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.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 16:00 UTC

ci: address Cursor Bugbot findings on the App-token caller

- App token left on disk (Medium): checkout the private engine with persist-credentials: false, so the App installation token is never written to engine/.git/config where the eval's agent steps (filesystem access on the same runner) could read it. Token is only needed for the one-time fetch. - Non-docs previews start evals (Medium): the deployment_status trigger now requires the environment_url to start with https://docs- (matching the label path's docs-* rule), so a non-docs *.preview.composio.dev deployment can't kick off or cancel a docs eval. Already-resolved findings (stale, from the pre-App design): "unrelated labels cancel evals" (route job's label guard skips unrelated labels before the concurrency group) and "token cannot read deployments" (deployments: read is set on both jobs). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Soumya Medapati committed Aug 21, 2026 at 13:22 UTC 55a17b992c1487ee83528709615d0384a23a5601
1 file changed +5
.github/workflows/docs-agent-eval.yml
+5
@@ -44,6 +44,7 @@ jobs:
44 (github.event.action != 'labeled' || startsWith(github.event.label.name, 'run-docs-tests'))) ||
45 (github.event_name == 'deployment_status' &&
46 github.event.deployment_status.state == 'success' &&
47 + startsWith(github.event.deployment_status.environment_url, 'https://docs-') &&
48 contains(github.event.deployment_status.environment_url, '.preview.composio.dev'))
49 runs-on: ubuntu-latest
50 timeout-minutes: 5
@@ -160,6 +161,10 @@ jobs:
161 ref: ${{ env.ENGINE_REF }}
162 token: ${{ steps.app-token.outputs.token }}
163 path: engine
164 + # Don't write the App token into engine/.git/config — the eval then
165 + # runs untrusted agent code with filesystem access on this runner,
166 + # which could read a persisted token. We only need it for this fetch.
167 + persist-credentials: false
168
169 - name: Setup Python
170 uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5