From a1df96fed078a88890dfbffbcb90eb4251e0c969 Mon Sep 17 00:00:00 2001 From: Vincent Jousse Date: Mon, 7 Oct 2024 16:57:38 +0200 Subject: [PATCH] fix: only commit generated changelog --- .github/workflows/changelog.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index f3985ca3e..9e6403682 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -20,14 +20,15 @@ jobs: with: fetch-depth: 0 - # - name: Generate the full changelog - # uses: orhun/git-cliff-action@v4 - # id: git-cliff - # with: - # config: cliff.toml - # args: --verbose --exclude-path "data/" --bump - # env: - # OUTPUT: CHANGELOG-cliff.md + - name: Generate the full changelog + uses: orhun/git-cliff-action@v4 + id: git-cliff + with: + config: cliff.toml + args: --verbose --exclude-path "data/" --bump + env: + OUTPUT: CHANGELOG-cliff.md + GITHUB_REPO: ${{ github.repository }} - name: Generate latest changes uses: orhun/git-cliff-action@v4 @@ -47,6 +48,8 @@ jobs: id: cpr uses: peter-evans/create-pull-request@v7 with: + add-paths: | + CHANGELOG-cliff.md base: master commit-message: Update changelog signoff: false