diff --git a/.github/workflows/cleanup_build_template.yml b/.github/workflows/cleanup_build_template.yml index 9878474c..329a1eda 100644 --- a/.github/workflows/cleanup_build_template.yml +++ b/.github/workflows/cleanup_build_template.yml @@ -3,7 +3,7 @@ name: Cleanup Build Template on: workflow_call: secrets: - E2B_TESTS_ACCESS_TOKEN: + E2B_API_KEY: required: true inputs: E2B_DOMAIN: @@ -29,5 +29,5 @@ jobs: run: | e2b template delete -y "${{ inputs.E2B_TESTS_TEMPLATE }}" env: - E2B_ACCESS_TOKEN: ${{ secrets.E2B_TESTS_ACCESS_TOKEN }} + E2B_API_KEY: ${{ secrets.E2B_API_KEY }} E2B_DOMAIN: ${{ inputs.E2B_DOMAIN }} diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 7ed194c9..13d1234a 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -49,7 +49,7 @@ jobs: needs: [build-template, js-sdk, python-sdk, performance-tests] if: always() && !contains(needs.build-template.result, 'failure') && !contains(needs.build-template.result, 'cancelled') secrets: - E2B_TESTS_ACCESS_TOKEN: ${{ secrets.E2B_TESTS_ACCESS_TOKEN }} + E2B_API_KEY: ${{ secrets.E2B_API_KEY }} with: E2B_DOMAIN: ${{ vars.E2B_DOMAIN }} E2B_TESTS_TEMPLATE: ${{ needs.build-template.outputs.template_id }}