2021-02-19 16:53:08 +08:00
|
|
|
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:
|
2022-03-19 21:53:48 +08:00
|
|
|
- uses: actions/checkout@v3
|
2021-02-19 16:53:08 +08:00
|
|
|
- name: verify-version
|
2021-10-19 19:36:22 +08:00
|
|
|
uses: actions-cool/verify-package-version@v1
|
2021-02-19 16:53:08 +08:00
|
|
|
with:
|
|
|
|
title-include-content: 'docs'
|
|
|
|
title-include-version: true
|
|
|
|
open-comment: true
|