[Bug]: 图表示例中大数据量页面渲染异常 #457
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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@v7.0.1 | |
| with: | |
| script: | | |
| const labelToTriage = 'waiting for maintainer'; | |
| 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: [labelToTriage] | |
| }) | |
| } |