nnstreamer / TAOS-CI

:tangerine: TAOS-CI (a.k.a LightSys) is an lightweight and efficient CI system to achieve "Review less, merge faster" with a tool-based review system. It is completely compatible with all GitHub repositories although TAOS-CI is designed & implemented for NNStreamer repository. (Homepage: https://taos-ci.github.io/)
http://nnstreamer.mooo.com/TAOS-CI/ci/taos/
Apache License 2.0
118 stars 90 forks source link

Added cibot_review() API newly #686

Closed leemgs closed 3 years ago

leemgs commented 3 years ago

Fixed issue https://github.com/nnstreamer/TAOS-CI/issues/684

This commit is to add an API to do a review result on a pull request with curl The API consists of five arguments as folows.

Note that you can use this API such as the below statement.

message="All CI checkers are successfully passed. LGTM."

cibot_review $TOKEN "APPROVE" "$message" "$input_commit"
"$GITHUB_WEBHOOK_API/$GITHUB_ACCOUNT/${PRJ_REPO_UPSTREAM_SERVER}/pulls/$input_pr/reviews

Signed-off-by: Geunsik Lim geunsik.lim@samsung.com


taos-ci commented 3 years ago

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #686. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.