Pronto is a tool for "quick automated code review of your changes" allowing to comment linter warnings on commits or pull requests in Github, Gitlab or Bitbucket. This drone plugin makes it as simple as
lint:
when:
event: [pull_request]
image: 7mind/drone-pronto
formatters: [bitbucket_pr text]
runner: [scss slim]
to automate your review. Pronto runs the linters only on the diff between the commited branch head and the the first commit of this branch which is not part of the repositories default branch.
Supported runners included as of now:
Note: Additional parameters such as BITBUCKET_USERNAME should be specified using a .pronto.yml configuration file.
formatters
list, available items: github, github_status, github_pr, github_pr_review, gitlab, bitbucket, bitbucket_pr, bitbucket_server_pr, json, checkstyle, text
runner
list, any supported pronto runner name (leaving out the pronto- prefix)
args
Any additonal args to be passed to prone