Update pending-reviews.yaml
parent
6ab7a2855b
commit
22b96e0679
|
@ -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 ${repos.map(repo => `repo:${repo}`).join(" ")}`,
|
q: `is:open ${repos.map(repo => `repo:${repo}`).join(" ")} label:X-Release-Blocker`,
|
||||||
});
|
});
|
||||||
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", RELEASE_BLOCKERS_URL, "error", "Release Blockers", blockerCount, true);
|
||||||
|
|
Loading…
Reference in New Issue