-
Notifications
You must be signed in to change notification settings - Fork 502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[notes] Rework getting the number of the origin PR for cherry-picks #3468
base: master
Are you sure you want to change the base?
Conversation
a2f8603
to
f8f4f46
Compare
f8f4f46
to
e39476e
Compare
/assign cici37 |
Can it be both? |
If the merge method is "Merge" and found in the commit message the it will be found in the pr's Head.Label. |
e39476e
to
473b9e6
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: trasc The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
473b9e6
to
7e22c05
Compare
@puerco WDYT of this proposal? |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
/remove-lifecycle rotten |
Note that not all cherry picks are created with the script and don't have the generated branch names, so we should only do this if the branch fits the pattern. |
bd78a01
to
caa1527
Compare
We can fully preserve the old behavior and just add extracting the original pr number from the branch name. |
caa1527
to
9c1515a
Compare
Get the number of the origin PR for cherry-picks from the PR's branch name instead of the commit message. This way we get the same behavior, using the origin release note if the current one is empty, for the cherry-picks created by the `hack/..` script and those created by prow, regardless of the merge strategy used in the project.
9c1515a
to
36b6ca5
Compare
36b6ca5
to
35981e7
Compare
What type of PR is this?
/kind feature
What this PR does / why we need it:
Also attempt to get the number of the origin PR for cherry-picks from the PR's branch name besides the commit message.
This way we get the same behavior, using the origin release note if the current one is empty, for the cherry-picks created by the
hack/..
script and those created by prow, regardless of the merge strategy used in the project.Which issue(s) this PR fixes:
None
Special notes for your reviewer:
Does this PR introduce a user-facing change?