Skip to content
This repository was archived by the owner on Jun 8, 2026. It is now read-only.
This repository was archived by the owner on Jun 8, 2026. It is now read-only.

GitHub bot for handling PRs #388

Description

@alexanderzobnin

Recently I added more checks into CircleCI configuration. It's really helpful and let you know if something wrong in the pushed plugin. But if it fails, you have to go to the CircleCI and look into the logs. The same thing with warnings. There's no possibility to show warnings with CircleCI - the build is only green or red.
Would be much better to have a kind of PR summary posted after all checks are finished. Something like codecov does:

d7e81e4-screen_shot_2017-01-20_at_9 40 15_am

It's possible via GitHub API, but in this case, you have to write your script and add it into CircleCI config. The problem is a github token. In order to allow script to publish a comment, you have to pass api token into the script. It may be done with CircleCI env variables, but if you want to run this script for the external PRs you need to allow passing env variables to external PRs. It's not a secure way, because external user can change a circleci config and get access to github token.

So the good alternative is to build our own github bot (with probot, for instance). Bot is listening for webhooks and can run checks and post PR summary. Another benefit from this approach - we automate issue triage and add some labels like new plugin, update, and, for example, priority based on plugin popularity.

It's related to #332 as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions