From a697869e2a4328569a9fa43de020d31708d59f5e Mon Sep 17 00:00:00 2001 From: Stephan Michard Date: Tue, 16 Jan 2024 14:43:16 +0100 Subject: [PATCH] fix: :construction: testing workflow --- .github/workflows/trigger_changelog.yml | 34 ++++++++++++++----------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/.github/workflows/trigger_changelog.yml b/.github/workflows/trigger_changelog.yml index fe2612d..d609401 100644 --- a/.github/workflows/trigger_changelog.yml +++ b/.github/workflows/trigger_changelog.yml @@ -1,21 +1,25 @@ name: Generate changelog + on: - create: - tags: - - '*' + push: + branches: [ main, master] jobs: - generate-changelog: + changelog: + name: Update Changelog runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - uses: BobAnkh/auto-generate-changelog@v1.2.5 - with: - REPO_NAME: '' - ACCESS_TOKEN: ${{secrets.GITHUB_TOKEN}} - PATH: 'CHANGELOG.md' - BRANCH: '' - 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 + - name: Checkout code + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Update Changelog + uses: AlexxNB/chalogen@master + with: + title: Changelog + list: feat,fix,gitops,perf,docs,other + - name: Commit Changelog to repository + uses: stefanzweifel/git-auto-commit-action@v4.13.0 + with: + commit_message: 'docs(Changelog): Update Changelog' + file_pattern: CHANGELOG.md \ No newline at end of file