Skip to content

Commit c3bc975

Browse files
authored
Update PR template to include the "Fixes commit" message when reverting or fixing bad commits (envoyproxy#18298)
Signed-off-by: Yan Avlasov <[email protected]>
1 parent 1504c2c commit c3bc975

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

PULL_REQUESTS.md

+13
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,19 @@ you may instead just tag the PR with the issue:
102102

103103
\#Issue
104104

105+
### <a name="commit"></a>Commit
106+
107+
If this PR fixes or reverts a buggy commit, please add a line of the form:
108+
109+
Fixes commit #PR
110+
111+
or
112+
113+
Fixes commit SHA
114+
115+
This will allow automated tools to detect tainted commit ranges on the main branch when the PR is
116+
merged.
117+
105118
### <a name="deprecated"></a>Deprecated
106119

107120
If this PR deprecates existing Envoy APIs or code, it should include an update to the deprecated

PULL_REQUEST_TEMPLATE.md

+1
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@ Release Notes:
2121
Platform Specific Features:
2222
[Optional Runtime guard:]
2323
[Optional Fixes #Issue]
24+
[Optional Fixes commit #PR or SHA]
2425
[Optional Deprecated:]
2526
[Optional [API Considerations](https://github.com/envoyproxy/envoy/blob/main/api/review_checklist.md):]

0 commit comments

Comments
 (0)