-
Notifications
You must be signed in to change notification settings - Fork 8
85 lines (76 loc) · 1.75 KB
/
Copy pathci.yml
File metadata and controls
85 lines (76 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
name: CI
on:
pull_request:
merge_group:
push:
branches:
- main
schedule:
- cron: "0 3 * * *"
workflow_dispatch:
concurrency:
group: ci-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
preflight:
name: Preflight
uses: ./.github/workflows/preflight.yml
permissions:
contents: read
dependency-review:
name: Dependency Review
needs: preflight
if: github.event_name == 'pull_request'
uses: ./.github/workflows/supply-chain.yml
permissions:
contents: read
pull-requests: read
secrets:
name: Secrets
needs: preflight
uses: ./.github/workflows/security.yml
permissions:
contents: read
security-events: write
build-quality:
name: Build Quality
needs: preflight
uses: ./.github/workflows/quality.yml
permissions:
contents: read
checks: write
pull-requests: write
security-events: write
codeql:
name: CodeQL
needs:
- preflight
- build-quality
- secrets
if: needs.preflight.outputs.run_codeql == 'true'
uses: ./.github/workflows/codeql.yml
permissions:
actions: read
contents: read
security-events: write
release:
name: Release
needs:
- preflight
- build-quality
if: needs.preflight.outputs.run_release == 'true'
uses: ./.github/workflows/release.yml
secrets: inherit
permissions:
contents: read
android-tests:
name: Android Tests
needs:
- preflight
- build-quality
if: needs.preflight.outputs.run_android_tests == 'true'
uses: ./.github/workflows/android-tests.yml
permissions:
contents: read
checks: write
pull-requests: write