-
Notifications
You must be signed in to change notification settings - Fork 206
45 lines (41 loc) · 1.32 KB
/
pull_request.yml
File metadata and controls
45 lines (41 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Pull Request
permissions:
contents: read
id-token: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
branches:
- main
jobs:
build-template:
uses: ./.github/workflows/build_template.yml
secrets:
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
E2B_ACCESS_TOKEN: ${{ secrets.E2B_ACCESS_TOKEN }}
with:
E2B_DOMAIN: ${{ vars.E2B_DOMAIN }}
E2B_TEMPLATE_CONFIG: ${{ vars.E2B_TEMPLATE_CONFIG }}
js-sdk:
uses: ./.github/workflows/js_tests.yml
needs: build-template
if: always() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled')
secrets:
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
with:
E2B_DOMAIN: ${{ vars.E2B_DOMAIN }}
E2B_CI_TEMPLATE: ${{ needs.build-template.outputs.template_id }}
python-sdk:
uses: ./.github/workflows/python_tests.yml
needs: build-template
if: always() && !contains(needs.*.result, 'failure') && !contains(needs.*.result, 'cancelled')
secrets:
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
with:
E2B_DOMAIN: ${{ vars.E2B_DOMAIN }}
E2B_CI_TEMPLATE: ${{ needs.build-template.outputs.template_id }}
charts-tests:
uses: ./.github/workflows/charts_tests.yml