Skip to content

Commit 2801079

Browse files
committed
fix: changelog commits
1 parent cd5cbf1 commit 2801079

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/changelog.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,17 @@ jobs:
88
generate:
99
runs-on: "ubuntu-latest"
1010
steps:
11+
- name: Install gitchglog
12+
run: |
13+
wget https://github.com/git-chglog/git-chglog/releases/download/v0.15.4/git-chglog_0.15.4_linux_amd64.tar.gz
14+
tar -xvzf git-chglog_0.15.4_linux_amd64.tar.gz
1115
- name: Check out repo
1216
uses: actions/checkout@v4
1317
with:
1418
fetch-tags: true
1519
fetch-depth: 0
1620
repository: "Govcraft/rust-docs-mcp-server"
1721
ref: ${{ github.head_ref }}
18-
19-
- name: Install gitchglog
20-
run: |
21-
wget https://github.com/git-chglog/git-chglog/releases/download/v0.15.4/git-chglog_0.15.4_linux_amd64.tar.gz
22-
tar -xvzf git-chglog_0.15.4_linux_amd64.tar.gz
23-
2422
- name: Generate changelog
2523
run: ./git-chglog -o CHANGELOG.md
2624

@@ -30,4 +28,4 @@ jobs:
3028
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
3129
git add './CHANGELOG.md'
3230
git commit -m "chore(docs): update CHANGELOG for latest tag"
33-
git push origin HEAD:main
31+
git push

0 commit comments

Comments
 (0)