Sign inSign up

peterdavehello/drone-github-status-report-bot

By peterdavehello

Updated over 5 years ago

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

Image
1

7.8K

peterdavehello/drone-github-status-report-bot repository overview

Drone-GitHub-status-report-bot

license

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

Tag summary

Content type

Image

Digest

Size

4.7 MB

Last updated

over 7 years ago

docker pull peterdavehello/drone-github-status-report-bot