opencommit icon indicating copy to clipboard operation
opencommit copied to clipboard

[Feature]:

Open masterkain opened this issue 2 years ago • 3 comments
trafficstars

Description

I'm using release please which has its way to parse commits for changelog: https://github.com/googleapis/release-please/tree/main#what-if-my-pr-contains-multiple-fixes-or-features

do you think we can modify the prompt to emit this kind of structured output?

Suggested Solution

modify the prompt to emit this kind of structured output

Alternatives

No response

Additional Context

No response

masterkain avatar May 22 '23 02:05 masterkain

i dont undertand you bro :)

di-sukharev avatar May 26 '23 06:05 di-sukharev

I'll try to explain myself better

https://github.com/icoretech/airbroke/commits/main

as you can see I'm using opencommit for the vast majority of the commits.

there are github actions, such as this one (https://github.com/icoretech/airbroke/blob/main/.github/workflows/generate-release.yml#L16) that can generate a changelog (and even determine version bumps) by looking at the opencommits done between tags.

however as you can also see it's kinda hit and miss: https://github.com/icoretech/airbroke/compare/v1.1.12...v1.1.13

expand the first commit and you'll see that the description is gigantic, but it's not making its way into the changelog.

so I found the page I linked in the original ticket https://github.com/googleapis/release-please/tree/main#what-if-my-pr-contains-multiple-fixes-or-features that explains the kind of format that this github action wants in order for the commit to be parsed correctly and make it into the changelog.

masterkain avatar May 26 '23 07:05 masterkain

Stale issue message

github-actions[bot] avatar Jul 05 '23 21:07 github-actions[bot]