-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgit-pr.yaml
More file actions
106 lines (97 loc) · 2.87 KB
/
git-pr.yaml
File metadata and controls
106 lines (97 loc) · 2.87 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# git-pr Configuration File
# =========================
# Place this file at ~/.config/git-pr/config.yaml
# or specify a custom config directory with --config or GIT_PR_CONFIG env var
# Jira Integration Settings
jira:
# Base URL for Jira ticket links
# Example: "https://company.atlassian.net/browse/"
# Can also be set via JIRA_URL environment variable
# When set and a Jira-style tag is found in commits, a tracking link
# will be automatically prepended to the PR body
url: null
# GitHub Settings
github:
# Your GitHub username (used for fetching your related PRs)
# Can also be set via GITHUB_USER environment variable
user: null
# Default reviewers to suggest when creating PRs
default_reviewers: []
# Example:
# default_reviewers:
# - teammate1
# - teammate2
# PR Template Settings
template:
# The PR body template
#
# Form field placeholders use {{field_name}} syntax and will be replaced
# with user input. Empty optional fields will have their line removed.
#
# Special markers for related PRs section (HTML comments so they're
# invisible in rendered markdown but still findable for updates):
# - <!-- RELATED_PR --> : Start of related PRs section
# - <!-- /RELATED_PR --> : End of related PRs section
body: |
Related PRs:
<!-- RELATED_PR -->
<!-- /RELATED_PR -->
## This PR...
{{description}}
## Considerations and implementation
{{implementation}}
# Markers for special sections (related PRs)
# Only change these if you need custom markers
markers:
related_pr_start: "<!-- RELATED_PR -->"
related_pr_end: "<!-- /RELATED_PR -->"
# Form fields to prompt the user for
# Each field creates a {{field_name}} placeholder in the template
#
# Field options:
# - name: Field identifier, used as placeholder {{name}}
# - prompt: Text shown to the user when prompting
# - type: Input type - "editor" (multi-line) or "text" (single-line)
# - required: If true, field cannot be left empty
# - default: Optional default value
fields:
- name: description
prompt: "What is this PR doing:"
type: editor
required: true
- name: implementation
prompt: "Considerations and implementation:"
type: editor
required: false
# Example: Custom template with different fields
# template:
# body: |
# Related PRs:
# <!-- RELATED_PR -->
# <!-- /RELATED_PR -->
#
# ## Summary
# {{summary}}
#
# ## Changes
# {{changes}}
#
# ## Testing
# {{testing}}
#
# fields:
# - name: summary
# prompt: "Brief summary of changes:"
# type: text
# required: true
#
# - name: changes
# prompt: "Detailed list of changes:"
# type: editor
# required: true
#
# - name: testing
# prompt: "How was this tested:"
# type: text
# required: false
# default: "Manual testing"