You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2020/07/31 00:24:55 UTC

[GitHub] [incubator-mxnet-ci] szha commented on pull request #27: Serverless based Lambda function for Labelling Successful PRs with pr-awaiting-review

szha commented on pull request #27:
URL: https://github.com/apache/incubator-mxnet-ci/pull/27#issuecomment-666814614


   maybe we could automate the PR labeling as the following pseudo code describes:
   ```
   if WIP in title or PR is draft or CI failed:
       pr-work-in-progress
   elif CI has not started yet or CI is in progress:
       pr-awaiting-testing
   else: # CI passed checks
       if pr has at least one approval and no request changes:
           pr-awaiting-merge
       elif pr has no review or all reviews have been dismissed/re-requested:
           pr-awaiting-review
       else: # pr has a review that hasn't been dismissed yet no approval
           pr-awaiting-response
   ```
   


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

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