Drone-GitHub-status-report-bot
A Drone CI v0.5 plugin to help report pull request build status on GitHub with "review" feature.
GitHub repository:
Docker hub repository:
How to use it?
- Add image
peterdavehello/drone-github-status-report-bot:latestto the last step of your Drone pipelnie in the.drone.ymlflie, specify it to pull request event, and the status (failure,success, or both) you want the bot report.
For example:
bot-review:
image: peterdavehello/drone-github-status-report-bot:latest
when:
event: pull_request
status: [ success, failure ](https://github.com/cdnjs/cdnjs/blob/fe432d412dae1ed30bf14e5396c199e0e3876e79/.drone.yml#L5-L9)
- Create a GitHub personal token and set the value to a secret variable
GITHUB_TOKENin Drone.
Now you can trigger a upll request event and the bot should report the status on the pull request!
License
GPL-3.0