From cd402dfe41b2ecc4596f9425a477eb1c1082aa3a Mon Sep 17 00:00:00 2001 From: xrkffgg Date: Fri, 19 Feb 2021 16:53:08 +0800 Subject: [PATCH] ci: add Verify Package Version action (#29345) * ci: add Verify Package Version action * Update .github/workflows/verify-package-version.yml --- .github/workflows/verify-package-version.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/verify-package-version.yml diff --git a/.github/workflows/verify-package-version.yml b/.github/workflows/verify-package-version.yml new file mode 100644 index 0000000000..0c0437f732 --- /dev/null +++ b/.github/workflows/verify-package-version.yml @@ -0,0 +1,18 @@ +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