-
Notifications
You must be signed in to change notification settings - Fork 4
36 lines (31 loc) · 1.09 KB
/
pr-check.yaml
File metadata and controls
36 lines (31 loc) · 1.09 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
name: PR Check
run-name: ${{ github.event_name == 'merge_group' && github.event.merge_group.head_commit.message || ''}}
on:
pull_request_target:
types: [opened, edited, reopened, synchronize]
branches: [main]
merge_group:
types: [checks_requested]
# Disable permissions for all available scopes
permissions: {}
jobs:
validate-pr-title:
if: ${{ github.event_name == 'pull_request_target' }}
name: Validate PR title
permissions:
contents: read
pull-requests: write
uses: 3ware/workflows/.github/workflows/pr-title.yaml@3d024cbaf2eace91ae229d4cbba5cbd806fdeb91 # v4.21.4
dependency-review:
if: ${{ github.event_name == 'pull_request_target' }}
name: Dependency Review
permissions:
contents: read
pull-requests: write
uses: 3ware/workflows/.github/workflows/dependency-review.yaml@3d024cbaf2eace91ae229d4cbba5cbd806fdeb91 # v4.21.4
enforce-all-checks:
name: Checks
permissions:
checks: read
uses: 3ware/workflows/.github/workflows/wait-for-checks.yaml@3d024cbaf2eace91ae229d4cbba5cbd806fdeb91 # v4.21.4
secrets: inherit