-
Notifications
You must be signed in to change notification settings - Fork 236
46 lines (43 loc) · 1.37 KB
/
deploy-sro-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
39
40
41
42
43
44
45
46
name: Deploy SRO PR
run-name: Deploy SRO 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/gi-frontend/**'
- 'apps/gi-frontend-e2e/**'
- 'apps/frontend/**'
- 'apps/frontend-e2e/**'
- 'libs/consts/**'
- 'libs/dm/**'
- 'libs/gi-art-scanner/**'
- 'libs/gi-assets/**'
- 'libs/gi-dm-localization/**'
- 'libs/gi-formula/**'
- 'libs/gi-formula-ui/**'
- 'libs/gi-good/**'
- 'libs/gi-localization/**'
- 'libs/gi-stats/**'
- 'libs/gi-svgicons/**'
- 'libs/gi-ui/**'
- 'libs/gi-util/**'
- 'libs/silly-wisher/**'
- 'libs/silly-wisher-names/**'
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: 'sr-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