From 9f66fd3b2e4905942487ae37e4d0e32249f7f17b Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Fri, 8 Nov 2024 13:00:38 +0100 Subject: [PATCH] [tools] Add Toolpad coverage for issues missing labels --- .../pages/issueWithoutProductScope/page.yml | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/tools-public/toolpad/pages/issueWithoutProductScope/page.yml b/tools-public/toolpad/pages/issueWithoutProductScope/page.yml index 4f476a5..7b61e8a 100644 --- a/tools-public/toolpad/pages/issueWithoutProductScope/page.yml +++ b/tools-public/toolpad/pages/issueWithoutProductScope/page.yml @@ -34,7 +34,8 @@ spec: return materialUI.rows .concat(muix.rows) .concat(muiDesignKits.rows) - //.concat(pigmentCSS.rows) + // .concat(pigmentCSS.rows) There is only one product scope today with Pigment CSS + .concat(toolpad.rows) .concat(baseUI.rows) .filter((issue) => { const withoutNonProductScopeLabels = issue.labels.filter( @@ -182,6 +183,27 @@ spec: - name: GITHUB_TOKEN value: $$env: GITHUB_TOKEN + - name: toolpad + query: + kind: rest + url: https://api.github.com/repos/mui/toolpad/issues + searchParams: + - name: labels + value: 'status: waiting for maintainer' + - name: per_page + value: '100' + - name: state + value: all + headers: + - name: Authorization + value: + $$jsExpression: | + `Bearer ${parameters.GITHUB_TOKEN}` + method: GET + parameters: + - name: GITHUB_TOKEN + value: + $$env: GITHUB_TOKEN alias: - y923hoo displayName: Issue without product scope