events

Handlers for incoming Github Events

Note

The incoming webhook from Github is still open and unanswered while these are processed. Commands should not do anything taking more than milliseconds.

Functions

handle_check_run(event, ghapi)

Handle check run event

handle_check_suite(event, ghapi)

Handle check suite event

handle_comment_created(event, ghapi, *args, …)

Handles comments on issues

handle_pull_request(event, ghapi)

pull_request can have the following actions: - assigned / unassigned - review_requested / review_request_removed - labeled / unlabeled - opened / closed / reopened - edited - ready_for_review - synchronize

Documentation

async bioconda_utils.bot.events.handle_check_run(event, ghapi)[source]

Handle check run event

async bioconda_utils.bot.events.handle_check_suite(event, ghapi)[source]

Handle check suite event

async bioconda_utils.bot.events.handle_comment_created(event, ghapi, *args, **_kwargs)[source]

Handles comments on issues

  • dispatches @biocondabot commands

  • re-iterates commenets from non-members attempting to @mention @bioconda/xxx

async bioconda_utils.bot.events.handle_pull_request(event, ghapi)[source]

pull_request can have the following actions: - assigned / unassigned - review_requested / review_request_removed - labeled / unlabeled - opened / closed / reopened - edited - ready_for_review - synchronize