-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpatchgate.example.yml
More file actions
41 lines (35 loc) · 971 Bytes
/
Copy pathpatchgate.example.yml
File metadata and controls
41 lines (35 loc) · 971 Bytes
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
version: 1
# This file is illustrative. In a real PR, PatchGate must read the file from
# the trusted base revision, not from the proposed head.
issue_linkage:
required: true
required_checks:
- id: unit
name: unit
target: head
acceptable_conclusions: [success]
# This is GitHub Actions workflow evidence, not a distinct PatchGate App.
expected_source:
kind: github_actions_workflow
app_slug: github-actions
app_id: 15368
workflow_path: .github/workflows/ci.yml
event: pull_request
ownership:
require_code_owner_approval: true
sensitive_paths:
- id: auth-owner
patterns: ["src/auth/**", ".github/workflows/**"]
required_reviewers: ["@example/security"]
required_count: 1
human_gate: true
policy_changes:
mode: human_review
paths: ["patchgate.yml"]
reviewability:
mode: advisory
budgets:
max_files: 50
max_ownership_domains: 3
max_generated_files: 10
max_boundaries: 2