Skip to content

[script] Retrieve proper author and PR type when generating release notes #3746

Open
@mimowo

Description

@mimowo

What would you like to be added:

The release-notes script would retrieve the author of the fix from the parent PR.
Currently, the script retrieves the https://github.com/k8s-infra-cherrypick-robot as the author.

Similarly (less important, because it does not need to be repeated when re-generating notes) it would be great to retrieve the PR type (like kind or feature).

Why is this needed:

It takes time to manually adjust the release notes. Sometimes the notes are regenerated, and in total it can take something like 30min of manual chore. Similarly, we need to manually annotate type for the cherry-picks (/kind bug).

Example release in Kueue: kubernetes-sigs/kueue#2985
For this we have to manually adjust the notes. Example cherry-pick PR: kubernetes-sigs/kueue#2879.

Metadata

Metadata

Assignees

Labels

area/release-engIssues or PRs related to the Release Engineering subprojectkind/featureCategorizes issue or PR as related to a new feature.needs-prioritysig/releaseCategorizes an issue or PR as relevant to SIG Release.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions