Drone-GitHub-status-report-bot

🤖 A Drone CI v0.5 plugin to help report PR build status on GitHub with "review" feature.

GPL-3.0 License

Stars
4

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?

  1. Add image peterdavehello/drone-github-status-report-bot:latest to the last step of your Drone pipelnie in the .drone.yml flie, 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)

  1. Create a GitHub personal token and set the value to a secret variable GITHUB_TOKEN in Drone.

Now you can trigger a upll request event and the bot should report the status on the pull request!

License

GPL-3.0