mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-02 12:09:14 +08:00
ci: add verify-package-version (#29205)
* ci: add verify-package-version * Update verify-package-version.yml * Update verify-package-version.yml * Update package.json * Update package.json
This commit is contained in:
parent
a26e5036e6
commit
c1f5f19001
19
.github/workflows/verify-package-version.yml
vendored
Normal file
19
.github/workflows/verify-package-version.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
name: Verify Package Version
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, edited, reopened, synchronize, ready_for_review, review_requested]
|
||||
|
||||
jobs:
|
||||
verify:
|
||||
runs-on: ubuntu-latest
|
||||
if: contains(github.event.pull_request.title, 'changelog')
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: verify-version
|
||||
uses: actions-cool/verify-package-version@v1.1.0
|
||||
with:
|
||||
token: ${{ secrets.ANT_BOT_TOKEN }}
|
||||
title-include-content: 'docs'
|
||||
title-include-version: true
|
||||
open-comment: true
|
Loading…
Reference in New Issue
Block a user