mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-11 13:59:11 +08:00
cd402dfe41
* ci: add Verify Package Version action * Update .github/workflows/verify-package-version.yml
19 lines
534 B
YAML
19 lines
534 B
YAML
name: Verify Package Version
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, edited, reopened, synchronize, ready_for_review]
|
|
|
|
jobs:
|
|
verify:
|
|
runs-on: ubuntu-latest
|
|
if: contains(github.event.pull_request.title, 'changelog') || contains(github.event.pull_request.title, 'release')
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: verify-version
|
|
uses: actions-cool/verify-package-version@v1.1.1
|
|
with:
|
|
title-include-content: 'docs'
|
|
title-include-version: true
|
|
open-comment: true
|