-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (37 loc) · 980 Bytes
/
pull-request.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
47
48
49
name: On Pull Request
on: pull_request
permissions:
pull-requests: write
contents: write
actions: read
security-events: write
jobs:
dependabot:
uses: ./.github/workflows/99-auto-merge.yml
codeql:
uses: ./.github/workflows/99-codeql-analysis.yml
dependency-review:
uses: ./.github/workflows/99-dependency-review.yml
labeler:
uses: ./.github/workflows/99-labeler.yml
scan-secrets:
uses: ./.github/workflows/00-scan-secrets.yml
init:
uses: ./.github/workflows/00-init.yml
build:
uses: ./.github/workflows/01-build.yml
needs: [init]
secrets: inherit
validate:
uses: ./.github/workflows/01-validate.yml
needs: [init]
secrets: inherit
test:
uses: ./.github/workflows/02-test.yml
needs: [build]
secrets: inherit
preview:
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
uses: ./.github/workflows/03-hosting.yml
needs: [test]
secrets: inherit