Skip to content

Commit f80a183

Browse files
authored
Merge pull request #20 from cslant/feat/workflow-update-changelog
feat/workflow-update-changelog
2 parents a7f10af + 69d5fbc commit f80a183

File tree

2 files changed

+51
-0
lines changed

2 files changed

+51
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Update Changelog
2+
3+
on:
4+
release:
5+
types: [released]
6+
7+
permissions:
8+
contents: write
9+
10+
jobs:
11+
update:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
with:
18+
ref: main
19+
20+
- name: Update Changelog
21+
uses: stefanzweifel/changelog-updater-action@v1
22+
with:
23+
latest-version: ${{ github.event.release.name }}
24+
release-notes: ${{ github.event.release.body }}
25+
26+
- name: Commit updated CHANGELOG
27+
uses: stefanzweifel/git-auto-commit-action@v5
28+
with:
29+
branch: main
30+
commit_message: Update CHANGELOG
31+
file_pattern: CHANGELOG.md

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Changelog
2+
3+
Here is the complete list of changes for each Blog API package release.
4+
5+
## v0.1.0 - 2024-07-12
6+
7+
### What's Changed
8+
9+
* feat/add-commit-rule by @hokhacminhtri in https://github.com/cslant/blog-api-package/pull/6
10+
* feat/add-pull-request-rule by @hokhacminhtri in https://github.com/cslant/blog-api-package/pull/7
11+
* Feature/first generate api package #1 by @tanhongit in https://github.com/cslant/blog-api-package/pull/8
12+
* feat/setup-workflow-to-test-code-style by @hokhacminhtri in https://github.com/cslant/blog-api-package/pull/11
13+
* fix: setup workflow to test code style by @hokhacminhtri in https://github.com/cslant/blog-api-package/pull/12
14+
15+
### New Contributors
16+
17+
* @hokhacminhtri made their first contribution in https://github.com/cslant/blog-api-package/pull/6
18+
* @tanhongit made their first contribution in https://github.com/cslant/blog-api-package/pull/8
19+
20+
**Full Changelog**: https://github.com/cslant/blog-api-package/commits/v0.1.0

0 commit comments

Comments
 (0)