name: Generate CHANGELOG on: release: types: [created, edited] jobs: generate-changelog: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 with: fetch-depth: 0 - uses: BobAnkh/auto-generate-changelog@master with: ACCESS_TOKEN: ${{secrets.CHANGELOG}} PATH: 'CHANGELOG.md' COMMIT_MESSAGE: 'docs(CHANGELOG): Update release notes' TYPE: 'feat:Feature,fix:Bug Fixes,docs:Documentation,refactor:Refactor,perf:Performance Improvements,tests:Tests'