git-backporting/.github/workflows/changelog.yml
Andrea Lamparelli 854f116a74
style(issue-15): setup convetional commits standards (#20)
* style(issue-15): setup convetional commits standards

* ci(changelog): automated changelog generation

* docs: remove changelog checkbox in pr template
2023-01-04 16:14:57 +01:00

27 lines
No EOL
735 B
YAML

name: Generate changelog
on:
release:
types: [created, edited]
push:
branches: [$default-branch]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
generate-changelog:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: BobAnkh/auto-generate-changelog@master
with:
ACCESS_TOKEN: ${{secrets.GITHUB_TOKEN}}
PATH: 'CHANGELOG.md'
COMMIT_MESSAGE: 'docs(changelog): update release notes'
TYPE: 'feat:Feature,fix:Bug Fixes,docs:Documentation,refactor:Refactor,perf:Performance Improvements'