perf( frontend): 待审批和待执行时,移除超管可以操作的权限 #3606
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: Add "todo" Label | |
| on: | |
| issues: | |
| types: | |
| - opened | |
| - reopened | |
| jobs: | |
| label_issues: | |
| runs-on: ubuntu-20.04 | |
| permissions: | |
| issues: write | |
| steps: | |
| - uses: actions/github-script@v6 | |
| with: | |
| script: | | |
| github.rest.issues.addLabels({ | |
| issue_number: context.issue.number, | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| labels: ["todo"] | |
| }) |