Skip to content

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

License

Notifications You must be signed in to change notification settings

PeterDaveHello/Drone-GitHub-status-report-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published