Skip to content

Commit

Permalink
fix: don't run git-cliff twice
Browse files Browse the repository at this point in the history
  • Loading branch information
vjousse committed Oct 8, 2024
1 parent a1df96f commit f4668f8
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ jobs:
OUTPUT: CHANGELOG-cliff.md
GITHUB_REPO: ${{ github.repository }}

- name: Generate latest changes
uses: orhun/git-cliff-action@v4
id: git-cliff-latest
with:
config: cliff.toml
args: --verbose --exclude-path "data/" --bump --unreleased
env:
GITHUB_REPO: ${{ github.repository }}
# - name: Generate latest changes
# uses: orhun/git-cliff-action@v4
# id: git-cliff-latest
# with:
# config: cliff.toml
# args: --verbose --exclude-path "data/" --bump --unreleased
# env:
# GITHUB_REPO: ${{ github.repository }}

- name: Extract branch name
shell: bash
Expand All @@ -56,7 +56,7 @@ jobs:
branch: chore/update-changelog-${{ steps.git-cliff.outputs.version }}
delete-branch: true
title: 'chore(release): Release ${{ steps.git-cliff.outputs.version }}'
body: ${{ steps.git-cliff-latest.outputs.content }}
body: ${{ steps.git-cliff.outputs.content }}
labels: |
pending-release
automated pr
Expand Down

0 comments on commit f4668f8

Please sign in to comment.