-
Notifications
You must be signed in to change notification settings - Fork 0
67 lines (56 loc) · 1.2 KB
/
pr-review.yml
File metadata and controls
67 lines (56 loc) · 1.2 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
name: 🔍 PR Review
on:
pull_request:
paths:
- "**.*"
push:
branches:
- develop
permissions:
id-token: write
packages: write
contents: write
security-events: write
actions: read
jobs:
code-gen:
name: 🔄 Generate Fern Code
uses: ./.github/workflows/code-gen.yml
secrets: inherit
codeql:
name: 🚨 CodeQL Analysis
uses: ./.github/workflows/codeql.yml
secrets: inherit
test-build:
name: 🔨 Test Build
uses: ./.github/workflows/test-build.yml
needs: code-gen
secrets: inherit
test-docs:
name: 📙 Test docs
uses: ./.github/workflows/test-docs.yml
secrets: inherit
test-publish:
name: 🎉 Test Publish
uses: ./.github/workflows/test-publish.yml
secrets: inherit
verify:
name: 🙏🏻 Verify
uses: ./.github/workflows/verify.yml
needs: code-gen
secrets: inherit
check:
name: ✅ Check
if: always()
needs:
- codeql
- test-build
- test-docs
- test-publish
- verify
runs-on: ubuntu-latest
steps:
- name: Require all jobs to succeed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}