Hello community,
I'm proposing to create a new plugin for gerrit called 'checks-gha', see the details below.
Gerrit has a plugin API to integrate with third party CI systems.
Some gerrit users use gerrit with GitHub in that gerrit is used
for code review while GitHub is used for general code viewing and CI.
An example of how this could be done can be seen in this talk given by
the CUE project (https://www.youtube.com/watch?v=2B2PZTZlPJg).
In this architecture, GitHub actions would have a trigger workflow with information like
the Gerrit change id and revision that it would used to fetch the change from gerrit and push
into a branch. Then Gerrit can query that branch's actions and report status back to the
user using the checks UI. This makes it nicer for users to be able to see what checks are
running and which are failing.
A basic prototype of this concept can be seen here: https://github.com/DolceTriade/checks-gha
Thanks,