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

Automate draft release notes #730

Merged
merged 8 commits into from
May 5, 2023
Merged

Conversation

codemonkey800
Copy link
Collaborator

@codemonkey800 codemonkey800 commented Nov 3, 2022

Description

https://docs.google.com/document/d/1us9aCONYHUjZzK_Ssw6DKH9hfRHxmwSK48mQIZjSx_M/edit#

Sets up a workflow that allows us to create a release notes draft with all PRs since the last release. This workflow will automatically categorize PRs based on the labels it has associated with it. Right now it's set up with manual dispatch, but we can eventually configure this to create the release notes on a schedule once its tested more

Demo

https://github.com/chanzuckerberg/napari-hub/actions/runs/3380852454

image

image

@codemonkey800 codemonkey800 added the cicd Release Label: Used for categorizing CICD changes in automated CI release notes label Nov 3, 2022
@@ -0,0 +1,43 @@
module.exports = {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i originally wanted to make this yaml, but the script action had an issue with importing it for some reason 😢

.github/release-notes.js Outdated Show resolved Hide resolved
.github/release-notes.js Show resolved Hide resolved
@codemonkey800
Copy link
Collaborator Author

@codemonkey800 codemonkey800 force-pushed the jeremy/automated-release-notes branch 2 times, most recently from e4cdd8e to 87dca16 Compare March 10, 2023 20:28
Comment on lines +8 to +10
push:
branches:
- main
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

running this workflow on pushes to main will allow us to maintain a live draft release notes that gets updated with each merged PR

Copy link
Collaborator

@manasaV3 manasaV3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@codemonkey800 codemonkey800 merged commit 5d61451 into main May 5, 2023
@codemonkey800 codemonkey800 deleted the jeremy/automated-release-notes branch May 5, 2023 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cicd Release Label: Used for categorizing CICD changes in automated CI release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants