tisonkun commented on code in PR #17557:
URL: https://github.com/apache/pulsar/pull/17557#discussion_r966716587


##########
.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:
   But why? They are for totally different things.



-- 
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]

Reply via email to