diff --git a/.github/workflows/pr-label.yaml b/.github/workflows/pr-label.yaml new file mode 100644 index 000000000..fb3701452 --- /dev/null +++ b/.github/workflows/pr-label.yaml @@ -0,0 +1,20 @@ +name: PR Labeler + +on: + pull_request_target: + types: + - opened + - edited + +jobs: + change-labeling: + name: Labeling for changes + runs-on: ubuntu-latest + steps: + - uses: github/issue-labeler@v3.1 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + configuration-path: .github/pr-labeler.yml + enable-versioned-regex: 0 + include-title: 1 + sync-labels: 1 diff --git a/.github/workflows/release-tag.yml b/.github/workflows/release-tag.yml index 50b6e3d0a..0ec718067 100644 --- a/.github/workflows/release-tag.yml +++ b/.github/workflows/release-tag.yml @@ -19,5 +19,4 @@ jobs: with: generateReleaseNotes: "true" body: | - Please refer to [CHANGELOG](https://vant-ui.github.io/vant/#/en-US/changelog) for all changelogs. - 请参阅 [CHANGELOG](https://vant-ui.github.io/vant/#/zh-CN/changelog) 了解所有更新日志。 + > Please refer to [Changelog](https://vant-ui.github.io/vant/#/en-US/changelog) for all changes. | 请访问 [更新日志](https://vant-ui.github.io/vant/#/zh-CN/changelog) 了解所有更新。