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:17:21 UTC

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

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



##########
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:
       I believe that is it not allowed in the ASF to use third party GH Actions using branch name references.
   Can we copy this code into an ASF repository ? or at least point to a specific SHA (if it is possible)




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