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

Update change log from Github Action list of closed issues since last action run? #75

Open
JohnGalt1717 opened this issue Apr 13, 2024 · 1 comment

Comments

@JohnGalt1717
Copy link

Is it possible to somehow get the last closed issues since last action run and then use cider to update the change log with version information and every issue that is closed in it?

This action looks promising, but I'm at a loss as how this would be used to put the items in the change log.

https://github.com/marketplace/actions/recently-closed-issues

@f3ath
Copy link
Owner

f3ath commented Apr 13, 2024

If I get the question right, there seem to be 3 main challenges:

  • mapping the GH issue to a specific change type (added, changed, fixed, etc)
  • determining whether the change requires bumping the patch, the minor, or the major section of the version
  • how to generate the text for the changelog entry

The first two depend on your commit log and/or issue formatting conventions. The last could be as simple as a link to the GH issue. Once you have the version bump requirements for each change in the set, produce the cider log command for each of the changes, then use the highest version bump value (major > minor > patch) in cider version bump.

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

No branches or pull requests

2 participants