example-package icon indicating copy to clipboard operation
example-package copied to clipboard

Stagger scheduled e2e tests more

Open ianlewis opened this issue 3 years ago • 2 comments

Stagger tests more to mitigate rate limit errors

ianlewis avatar Oct 17 '22 00:10 ianlewis

We can use the GH API if that's simplest. We can still keep the schedule the same, and then wait until the total count of running workflows is less than ... say... 8?

curl   -H "Accept: application/vnd.github+json"     https://api.github.com/repos/slsa-framework/slsa-verifier/actions/runs?status=in_progress

That way it won't interfere with manual pushes.

asraa avatar Oct 17 '22 16:10 asraa

I couldn't find an existing action that does this, so I can create a new action for this after I finish the verifier e2e tests today

asraa avatar Oct 17 '22 16:10 asraa