mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-24 15:46:10 +08:00
863f61d908
Co-authored-by: afc163 <afc163@gmail.com>
25 lines
722 B
YAML
25 lines
722 B
YAML
name: Verify Package Version
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, edited, reopened, synchronize, ready_for_review]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
verify:
|
|
permissions:
|
|
contents: read # for actions/checkout to fetch code
|
|
pull-requests: write # for actions-cool/verify-package-version to comment on PR
|
|
runs-on: ubuntu-latest
|
|
if: contains(github.event.pull_request.title, 'changelog') || contains(github.event.pull_request.title, 'release')
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: verify-version
|
|
uses: actions-cool/verify-package-version@v1
|
|
with:
|
|
title-include-content: docs
|
|
title-include-version: true
|
|
open-comment: true
|