You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/06/13 22:32:36 UTC
[GitHub] [pulsar-test-infra] michaeljmarshall commented on a diff in pull request #43: Implement a new documentation bot
michaeljmarshall commented on code in PR #43:
URL: https://github.com/apache/pulsar-test-infra/pull/43#discussion_r896211686
##########
docbot/README.md:
##########
@@ -0,0 +1,54 @@
+# Documentation Bot
+
+Automatically label pull requests based on the checked task list.
+
+## Usage
+
+Create a workflow `.github/workflows/ci-docbot.yml` with below content:
+
+```yaml
+name: Documentation Bot
+
+on:
+ pull_request_target:
+ types:
+ - opened
+ - edited
+ - labeled
+ - unlabeled
+
+jobs:
+ label:
+ permissions:
+ pull-requests: write
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout action
+ uses: actions/checkout@v3
+ with:
+ repository: maxsxu/action-labeler
Review Comment:
Did you meant to leave this reference to your personal github repo?
##########
docbot/README.md:
##########
@@ -0,0 +1,54 @@
+# Documentation Bot
+
+Automatically label pull requests based on the checked task list.
+
+## Usage
+
+Create a workflow `.github/workflows/ci-docbot.yml` with below content:
+
+```yaml
+name: Documentation Bot
+
+on:
+ pull_request_target:
+ types:
+ - opened
+ - edited
+ - labeled
+ - unlabeled
+
+jobs:
+ label:
+ permissions:
+ pull-requests: write
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout action
+ uses: actions/checkout@v3
+ with:
+ repository: maxsxu/action-labeler
+ ref: master
+
+ - name: Set up Go
+ uses: actions/setup-go@v3
+ with:
+ go-version: 1.18
+
+ - name: Labeling
+ uses: maxsxu/action-labeler@master
Review Comment:
Same comment.
--
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: dev-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org