mangoGoForward commented on code in PR #17557:
URL: https://github.com/apache/pulsar/pull/17557#discussion_r966734383
##########
.github/workflows/ci-documentbot.yml:
##########
@@ -43,4 +43,50 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LABEL_WATCH_LIST: 'doc,doc-required,doc-not-needed,doc-complete'
- LABEL_MISSING: 'doc-label-missing'
\ No newline at end of file
+ LABEL_MISSING: 'doc-label-missing'
+
+ semantic:
+ name: Check PR title
+ runs-on: ubuntu-latest
+ steps:
+ - uses: amannn/action-semantic-pull-request@v4
+ continue-on-error: true
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ types: |
+ feat
+ improve
+ fix
+ cleanup
+ refactor
+ revert
+
+ scopes: |
+ admin
+ broker
+ cli
+ io
+ fn
+ meta
+ monitor
+ proxy
+ schema
+ sec
+ sql
+ storage
+ offload
+ txn
+ java
+ cpp
+ py
+ ws
+ test
+ ci
+ build
+ misc
+ doc
+ blog
+ site
+
+ headerPattern: '^(?:\[(\w+)\])?(?:\[(\w+)\])? (.+)$'
Review Comment:
I know that community want not to add a new workflow, there are many
workflow need to management, and the other task is add labels based on pr
title, so I want to add it as a job in this workflow.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]