Update pending-reviews.yaml

This commit is contained in:
Michael Telatynski 2023-05-30 11:08:39 +01:00 committed by GitHub
parent 3c7a9933b9
commit 6ab7a2855b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -84,7 +84,7 @@ jobs:
await updateCounter("gh_reviews", URL, "warning", "Pending reviews", issueCount); await updateCounter("gh_reviews", URL, "warning", "Pending reviews", issueCount);
const { data } = await github.rest.search.issuesAndPullRequests({ const { data } = await github.rest.search.issuesAndPullRequests({
q: `is:open ${repo.map(r => `repo:${r}`).join(" ")}`, q: `is:open ${repos.map(repo => `repo:${repo}`).join(" ")}`,
}); });
const blockerCount = data.total_count; const blockerCount = data.total_count;
await updateCounter("release_blockers", "error", RELEASE_BLOCKERS_URL, "Release Blockers", blockerCount, true); await updateCounter("release_blockers", "error", RELEASE_BLOCKERS_URL, "Release Blockers", blockerCount, true);