You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/09/09 07:36:28 UTC

[GitHub] [pulsar] timmyyuan commented on a change in pull request #11977: Add document label check robot

timmyyuan commented on a change in pull request #11977:
URL: https://github.com/apache/pulsar/pull/11977#discussion_r705066875



##########
File path: .github/workflows/ci-documentbot.yml
##########
@@ -0,0 +1,27 @@
+name: Auto Labeling
+
+on:
+  pull_request:
+    types:
+      - opened
+      - edited
+      - labeled
+
+  
+
+# A GitHub token created for a PR coming from a fork doesn't have
+# 'admin' or 'write' permission (which is required to add labels)
+# To avoid this issue, you can use the `scheduled` event and run
+# this action on a certain interval.And check the label about the
+# document.
+
+jobs:
+  labeling:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+
+      - uses: pr-bot-test/auto-labeling@master

Review comment:
       Can we put this action into https://github.com/apache/pulsar-test-infra ?




-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org