nodece opened a new pull request, #69:
URL: https://github.com/apache/pulsar-test-infra/pull/69

   ### Motivation
   
   1. Fix #59 
   2. Add tests to cover this feature
   
   ### Verify
   
   I verified this on my repo, please help verify the following case on your 
repo if you have time, thanks!
   
   1. Checked single checkbox
   2. Checked multiple checkboxes
   3. Unchecked any checkboxes, waited for CI to have done, then checked one 
checkbox
   
   Workflow:
   ```
   name: Documentation Bot
   
   on:
     pull_request_target :
       types:
         - opened
         - edited
         - labeled
         - unlabeled
   
   concurrency:
     group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.number }}
     cancel-in-progress: true
   
   jobs:
     label:
       permissions:
         pull-requests: write 
       runs-on: ubuntu-latest
       steps:
         - name: Labeling
           uses: nodece/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'
   ```
   
   You also need to setting your `Workflow permissions`, see 
https://github.com/$username/$repo/settings/actions.
   
   


-- 
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-unsubscr...@pulsar.apache.org

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

Reply via email to