Skip to content

Commit ec99548

Browse files
committed
update generate-changelog to commit the generated changelog using git-auto-commit-action
1 parent 9e01751 commit ec99548

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/generate-changelog.yml

+8
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v4
11+
with:
12+
ref: ${{ github.head_ref }}
1113
- name: Generate Changelog
1214
run: |
1315
export PATH="$PATH:/home/runner/.local/share/gem/ruby/3.0.0/bin"
@@ -16,3 +18,9 @@ jobs:
1618
-u ${{ github.repository_owner }} \
1719
-p ${{ github.event.repository.name }} \
1820
--token ${{ secrets.CHANGELOG_GITHUB_TOKEN }}
21+
- uses: stefanzweifel/git-auto-commit-action@v5
22+
with:
23+
commit_message: "chore: update changelog"
24+
branch: ${{ github.head_ref }}
25+
file_pattern: "CHANGELOG.md"
26+
add_author: true

0 commit comments

Comments
 (0)