Skip to content
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

Release process - Generate release notes from PRs #1898

Conversation

araratthehero
Copy link
Contributor

@araratthehero araratthehero commented Nov 21, 2024

Description

Added a workflow to generate release notes

  • Fetches all commits between the latest tag and the HEAD.
  • PR numbers are extracted from commit messages
  • Using Github API PR bodies are fetched
  • Generates release notes based on allowed labels
  • Groups all release notes by their labels
  • Creates a release notes files and uploads it as an artifact to Github

Example run of the work can be found here.

Also:

  • Updated the PR template to match the new Release notes structure

In the next step

  • A workflow will read the release notes file from the artifact and open a PR

Checklist

  • PR is labelled
  • Changes are tested manually

COAND-1016

@araratthehero araratthehero added the Chore [PRs only] Indicates any task that does not need to be mentioned in the public release notes label Nov 21, 2024
@araratthehero araratthehero force-pushed the chore/release_process_changes_generate_release_notes branch from 01072ae to 17b1005 Compare November 21, 2024 12:56
@araratthehero araratthehero marked this pull request as ready for review November 21, 2024 12:59
@araratthehero araratthehero requested a review from a team as a code owner November 21, 2024 12:59
@araratthehero araratthehero force-pushed the chore/release_process_changes_generate_release_notes branch from 17b1005 to a3dda1e Compare November 21, 2024 13:00
Copy link

✅ No public API changes

Copy link

sonarcloud bot commented Nov 21, 2024

@araratthehero araratthehero merged commit fd27c24 into chore/release_process_changes Nov 22, 2024
9 checks passed
@araratthehero araratthehero deleted the chore/release_process_changes_generate_release_notes branch November 22, 2024 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Chore [PRs only] Indicates any task that does not need to be mentioned in the public release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants