[github]: Add backport test evidence sections - #385
Merged
yijingyan2 merged 1 commit intoJul 17, 2026
Merged
Conversation
Add backport/cherry-pick validation to the PR template, consistent with sonic-net/sonic-buildimage#28464 and sonic-net/sonic-mgmt#26279: - Which release branch to backport checklist (202305, 202311, 202405, 202411, 202505, 202511, 202605) with tracking issue/work item and failure type fields. - Tested branch checklist (master, the seven release branches, N/A). - Test result section requesting image/build version and evidence per selected branch. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Storm Liang <stormliang@microsoft.com>
Collaborator
|
/azp run |
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
|
Azure Pipelines: Successfully started running 1 pipeline(s). |
yijingyan2
approved these changes
Jul 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
- What I did
Template-only change: updated
.github/PULL_REQUEST_TEMPLATE.mdto add thesame backport/cherry-pick validation structure introduced in
sonic-net/sonic-buildimage#28464 and sonic-net/sonic-mgmt#26279, adapted to
this repo's existing minimal legacy template (bold-label style).
- How I did it
Inserted, between the existing
**- How to verify it**and**- Description for the changelog**sections, three new visible sectionswhile preserving all existing labels and the compact style:
**- Which release branch to backport (provide reason below if selected)**with unchecked checkboxes for the seven currently active release branches
(202305, 202311, 202405, 202411, 202505, 202511, 202605), hidden
instructions stating that a backport/cherry-pick request requires a
GitHub issue or Microsoft ADO work item describing the failure plus
target-branch test evidence, and visible tracking issue/work item and
failure type fields.
**- Tested branch**with hidden instructions and checkboxes for master,the same seven release branches, and N/A.
**- Test result**asking for the tested image/build version and testevidence for every selected branch, with examples for master and 202605.
No automation code, labels, or unrelated changes were added.
- How to verify it
**- What I did**,**- How I did it**,**- How to verify it**, and**- Description for the changelog**are unchanged and preserved.git diff --checkon the change (clean, no whitespace errors).template preview and that checkbox syntax (
- [ ]) is valid.itself is requested.
- Which release branch to backport (provide reason below if selected)
Not requesting a backport — this is a template/documentation-only change
that only needs to land on
master.Tracking issue/work item for backport/cherry-pick request (GitHub issue or Microsoft ADO): N/A
Failure type: N/A (template/documentation change, not a bug fix)
- Tested branch
- Test result
N/A — this PR only changes
.github/PULL_REQUEST_TEMPLATE.md(a GitHubMarkdown template file), it contains no executable code, so there is no
image/build to test. Validation performed was
git diff --checkplus amanual Markdown/rendering review as described above.
- Description for the changelog
Add backport/cherry-pick test-evidence sections (release checklist,
tracking issue/work item, tested branch, and test result) to the PR
template, matching sonic-net/sonic-buildimage#28464 and
sonic-net/sonic-mgmt#26279.
Related: sonic-net/sonic-buildimage#28464, sonic-net/sonic-mgmt#26279