heinrichreimer / action-github-changelog-generator

✏️ Automatically generate change log from your tags, issues, labels and pull requests on GitHub.
MIT License
127 stars 34 forks source link

No CHANGELOG.md in repo #22

Closed steffengrahl closed 2 years ago

steffengrahl commented 3 years ago

Action ends with

Done!
Generated log placed in /github/workspace/CHANGELOG.md

But no CHANGELOG.md is generated

GeorgianStan commented 3 years ago

Same behavior for me

nrdxp commented 3 years ago

Anyone know where the changelog is?

GeorgianStan commented 3 years ago

@nrdxp I guess here...

alt text

nrdxp commented 3 years ago

It looks like the action doesn't commit the log, only generates it. So you'll need to combine it with a commit action at the bare minimum. Here is a nice blog post that should help anyone else confused on this.

https://renehernandez.io/essays/2020/09/23/automate-changelog-and-releases-creation-in-github

zillionare commented 3 years ago

can't we just use /github/workspace/CHANGELOG.md directly without commit?

zillionare commented 3 years ago

the output says the CHANGELOG.md is under /github/workspace/, however it's actually under current src dir (with other files that checked out, built), so we can use it directly with './CHANGELOG.md'

just my 2 cents

heinrichreimer commented 2 years ago

As @nrdxp says, the action only creates the file. You can do whatever you want with that file in your workflows, e.g., commit it back to the original repo.