From d6765d07811ec1d2eede33690dd4f5293505311b Mon Sep 17 00:00:00 2001 From: Andrea Lamparelli Date: Wed, 4 Jan 2023 16:11:24 +0100 Subject: [PATCH] ci(changelog): automated changelog generation --- .github/workflows/changelog.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/changelog.yml diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml new file mode 100644 index 0000000..34765a6 --- /dev/null +++ b/.github/workflows/changelog.yml @@ -0,0 +1,27 @@ +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' \ No newline at end of file