Skip to content

Commit 0d23dcd

Browse files
committed
fix: merge changelog steps
1 parent e230636 commit 0d23dcd

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/changelog.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,18 @@ 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
1511
- name: Check out repo
1612
uses: actions/checkout@v4
1713
with:
1814
fetch-tags: true
1915
fetch-depth: 0
2016
repository: "Govcraft/rust-docs-mcp-server"
2117
ref: ${{ github.head_ref }}
22-
- name: Generate changelog
23-
run: |
24-
git switch -c changelog-update
25-
./git-chglog -o CHANGELOG.md
26-
27-
- name: Check in CHANGELOG
28-
run: |
18+
- run: |
19+
wget https://github.com/git-chglog/git-chglog/releases/download/v0.15.4/git-chglog_0.15.4_linux_amd64.tar.gz
20+
tar -xvzf git-chglog_0.15.4_linux_amd64.tar.gz
21+
git switch -c changelog-update
22+
./git-chglog -o CHANGELOG.md
2923
# merge the changelog-update branch into the main branch
3024
git config user.name "github-actions[bot]"
3125
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"

0 commit comments

Comments
 (0)