Following the lerna-changelog configuration steps, you'll either need to create a file called lerna.json
or include in your package.json
the following:
{
"changelog": {
"labels": {
"feature": "New Feature",
"bug": "Bug Fix"
},
"repo": "username/repo"
}
}
Inside your .github/workflows/workflow.yml
file:
steps:
- uses: actions/checkout@v1
- uses: RiskLedger/generate-changelog@v2
env:
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
The code in this project is released under the MIT.
- Inspired by Babel's changelog Github Action