Skip to content

Commit

Permalink
fix: only commit generated changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
vjousse committed Oct 8, 2024
1 parent a1949f1 commit a1df96f
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a1df96f

Please sign in to comment.