Skip to content

Need to support for v15-appRouter for NextJS 15, only the import of @mui/material-nextjs/v14-appRouter and earlier are present #2084

Need to support for v15-appRouter for NextJS 15, only the import of @mui/material-nextjs/v14-appRouter and earlier are present

Need to support for v15-appRouter for NextJS 15, only the import of @mui/material-nextjs/v14-appRouter and earlier are present #2084

name: Ensure triage label is present
on:
label:
types:
- deleted
issues:
types:
- opened
permissions: {}
jobs:
label_issues:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
with:
script: |
const { data: labels } = await github.rest.issues.listLabelsOnIssue({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
});
if (labels.length <= 0) {
await github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['status: waiting for maintainer']
})
}