Update pending-reviews.yaml

pull/25495/head
Michael Telatynski 2023-05-30 11:59:33 +01:00 committed by GitHub
parent 6ab7a2855b
commit 22b96e0679
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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