@devries-cameron20 / composio-1 / commits / 1d56b64d3
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.

feat: auto-assign PR reviewer to the person who triggered the workflow

All docs automation workflows now request a review from github.actor (the person who pushed, dispatched, or manually triggered the run). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Sushmitha Mallesh committed Mar 13, 2026 at 18:07 UTC 1d56b64d3c56f7d2c0707c284e649b8c05b0ee7c
5 files changed +46
.github/workflows/docs-update-data.yml
+9
@@ -71,6 +71,7 @@ jobs:
71 fi
72
73 - name: Create Pull Request
74 + id: create-pr
75 if: steps.changes.outputs.has_changes == 'true'
76 uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 # v8.0.0
77 with:
@@ -92,3 +93,11 @@ jobs:
93 docs/public/openapi.json
94 docs/content/reference/api-reference/
95 docs/content/reference/meta-tools/
96 +
97 + - name: Request review from trigger actor
98 + if: steps.create-pr.outputs.pull-request-number
99 + env:
100 + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
101 + PR_NUMBER: ${{ steps.create-pr.outputs.pull-request-number }}
102 + AUTHOR: ${{ github.actor }}
103 + run: gh pr edit "$PR_NUMBER" --add-reviewer "$AUTHOR"
.github/workflows/docs.changelog-to-docs.yml
+1
@@ -80,6 +80,7 @@ jobs:
80 --base next \
81 --head "$BRANCH" \
82 --title "docs: update documentation for new changelog entries" \
83 + --reviewer "$GITHUB_ACTOR" \
84 --body "$(cat <<'EOF'
85 ## Summary
86 Automated documentation updates triggered by new changelog entries merged to next.
.github/workflows/docs.sdk-change-sync.yml
+9
@@ -64,6 +64,7 @@ jobs:
64 7. If no docs changes are needed, make no file changes
65
66 - name: Create PR if changed
67 + id: create-pr
68 if: steps.diff.outputs.has_changes == 'true'
69 uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 # v8.0.0
70 with:
@@ -85,3 +86,11 @@ jobs:
86 branch: docs/auto-sdk-sync
87 base: next
88 add-paths: docs/content/docs/
89 +
90 + - name: Request review from pusher
91 + if: steps.create-pr.outputs.pull-request-number
92 + env:
93 + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
94 + PR_NUMBER: ${{ steps.create-pr.outputs.pull-request-number }}
95 + AUTHOR: ${{ github.actor }}
96 + run: gh pr edit "$PR_NUMBER" --add-reviewer "$AUTHOR"
.github/workflows/docs.sync-connect-clients.yml
+9
@@ -63,6 +63,7 @@ jobs:
63 6. If no changes are needed, make no file changes
64
65 - name: Create PR if changed
66 + id: create-pr
67 uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 # v8.0.0
68 with:
69 commit-message: 'docs: sync Connect clients from dashboard'
@@ -85,3 +86,11 @@ jobs:
86 add-paths: |
87 docs/content/docs/composio-connect.mdx
88 docs/public/images/clients/
89 +
90 + - name: Request review from trigger actor
91 + if: steps.create-pr.outputs.pull-request-number
92 + env:
93 + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
94 + PR_NUMBER: ${{ steps.create-pr.outputs.pull-request-number }}
95 + AUTHOR: ${{ github.actor }}
96 + run: gh pr edit "$PR_NUMBER" --add-reviewer "$AUTHOR"
.github/workflows/generate-sdk-docs.yml
+18
@@ -27,6 +27,7 @@ jobs:
27 - run: pnpm --filter @composio/core generate:docs
28
29 - name: Create Pull Request
30 + id: create-pr
31 uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 # v8.0.0
32 with:
33 commit-message: 'docs: auto-generate TypeScript SDK reference'
@@ -40,6 +41,14 @@ jobs:
41 base: next
42 add-paths: docs/content/reference/sdk-reference/typescript/
43
44 + - name: Request review from pusher
45 + if: steps.create-pr.outputs.pull-request-number
46 + env:
47 + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48 + PR_NUMBER: ${{ steps.create-pr.outputs.pull-request-number }}
49 + AUTHOR: ${{ github.actor }}
50 + run: gh pr edit "$PR_NUMBER" --add-reviewer "$AUTHOR"
51 +
52 generate-python-docs:
53 runs-on: ubuntu-latest
54 permissions:
@@ -56,6 +65,7 @@ jobs:
65 - run: cd python && uv run --with griffe python scripts/generate-docs.py
66
67 - name: Create Pull Request
68 + id: create-pr
69 uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 # v8.0.0
70 with:
71 commit-message: 'docs: auto-generate Python SDK reference'
@@ -68,3 +78,11 @@ jobs:
78 branch: docs/auto-update-python-sdk-reference
79 base: next
80 add-paths: docs/content/reference/sdk-reference/python/
81 +
82 + - name: Request review from pusher
83 + if: steps.create-pr.outputs.pull-request-number
84 + env:
85 + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
86 + PR_NUMBER: ${{ steps.create-pr.outputs.pull-request-number }}
87 + AUTHOR: ${{ github.actor }}
88 + run: gh pr edit "$PR_NUMBER" --add-reviewer "$AUTHOR"