Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
ci(docs): run the failure alert outside the docs working directory
The job sets `defaults.run.working-directory: ./docs`, which the alerting step inherited. That path only exists once checkout has run, so any failure before it — the app-token step, for instance — would leave the runner unable to start the step's shell. Combined with continue-on-error, the alert would be dropped silently for exactly the earliest and least visible failures. Pin the step to ${{ github.workspace }}, which the runner creates before any step executes. Reported by Cursor Bugbot on #3947. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
daksh committed
Jul 24, 2026 at 19:17 UTC
12db4def0dc6bdb3211f79bf26503c80b7829afd
1 file changed
+5
.github/workflows/docs-update-data.yml
+5
@@ -147,6 +147,11 @@ jobs:
147
- name: Open tracking issue on failure
148
if: failure()
149
continue-on-error: true
150
+ # Override the job-level `./docs` default. That path only exists after
151
+ # checkout, so a failure before it (e.g. the app-token step) would leave
152
+ # the runner unable to start this shell — and continue-on-error would
153
+ # swallow that, losing the alert for precisely the earliest failures.
154
+ working-directory: ${{ github.workspace }}
155
env:
156
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
157
GH_REPO: ${{ github.repository }}