Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
fix: use GITHUB_PATH for composio bin in health check workflow (#2886)
Musthaq Ahamad committed
Mar 11, 2026 at 16:03 UTC
85494c41e1c70f23b6c94db8e15c662720df96b6
1 file changed
+18
-28
.github/workflows/cli.install-health-check.yml
+18
-28
@@ -2,7 +2,6 @@ name: CLI Install Health Check
2
3
on:
4
schedule:
5
- # Run every hour at minute 0
5
- cron: '0 * * * *'
6
workflow_dispatch:
7
@@ -11,35 +10,26 @@ jobs:
10
name: Test CLI Installation
11
runs-on: ubuntu-latest
12
steps:
14
- - name: Test install script from composio.dev
15
- id: install
13
+ - name: Run install script
14
run: |
17
- if curl -fsSL https://composio.dev/install | bash; then
18
- echo "success=true" >> "$GITHUB_OUTPUT"
19
- else
20
- echo "success=false" >> "$GITHUB_OUTPUT"
21
- exit 1
22
- fi
15
+ set -euo pipefail
16
+ curl -fsSL https://composio.dev/install | bash
17
+ echo "$HOME/.composio/bin" >> "$GITHUB_PATH"
18
19
- name: Verify installation
25
- if: steps.install.outcome == 'success'
20
run: |
27
- source ~/.bashrc 2>/dev/null || source ~/.zshrc 2>/dev/null || true
28
- export PATH="$HOME/.composio/bin:$PATH"
29
- if composio --version; then
30
- echo "✅ CLI installation verified"
31
- else
32
- echo "❌ CLI binary failed to execute"
33
- exit 1
34
- fi
21
+ set -euo pipefail
22
+ ls -la "$HOME/.composio/bin" || true
23
+ which composio
24
+ composio --version
25
36
- - name: Send Slack Notification (Failure)
37
- if: failure()
38
- uses: slackapi/slack-github-action@fcfb566f8b0aab22203f066d80ca1d7e4b5d05b3 # v1.27.1
39
- with:
40
- payload: |
41
- {
42
- "text": "⚠️ CLI Install Health Check Failed!\n*Repository:* ${{ github.repository }}\n*Workflow:* ${{ github.workflow }}\n*Run:* ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n*Commit:* ${{ github.sha }}"
43
- }
44
- env:
45
- SLACK_WEBHOOK_URL: ${{ secrets.SLACK_RELEASE_WEBHOOK_URL }}
26
+ # - name: Send Slack Notification (Failure)
27
+ # if: failure()
28
+ # uses: slackapi/slack-github-action@fcfb566f8b0aab22203f066d80ca1d7e4b5d05b3
29
+ # with:
30
+ # payload: |
31
+ # {
32
+ # "text": "⚠️ CLI Install Health Check Failed!\n*Repository:* ${{ github.repository }}\n*Workflow:* ${{ github.workflow }}\n*Run:* ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\n*Commit:* ${{ github.sha }}"
33
+ # }
34
+ # env:
35
+ # SLACK_WEBHOOK_URL: ${{ secrets.SLACK_RELEASE_WEBHOOK_URL }}