[pw-ci] [PATCH 1/2] github: support repositories with multiple workflows

Aaron Conole aconole at redhat.com
Wed Aug 4 14:53:29 UTC 2021

Salvatore Daniele <sdaniele at redhat.com> writes:

> The existing github monitor code only supports a single workflow job.
> This worked as an initial implementation, but some projects are
> configuring multiple workflows and the monitor is unable to cope with
> this.
> To resolve this, we pull the workflow configurations and then ensure
> that all workflows are completed, and emit results once all have
> finished.  Each workflow run can now emit two 'pw|...' strings.
> As part of this change, we add a new field 'test_name to the 'pw|...'
> string to support passing the workflow name around.  CI systems like
> Travis won't report anything here so test_name will be blank for those
> systems.
> Signed-off-by: Salvatore Daniele <sdaniele at redhat.com>
> Acked-by: Michael Santana <msantana at redhat.com>
> ---

This one LGTM.

More information about the Pwci mailing list