Skip to content

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 github workflow versions (#2420)

Musthaq Ahamadb24a8a3e2c7a
diff --git a/.github/actions/setup-node-pnpm-bun/action.yml b/.github/actions/setup-node-pnpm-bun/action.yml
index 67c4f3b08..e93cd052e 100644
--- a/.github/actions/setup-node-pnpm-bun/action.yml
+++ b/.github/actions/setup-node-pnpm-bun/action.yml
@@ -30,7 +30,7 @@ runs:
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
- name: Setup Node.js
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
+ uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
node-version-file: ${{ inputs.node-version == '' && inputs.node-version-file || '' }}
diff --git a/.github/workflows/build-cli-binaries.yml b/.github/workflows/build-cli-binaries.yml
index beee6607d..02985f8d5 100644
--- a/.github/workflows/build-cli-binaries.yml
+++ b/.github/workflows/build-cli-binaries.yml
@@ -36,7 +36,7 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
- name: Setup Node.js, pnpm, Bun
uses: ./.github/actions/setup-node-pnpm-bun
@@ -85,7 +85,7 @@ jobs:
ls -la
- name: Upload binary artifact
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
+ uses: actions/upload-artifact@v6
with:
name: ${{ matrix.artifact }}
path: |
@@ -95,7 +95,7 @@ jobs:
- name: Create Release
if: startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch'
- uses: softprops/action-gh-release@da05d552573ad5aba039eaac05058a918a7bf631 # v2.2.2
+ uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.event_name == 'workflow_dispatch' && inputs.version || github.ref_name }}
name: ${{ github.event_name == 'workflow_dispatch' && format('CLI {0} (Manual Build)', inputs.version) || github.ref_name }}
@@ -124,7 +124,7 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
- name: Create installation README
run: |
@@ -177,7 +177,7 @@ jobs:
EOF
- name: Upload install instructions
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
+ uses: actions/upload-artifact@v6
with:
name: install-instructions
path: INSTALL.md
diff --git a/.github/workflows/check_broken_links.yml b/.github/workflows/check_broken_links.yml
index 7bf696433..503df9f17 100644
--- a/.github/workflows/check_broken_links.yml
+++ b/.github/workflows/check_broken_links.yml
@@ -20,10 +20,10 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
- name: Setup Bun
- uses: oven-sh/setup-bun@db6bcf6eb8d88a8aa03265b887ec7bd84d64cd68 # v2.1.1
+ uses: oven-sh/setup-bun@v2
with:
bun-version-file: '.bun-version'
diff --git a/.github/workflows/claude-code-doc-review.yml b/.github/workflows/claude-code-doc-review.yml
index 28960479f..b8c0755d2 100644
--- a/.github/workflows/claude-code-doc-review.yml
+++ b/.github/workflows/claude-code-doc-review.yml
@@ -23,13 +23,13 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
with:
fetch-depth: 1
- name: Run Claude Code Review
id: claude-review
- uses: anthropics/claude-code-action@1b8ee3b94104046d71fde52ec3557651ad8c0d71 # v1.0.29
+ uses: anthropics/claude-code-action@v1
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
track_progress: true # Forces tag mode with tracking comments
diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml
index f6dbf5181..cc248396a 100644
--- a/.github/workflows/claude.yml
+++ b/.github/workflows/claude.yml
@@ -25,13 +25,13 @@ jobs:
id-token: write
steps:
- name: Checkout repository
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
with:
fetch-depth: 1
- name: Run Claude Code
id: claude
- uses: anthropics/claude-code-action@1b8ee3b94104046d71fde52ec3557651ad8c0d71 # v1.0.29
+ uses: anthropics/claude-code-action@v1
with:
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
diff --git a/.github/workflows/docs-check-links.yml b/.github/workflows/docs-check-links.yml
index ed3337ab4..388761c56 100644
--- a/.github/workflows/docs-check-links.yml
+++ b/.github/workflows/docs-check-links.yml
@@ -14,10 +14,10 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
- name: Setup Bun
- uses: oven-sh/setup-bun@db6bcf6eb8d88a8aa03265b887ec7bd84d64cd68 # v2.1.1
+ uses: oven-sh/setup-bun@v2
with:
bun-version-file: '.bun-version'
diff --git a/.github/workflows/docs-typescript-check.yml b/.github/workflows/docs-typescript-check.yml
index e5e4dfb6b..7b0b6c9b0 100644
--- a/.github/workflows/docs-typescript-check.yml
+++ b/.github/workflows/docs-typescript-check.yml
@@ -14,10 +14,10 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
- name: Setup Bun
- uses: oven-sh/setup-bun@db6bcf6eb8d88a8aa03265b887ec7bd84d64cd68 # v2.1.1
+ uses: oven-sh/setup-bun@v2
with:
bun-version-file: '.bun-version'
diff --git a/.github/workflows/generate-sdk-docs.yml b/.github/workflows/generate-sdk-docs.yml
index 645cc2b03..f224c2f07 100644
--- a/.github/workflows/generate-sdk-docs.yml
+++ b/.github/workflows/generate-sdk-docs.yml
@@ -17,7 +17,7 @@ jobs:
steps:
- name: Checkout Code
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
- name: Setup Node.js, pnpm, Bun
uses: ./.github/actions/setup-node-pnpm-bun
@@ -27,7 +27,7 @@ jobs:
- run: pnpm --filter @composio/core generate:docs
- name: Create Pull Request
- uses: peter-evans/create-pull-request@271a8d0340265f705b14b601f8cf3c8c27d2d6cf # v7.0.8
+ uses: peter-evans/create-pull-request@v8
with:
commit-message: 'docs: auto-generate TypeScript SDK reference'
title: 'docs: Update TypeScript SDK reference'
@@ -44,7 +44,7 @@ jobs:
steps:
- name: Checkout Code
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
- name: Setup Python with UV
uses: ./.github/actions/setup-python-uv
@@ -52,7 +52,7 @@ jobs:
- run: cd python && uv run --with griffe python scripts/generate-docs.py
- name: Create Pull Request
- uses: peter-evans/create-pull-request@271a8d0340265f705b14b601f8cf3c8c27d2d6cf # v7.0.8
+ uses: peter-evans/create-pull-request@v8
with:
commit-message: 'docs: auto-generate Python SDK reference'
title: 'docs: Update Python SDK reference'
diff --git a/.github/workflows/preview_docs.yml b/.github/workflows/preview_docs.yml
index 7e3c49545..4dab2aacc 100644
--- a/.github/workflows/preview_docs.yml
+++ b/.github/workflows/preview_docs.yml
@@ -16,10 +16,10 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
- name: Setup Bun
- uses: oven-sh/setup-bun@db6bcf6eb8d88a8aa03265b887ec7bd84d64cd68 # v2.1.1
+ uses: oven-sh/setup-bun@v2
with:
bun-version-file: '.bun-version'
@@ -61,6 +61,6 @@ jobs:
echo "Preview your docs: $URL" > preview_url.txt
- name: Comment URL in PR
- uses: thollander/actions-comment-pull-request@24bffb9b452ba05a4f3f77933840a6a841d1b32b # 3.0.1
+ uses: thollander/actions-comment-pull-request@v3
with:
file-path: fern/preview_url.txt
diff --git a/.github/workflows/publish_docs.yml b/.github/workflows/publish_docs.yml
index 7ac65667a..912397908 100644
--- a/.github/workflows/publish_docs.yml
+++ b/.github/workflows/publish_docs.yml
@@ -25,7 +25,7 @@ jobs:
COMPOSIO_API_KEY: ${{ inputs.api_key || secrets.COMPOSIO_API_KEY }}
steps:
- name: Checkout repository
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
- name: Log trigger source
run: |
diff --git a/.github/workflows/py.check.yaml b/.github/workflows/py.check.yaml
index a6fb8ee57..28af31365 100644
--- a/.github/workflows/py.check.yaml
+++ b/.github/workflows/py.check.yaml
@@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
with:
fetch-depth: 50
@@ -27,7 +27,7 @@ jobs:
- name: nox cache
id: nox-cache
- uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
+ uses: actions/cache@v4
with:
path: python/.nox
key: nox-${{ hashFiles('pyproject.toml') }}-py${{ steps.setup-python.outputs.python-version }}
@@ -36,7 +36,7 @@ jobs:
- name: Mypy cache
id: mypy-cache
- uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
+ uses: actions/cache@v4
with:
path: python/.mypy_cache
key: mypy-${{ hashFiles('pyproject.toml') }}-py${{ steps.setup-python.outputs.python-version }}
@@ -45,7 +45,7 @@ jobs:
- name: Ruff cache
id: ruff-cache
- uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
+ uses: actions/cache@v4
with:
path: python/.ruff_cache
key: ruff-${{ hashFiles('pyproject.toml') }}-py${{ steps.setup-python.outputs.python-version }}
diff --git a/.github/workflows/py.release.yml b/.github/workflows/py.release.yml
index 9d18831b9..6cee066b3 100644
--- a/.github/workflows/py.release.yml
+++ b/.github/workflows/py.release.yml
@@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
- name: Setup Python with UV
uses: ./.github/actions/setup-python-uv
@@ -31,7 +31,7 @@ jobs:
- name: Publish Artifacts
if: github.event_name == 'release'
- uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # v1.12.4
+ uses: pypa/gh-action-pypi-publish@release/v1
with:
packages-dir: ./python/dist
user: ${{ secrets.PYPI_USERNAME }}
diff --git a/.github/workflows/py.test.yml b/.github/workflows/py.test.yml
index 4ad58af31..5ff4def4e 100644
--- a/.github/workflows/py.test.yml
+++ b/.github/workflows/py.test.yml
@@ -26,15 +26,15 @@ jobs:
steps:
- name: Checkout Code
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
+ uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Cache pip dependencies
- uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
+ uses: actions/cache@v4
with:
path: ~/.cache/pip
key: pip-${{ matrix.python-version }}-${{ hashFiles('python/pyproject.toml') }}
@@ -84,7 +84,7 @@ jobs:
steps:
- name: Checkout Code
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
- name: Setup Python with UV
uses: ./.github/actions/setup-python-uv
@@ -136,7 +136,7 @@ jobs:
steps:
- name: Checkout Code
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
- name: Setup Python with UV
uses: ./.github/actions/setup-python-uv
@@ -170,15 +170,15 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
- name: Install UV
- uses: astral-sh/setup-uv@6b9c6063abd6010835644d4c2e1bef4cf5cd0fca # v6.0.1
+ uses: astral-sh/setup-uv@v6
with:
version: '0.8.19'
- name: Cache UV dependencies
- uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
+ uses: actions/cache@v4
with:
path: ~/.cache/uv
key: uv-0.8.19-py3.12-${{ hashFiles('python/pyproject.toml') }}
@@ -210,7 +210,7 @@ jobs:
- name: Upload Test Results
if: always()
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
+ uses: actions/upload-artifact@v6
with:
name: integration-test-results
path: |
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index ebb782990..5f8ee9b5a 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Close Stale Issues
- uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # 10.1.1
+ uses: actions/stale@v10
with:
# General settings
repo-token: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/test-installation.yml b/.github/workflows/test-installation.yml
index c45485f7d..9fe7a353a 100644
--- a/.github/workflows/test-installation.yml
+++ b/.github/workflows/test-installation.yml
@@ -67,7 +67,7 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
- name: Setup shell environment
run: |
@@ -317,10 +317,10 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
- name: Setup Node.js
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
+ uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
@@ -360,7 +360,7 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
- name: Test architecture detection
run: |
@@ -405,7 +405,7 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
- name: Test required tools
run: |
diff --git a/.github/workflows/ts.audit.yml b/.github/workflows/ts.audit.yml
index e09f2643e..da2655ed6 100644
--- a/.github/workflows/ts.audit.yml
+++ b/.github/workflows/ts.audit.yml
@@ -19,7 +19,7 @@ jobs:
steps:
- name: Checkout Code
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
- name: Setup Node.js, pnpm, Bun
uses: ./.github/actions/setup-node-pnpm-bun
diff --git a/.github/workflows/ts.build.yml b/.github/workflows/ts.build.yml
index 5106dfd7f..35208d3c6 100644
--- a/.github/workflows/ts.build.yml
+++ b/.github/workflows/ts.build.yml
@@ -16,7 +16,7 @@ jobs:
steps:
- name: Checkout Code
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
- name: Setup Node.js, pnpm, Bun
uses: ./.github/actions/setup-node-pnpm-bun
diff --git a/.github/workflows/ts.release.yml b/.github/workflows/ts.release.yml
index 0575606d4..1a23eabf1 100644
--- a/.github/workflows/ts.release.yml
+++ b/.github/workflows/ts.release.yml
@@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
- name: Setup Node.js, pnpm, Bun
uses: ./.github/actions/setup-node-pnpm-bun
@@ -32,7 +32,7 @@ jobs:
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
- name: Create Release Pull Request & Publish packages
id: changesets
- uses: changesets/action@c8bada60c408975afd1a20b3db81d6eee6789308 # v1.4.9
+ uses: changesets/action@v1
if: github.event_name != 'workflow_dispatch' # only run on master merges
env:
GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
@@ -49,7 +49,7 @@ jobs:
- name: Send Slack Notification
if: steps.changesets.outputs.published == 'true'
- uses: slackapi/slack-github-action@b4590ed38561d3cb7512cbee19cef0e0a6064ff1 # v1.24.0
+ uses: slackapi/[email protected]
with:
payload: |
{
diff --git a/.github/workflows/ts.test-e2e.yml b/.github/workflows/ts.test-e2e.yml
index 68dcaaadc..dcf3d7329 100644
--- a/.github/workflows/ts.test-e2e.yml
+++ b/.github/workflows/ts.test-e2e.yml
@@ -32,7 +32,7 @@ jobs:
steps:
- name: Checkout Code
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
- name: Setup Node.js, pnpm, Bun
uses: ./.github/actions/setup-node-pnpm-bun
@@ -66,7 +66,7 @@ jobs:
steps:
- name: Checkout Code
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
- name: Setup Node.js, pnpm, Bun
uses: ./.github/actions/setup-node-pnpm-bun
diff --git a/.github/workflows/ts.test.yml b/.github/workflows/ts.test.yml
index 8a313e110..03ebd3750 100644
--- a/.github/workflows/ts.test.yml
+++ b/.github/workflows/ts.test.yml
@@ -19,7 +19,7 @@ jobs:
steps:
- name: Checkout Code
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
- name: Setup Node.js, pnpm, Bun
uses: ./.github/actions/setup-node-pnpm-bun
diff --git a/.github/workflows/ts.typecheck.yml b/.github/workflows/ts.typecheck.yml
index 0e6f1344d..0c28cc325 100644
--- a/.github/workflows/ts.typecheck.yml
+++ b/.github/workflows/ts.typecheck.yml
@@ -17,7 +17,7 @@ jobs:
steps:
- name: Checkout Code
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ uses: actions/checkout@v6
- name: Setup Node.js, pnpm, Bun
uses: ./.github/actions/setup-node-pnpm-bun
diff --git a/ts/packages/cli/test/__mocks__/tools.json b/ts/packages/cli/test/__mocks__/tools.json
index 2ddff4f01..b28f3c964 100644
--- a/ts/packages/cli/test/__mocks__/tools.json
+++ b/ts/packages/cli/test/__mocks__/tools.json
@@ -49465,7 +49465,7 @@
"monalisa/octocat@*",
"monalisa/octocat@v2",
"monalisa/*",
- "actions/checkout@v3",
+ "actions/checkout@v6",
"your-org/your-repo/.github/workflows/main.yml@refs/heads/main"
],
"items": { "properties": {}, "type": "string" },