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 22, 00:45 UTC
fix: prevent docs-update-data workflow failure on reviewer step
When triggered by repository_dispatch, github.actor is a bot that can't be added as a reviewer, causing the workflow to fail. Fall back to adding Sushmithamallesh and use continue-on-error so the workflow always succeeds. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sushmithamallesh committed
Apr 5, 2026 at 21:23 UTC
53aa4c51f80885526f74344695819012f88b21cb
1 file changed
+4
-1
.github/workflows/docs-update-data.yml
+4
-1
@@ -96,8 +96,11 @@ jobs:
96
97
- name: Request review from trigger actor
98
if: steps.create-pr.outputs.pull-request-number
99
+ continue-on-error: true
100
env:
101
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
102
PR_NUMBER: ${{ steps.create-pr.outputs.pull-request-number }}
103
AUTHOR: ${{ github.actor }}
103
- run: gh pr edit "$PR_NUMBER" --add-reviewer "$AUTHOR"
104
+ run: |
105
+ gh pr edit "$PR_NUMBER" --add-reviewer "$AUTHOR" || \
106
+ gh pr edit "$PR_NUMBER" --add-reviewer "Sushmithamallesh"