-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
66 lines (59 loc) · 1.75 KB
/
pull_request.yml
File metadata and controls
66 lines (59 loc) · 1.75 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: Pull Request 📥
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
cancel-in-progress: true
on:
pull_request_target:
branches:
- master
- release*
paths-ignore:
- '**/*.md'
merge_group:
jobs:
automation:
name: Automation 🎛️
if: ${{ github.event_name == 'pull_request_target' && github.repository == 'jellyfin/jellyfin-web' }}
uses: ./.github/workflows/__automation.yml
secrets:
JF_BOT_TOKEN: ${{ secrets.JF_BOT_TOKEN }}
merge-queue-build:
name: Build 🏗️
if: ${{ github.event_name == 'merge_group' }}
uses: ./.github/workflows/__package.yml
with:
commit: ${{ github.sha }}
merge-queue-quality:
name: Quality checks 👌🧪
if: ${{ github.event_name == 'merge_group' }}
uses: ./.github/workflows/__quality_checks.yml
permissions: {}
with:
commit: ${{ github.sha }}
merge-queue-codeql:
name: GitHub CodeQL 🔬
if: ${{ github.event_name == 'merge_group' }}
uses: ./.github/workflows/__codeql.yml
permissions:
actions: read
contents: read
security-events: write
with:
commit: ${{ github.sha }}
merge-queue-deploy:
name: Deploy 🚀
if: ${{ github.event_name == 'merge_group' && github.repository == 'jellyfin/jellyfin-web' }}
uses: ./.github/workflows/__deploy.yml
needs:
- merge-queue-build
permissions:
contents: read
deployments: write
secrets:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
JF_BOT_TOKEN: ${{ secrets.JF_BOT_TOKEN }}
with:
branch: ${{ github.head_ref }}
commit: ${{ github.sha }}
comment: false