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

use collapse-after for dependencies category #5157

Merged
merged 2 commits into from
Mar 17, 2022
Merged

use collapse-after for dependencies category #5157

merged 2 commits into from
Mar 17, 2022

Conversation

jetersen
Copy link
Contributor

@jetersen jetersen commented Mar 7, 2022

bump release-drafter.yml

You can see it in action here: https://github.com/release-drafter/release-drafter/releases/tag/v5.19.0

@rnorth
Copy link
Member

rnorth commented Mar 10, 2022

Aha, you beat me to it! Thanks so much @jetersen!

@jetersen
Copy link
Contributor Author

@rnorth your welcome

@kiview kiview added this to the next milestone Mar 17, 2022
@kiview kiview merged commit eea61bd into testcontainers:master Mar 17, 2022
@jetersen jetersen deleted the update/releasedrafter branch April 11, 2022 19:46
@jetersen
Copy link
Contributor Author

jetersen commented Apr 11, 2022

Checking the last release notes under dependencies https://github.com/testcontainers/testcontainers-java/releases/tag/1.17.0

Seems like someone manually removed the newline inside the details.

I know we tested this on release-drafter and made sure it produced the correct draft: https://github.com/release-drafter/release-drafter/blob/bb54ed7b74715dd4fe3d0a5c76fb1c570f6fc7b6/lib/releases.js#L264-L273

Example:

<details>
<summary>9 changes</summary>

* Bump minimist from 1.2.5 to 1.2.6 (#1116) @dependabot
* Bump lint-staged from 12.3.6 to 12.3.7 (#1104) @dependabot
* Bump eslint-plugin-unicorn from 41.0.0 to 41.0.1 (#1105) @dependabot
* Bump node from `8c62619` to `d1d5dc5` (#1106) @dependabot
* Bump probot from 12.2.1 to 12.2.2 (#1097) @dependabot
* Bump node from 17.6.0-alpine to 17.7.1-alpine (#1100) @dependabot
* Bump eslint from 8.10.0 to 8.11.0 (#1099) @dependabot
* Bump prettier from 2.5.1 to 2.6.0 (#1102) @dependabot
* Bump lint-staged from 12.3.5 to 12.3.6 (#1103) @dependabot
</details>

cc @rnorth

@kiview
Copy link
Member

kiview commented Apr 12, 2022

Hey @jetersen, we edit the release notes by hand, since we want to inline the dependabot changes (we merge them in combined PRs). So that's probably what happened there.

@jetersen
Copy link
Contributor Author

jetersen commented Apr 12, 2022

We have a feature request in release drafter that would group dependabot PRs in the draft.
release-drafter/release-drafter#706

@kiview
Copy link
Member

kiview commented Apr 12, 2022

We have a very specific process to merge dependabot PRs:
https://www.testcontainers.org/contributing/#combining-dependabot-prs

This means, we have to manually inline the actual dependabot PRs that were included in the combined PR. It's probably too specific to us for release-draft to take care of it 🙂

@jetersen
Copy link
Contributor Author

jetersen commented Jun 15, 2022

@kiview maybe an easy workaround we could add inside release drafter was a HTML comment to help you insert correctly into the details block? 😉

@kiview
Copy link
Member

kiview commented Jun 17, 2022

Oh yes, I would love this @jetersen 😍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants