Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Change docs sandbox template action to work on workfow call
Vasek Mlejnsky39ca1c123c98
diff --git a/.github/workflows/build_docs_sandbox_template.yml b/.github/workflows/build_docs_sandbox_template.ymlindex 28606442d..ee80d426b 100644--- a/.github/workflows/build_docs_sandbox_template.yml+++ b/.github/workflows/build_docs_sandbox_template.yml@@ -1,11 +1,10 @@name: Build E2B docs sandbox templateon:- push:- paths:- - "apps/docs/sandbox/**"- branches:- - main+ workflow_call:+ secrets:+ E2B_ACCESS_TOKEN:+ required: trueconcurrency: ${{ github.workflow }}-${{ github.ref }}diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex f7a541118..5a593e28e 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -29,8 +29,8 @@ jobs:- name: Setup Nodeuses: actions/setup-node@v3with:- node-version: '18.x'- registry-url: 'https://registry.npmjs.org'+ node-version: "18.x"+ registry-url: "https://registry.npmjs.org"cache: pnpmcache-dependency-path: pnpm-lock.yaml@@ -50,7 +50,7 @@ jobs:changes:name: Repository changes- needs: [ is_release ]+ needs: [is_release]if: needs.is_release.outputs.release == 'true'runs-on: ubuntu-latestoutputs:@@ -95,27 +95,27 @@ jobs:python-tests:name: Python SDK Tests- needs: [ changes ]+ needs: [changes]if: needs.changes.outputs.python-sdk == 'true'uses: ./.github/workflows/python_sdk_tests.ymlsecrets: inheritjs-tests:name: JS SDK Tests- needs: [ changes ]+ needs: [changes]if: needs.changes.outputs.js-sdk == 'true'uses: ./.github/workflows/js_sdk_tests.ymlsecrets: inheritcli-tests:name: CLI Tests- needs: [ changes ]+ needs: [changes]if: needs.changes.outputs.cli == 'true'uses: ./.github/workflows/cli_tests.ymlsecrets: inheritrelease:- needs: [ python-tests, js-tests, cli-tests ]+ needs: [python-tests, js-tests, cli-tests]if: always() && !contains(needs.*.result, 'failure') && needs.is_release.outputs.release == 'true'name: Releaseruns-on: ubuntu-latest@@ -180,7 +180,7 @@ jobs:GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}report-failure:- needs: [ python-tests, js-tests, cli-tests, release ]+ needs: [python-tests, js-tests, cli-tests, release]if: failure()name: Release Failed - Slack Notificationruns-on: ubuntu-latest@@ -188,7 +188,7 @@ jobs:- name: Release Failed - Slack Notificationuses: rtCamp/action-slack-notify@v2env:- SLACK_COLOR: '#ff0000'- SLACK_MESSAGE: ':here-we-go-again: :bob-the-destroyer: We need :fix-parrot: ASAP :pray:'+ SLACK_COLOR: "#ff0000"+ SLACK_MESSAGE: ":here-we-go-again: :bob-the-destroyer: We need :fix-parrot: ASAP :pray:"SLACK_TITLE: Release FailedSLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}