Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tools] Add Toolpad coverage for issues missing labels #240

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion tools-public/toolpad/pages/issueWithoutProductScope/page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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
Loading