qiskit-bot icon indicating copy to clipboard operation
qiskit-bot copied to clipboard

Add enhancements for external contributor activity

Open javabster opened this issue 2 years ago • 0 comments

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

  1. create new webhook function for event_type=issues
  2. 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

  1. create new webhook function for event_type=issue_comment
  2. 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:

javabster avatar Jun 08 '22 21:06 javabster