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, 03:15 UTC
refactor: use peter-evans/create-pull-request for docs sync workflows
Replace manual git/gh PR creation with peter-evans/create-pull-request in both sync-connect-clients and sdk-change-sync workflows, matching the pattern used by docs-update-data and generate-sdk-docs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sushmitha Mallesh committed
Mar 13, 2026 at 17:45 UTC
f42c132b9b5c82a70637154ed30bc497a5a91fce
2 files changed
+36
-64
.github/workflows/docs.sdk-change-sync.yml
+17
-32
@@ -59,38 +59,23 @@ jobs:
59
60
- name: Create PR if changed
61
if: steps.diff.outputs.has_changes == 'true'
62
- env:
63
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
64
- run: |
65
- if [ -z "$(git status --porcelain)" ]; then
66
- echo "No documentation changes needed"
67
- exit 0
68
- fi
69
-
70
- BRANCH="docs/sdk-sync-${GITHUB_SHA::7}"
71
- git config user.name "github-actions[bot]"
72
- git config user.email "github-actions[bot]@users.noreply.github.com"
73
- git checkout -b "$BRANCH"
74
- git add -A
75
- git commit -m "docs: update guides for SDK changes"
76
- git push -u origin "$BRANCH"
77
-
78
- gh pr create \
79
- --base next \
80
- --head "$BRANCH" \
81
- --title "docs: update guides for SDK changes" \
82
- --body "$(cat <<'EOF'
83
- ## Summary
84
- Automated docs update triggered by SDK source changes on `next`.
62
+ uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 # v8.0.0
63
+ with:
64
+ commit-message: 'docs: update guides for SDK changes'
65
+ title: 'docs: update guides for SDK changes'
66
+ body: |
67
+ ## Summary
68
+ Automated docs update triggered by SDK source changes on `next`.
69
86
- Claude reviewed the SDK diff and updated guides, FAQs, or examples
87
- that reference changed APIs or features.
70
+ Claude reviewed the SDK diff and updated guides, FAQs, or examples
71
+ that reference changed APIs or features.
72
89
- ## Review checklist
90
- - [ ] Changes accurately reflect the new SDK behavior
91
- - [ ] No unrelated docs were modified
92
- - [ ] Code examples are correct and complete
73
+ ## Review checklist
74
+ - [ ] Changes accurately reflect the new SDK behavior
75
+ - [ ] No unrelated docs were modified
76
+ - [ ] Code examples are correct and complete
77
94
- Generated by Claude Code via GitHub Actions.
95
- EOF
96
- )"
78
+ Generated by Claude Code via GitHub Actions.
79
+ branch: docs/auto-sdk-sync
80
+ base: next
81
+ add-paths: docs/content/docs/
.github/workflows/docs.sync-connect-clients.yml
+19
-32
@@ -54,38 +54,25 @@ jobs:
54
6. If no changes are needed, make no file changes
55
56
- name: Create PR if changed
57
- env:
58
- GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59
- run: |
60
- if [ -z "$(git status --porcelain)" ]; then
61
- echo "No changes detected"
62
- exit 0
63
- fi
64
-
65
- BRANCH="docs/auto-sync-connect-clients-$(date +%Y%m%d)"
66
- git config user.name "github-actions[bot]"
67
- git config user.email "github-actions[bot]@users.noreply.github.com"
68
- git checkout -b "$BRANCH"
69
- git add -A
70
- git commit -m "docs: sync Connect clients from dashboard"
71
- git push -u origin "$BRANCH"
72
-
73
- gh pr create \
74
- --base next \
75
- --head "$BRANCH" \
76
- --title "docs: sync Connect clients from dashboard" \
77
- --body "$(cat <<'EOF'
78
- ## Summary
79
- Automated sync of AI client definitions from `ComposioHQ/composio_dashboard`.
57
+ uses: peter-evans/create-pull-request@98357b18bf14b5342f975ff684046ec3b2a07725 # v8.0.0
58
+ with:
59
+ commit-message: 'docs: sync Connect clients from dashboard'
60
+ title: 'docs: sync Connect clients from dashboard'
61
+ body: |
62
+ ## Summary
63
+ Automated sync of AI client definitions from `ComposioHQ/composio_dashboard`.
64
81
- Updates client setup steps, descriptions, and logos on the Composio Connect page.
65
+ Updates client setup steps, descriptions, and logos on the Composio Connect page.
66
83
- ## What may have changed
84
- - New or removed AI clients
85
- - Updated setup steps (deeplinks, config changes)
86
- - Category changes (popular/ide/other)
87
- - Client logos
67
+ ## What may have changed
68
+ - New or removed AI clients
69
+ - Updated setup steps (deeplinks, config changes)
70
+ - Category changes (popular/ide/other)
71
+ - Client logos
72
89
- Generated by Claude Code via GitHub Actions.
90
- EOF
91
- )"
73
+ Generated by Claude Code via GitHub Actions.
74
+ branch: docs/auto-sync-connect-clients
75
+ base: next
76
+ add-paths: |
77
+ docs/content/docs/composio-connect.mdx
78
+ docs/public/images/clients/