qiskit-bot
qiskit-bot copied to clipboard
Add enhancements for external contributor activity
It would be great if we could have the qiskit bot do certain tasks related to activity from external community members. There are a few different parts to this outlined below, any further comments welcome :)
Part 1 - when HW/GFI label is added to an issue
- create new webhook function for
event_type=issues
- when GFI or HW labels are added to an issue (i.e.
data['action']=labeled and data[label]=gfi or hw
) do the following:- add that issue to contributor monitoring project (github org level project beta)
I don't think PyGithub has support yet for editing github projects (beta), but they are editable via the github graphql api, if we can add a python graphql library or something
useful docs:
Part 2 - comments on HW/GFI issues from external contributors
- create new webhook function for
event_type=issue_comment
- when a comment is left on an issue by a non-member (i.e.
data['author_association'] != MEMBER
) with GFI/HW (i.e.data['issue']['label']['name]=gfi or hw
) do the following:- trigger notification for community-reviewers team
useful docs: