Skip to content

Commit

Permalink
ci: Update pr-check.yml (#3207)
Browse files Browse the repository at this point in the history
add doc requirement for refactor.
  • Loading branch information
yecol authored Sep 10, 2023
1 parent 0896854 commit a805363
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
exit 1

0 comments on commit a805363

Please sign in to comment.