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/08/25 02:22:32 UTC
[GitHub] [pulsar-test-infra] maxsxu opened a new issue, #67: Simplify invocation of docbot action
maxsxu opened a new issue, #67:
URL: https://github.com/apache/pulsar-test-infra/issues/67
### Motivation
The [Current invocation of docbot](https://github.com/apache/pulsar/blob/46b1239a23fd2a250b009df1e9b4a65341d299a7/.github/workflows/ci-documentbot.yml):
```
jobs:
label:
steps:
- name: Checkout action
uses: actions/checkout@v3
with:
repository: apache/pulsar-test-infra
ref: master
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Labeling
uses: ./docbot
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LABEL_WATCH_LIST: 'doc,doc-required,doc-not-needed,doc-complete'
LABEL_MISSING: 'doc-label-missing'
```
These steps before Labeling should be organized into the action itself, the desired invocation should be illustrated below:
```
jobs:
label:
steps:
- name: Labeling
uses: pulsar/pulsar-test-infra/docbot@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LABEL_WATCH_LIST: 'doc,doc-required,doc-not-needed,doc-complete'
LABEL_MISSING: 'doc-label-missing'
```
inspired from https://github.com/apache/pulsar-test-infra/issues/58#issuecomment-1225889058
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [pulsar-test-infra] nodece closed issue #67: Simplify invocation of docbot action
Posted by GitBox <gi...@apache.org>.
nodece closed issue #67: Simplify invocation of docbot action
URL: https://github.com/apache/pulsar-test-infra/issues/67
--
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