Skip to content

PeterDaveHello/Drone-GitHub-status-report-bot

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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