From a805363d178d0e27ca4aaa97347c383b6c4e0513 Mon Sep 17 00:00:00 2001 From: Jingbo Xu Date: Sat, 9 Sep 2023 20:31:36 -0500 Subject: [PATCH] ci: Update pr-check.yml (#3207) add doc requirement for refactor. --- .github/workflows/pr-check.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index 75022ac9bae2..8913ced96921 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -77,7 +77,7 @@ jobs: id: pr-regex-match with: text: ${{ github.event.pull_request.title }} - regex: 'feat.*' + regex: 'feat.*|refactor.*' - if: ${{ steps.pr-regex-match.outputs.match != '' && steps.doc-changes.outputs.src == 'false' }} run: | @@ -87,4 +87,4 @@ jobs: echo " ❌ Uh oh! ❌ \n We suggest that a PR with type @feat should has corresponding documentations. \n If you believe this PR could be merged without documentation, please add @yecol as an extra reviewer for confirmation." - exit 1 \ No newline at end of file + exit 1