mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
chore(CI): automatically generate changelog via GitHub (#12135)
This commit is contained in:
parent
b6d35cd268
commit
677185020e
8
.github/pr-labeler.yml
vendored
Normal file
8
.github/pr-labeler.yml
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
"change: feat":
|
||||||
|
- "/^(feat|perf|types|style)/"
|
||||||
|
"change: fix":
|
||||||
|
- "/^fix/"
|
||||||
|
"change: breaking":
|
||||||
|
- "/^breaking change/"
|
||||||
|
"change: docs":
|
||||||
|
- "/^docs/"
|
23
.github/release.yml
vendored
Normal file
23
.github/release.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
# .github/release.yml
|
||||||
|
|
||||||
|
changelog:
|
||||||
|
exclude:
|
||||||
|
authors:
|
||||||
|
# Ignore the release PR created by github-actions
|
||||||
|
- github-actions
|
||||||
|
categories:
|
||||||
|
- title: Breaking Changes 🍭
|
||||||
|
labels:
|
||||||
|
- "change: breaking"
|
||||||
|
- title: New Features 🎉
|
||||||
|
labels:
|
||||||
|
- "change: feat"
|
||||||
|
- title: Bug Fixes 🐞
|
||||||
|
labels:
|
||||||
|
- "change: fix"
|
||||||
|
- title: Document 📖
|
||||||
|
labels:
|
||||||
|
- "change: docs"
|
||||||
|
- title: Other Changes
|
||||||
|
labels:
|
||||||
|
- "*"
|
18
.github/workflows/release-tag.yml
vendored
18
.github/workflows/release-tag.yml
vendored
@ -11,15 +11,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@master
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Create Release for Tag
|
- name: Create Release for Tag
|
||||||
id: release_tag
|
id: release_tag
|
||||||
uses: yyx990803/release-tag@master
|
uses: ncipollo/release-action@v1
|
||||||
env:
|
with:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
generateReleaseNotes: true
|
||||||
with:
|
body: |
|
||||||
tag_name: ${{ github.ref }}
|
Please refer to [CHANGELOG](https://vant-ui.github.io/vant/#/en-US/changelog) for all changelogs.
|
||||||
body: |
|
请参阅 [CHANGELOG](https://vant-ui.github.io/vant/#/zh-CN/changelog) 了解所有更新日志。
|
||||||
更新内容参见 [CHANGELOG](https://vant-ui.github.io/vant/#/zh-CN/changelog)。
|
|
||||||
|
|
||||||
Please refer to [CHANGELOG](https://vant-ui.github.io/vant/#/en-US/changelog) for details.
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user