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:
xrkffgg 2021-02-03 18:09:27 +08:00 committed by GitHub
parent a26e5036e6
commit c1f5f19001
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View 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