From a556839f24e89a6b1721beb905239e6248ecb274 Mon Sep 17 00:00:00 2001 From: ivan katliarchuk Date: Sat, 3 Apr 2021 17:59:35 +0100 Subject: [PATCH] fix: create changelog on new tag creation --- .github/workflows/changelog.yml | 36 +++++---------------------------- 1 file changed, 5 insertions(+), 31 deletions(-) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 494f1e7..f2fe701 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -2,29 +2,16 @@ name: changelog on: push: - branches: - - main - paths-ignore: - - "README.md" - - "CHANGELOG.md" - - "renovate.json" - pull_request: - types: [opened, reopened] - paths-ignore: - - "README.md" - - "CHANGELOG.md" - - "renovate.json" + tags: + - '*' workflow_dispatch: inputs: tags: description: 'manual trigger' - release: - types: # This configuration does not affect the page_build event above - - created + # release: + # types: # This configuration does not affect the page_build event above + # - created - # push: - # tags: - # - '*' env: isForkedRepository: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name != github.repository }} BRANCH: main @@ -69,16 +56,3 @@ jobs: add: CHANGELOG.md message: "chore: Update CHANGELOG.md [skip ci]" branch: main - - # - name: push - # uses: github-actions-x/commit@v2.8 - # with: - # github-token: ${{ secrets.GITHUB_TOKEN }} - # name: ${{ secrets.GITHUB_USER }} - # email: ${{ secrets.GITHUB_EMAIL }} - # push-branch: ${{ env.BRANCH }} - # commit-message: 'chore: Updated CHANGELOG.md [skip ci]' - # force-add: 'true' - # files: CHANGELOG.md - # rebase: 'true' -