-
Notifications
You must be signed in to change notification settings - Fork 236
38 lines (35 loc) · 1.14 KB
/
deploy-go-pando-pr.yml
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
name: Deploy GO (Pando) PR
run-name: Deploy GO (Pando) for ${{ github.event.number }} - ${{ github.event.pull_request.title }}
permissions:
actions: read
contents: read
issues: write
pull-requests: write
on:
pull_request:
paths-ignore:
- 'apps/frontend/**'
- 'apps/frontend-e2e/**'
- 'apps/sr-frontend/**'
- 'apps/sr-frontend-e2e/**'
- 'libs/sr-assets/**'
- 'libs/sr-consts/**'
- 'libs/sr-db/**'
- 'libs/sr-dm/**'
- 'libs/sr-formula/**'
- 'libs/sr-srod/**'
- 'libs/sr-stats/**'
types: [opened, reopened, synchronize, labeled]
jobs:
call-deploy-frontend:
uses: ./.github/workflows/deploy-frontend.yml
# Forks don't have permission to deploy
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
with:
frontend_name: 'gi-frontend'
repo_full_name: ${{ github.event.pull_request.head.repo.full_name }}
ref: ''
deployment_name: ${{ github.event.number }}
pr_repo: ${{ vars.PR_REPO }}
show_dev_components: ${{ contains(github.event.pull_request.labels.*.name, 'showDevComponents') }}
secrets: inherit