[Feature]: 在vscode 中开发并启动dev命令,修改routers中的路由文件夹, 导致文件夹重命名失败,此时需要关闭dev命令方可重新命名路由文件夹,希望可以避免重启dev服务步骤 #81
This file contains 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: Label Issues | |
on: | |
issues: | |
types: [opened] | |
jobs: | |
label: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Label issues | |
uses: actions/github-script@v6 | |
with: | |
github-token: ${{ secrets.REPO_SCOPED_TOKEN }} | |
script: | | |
const title = context.payload.issue.title | |
if (title.startsWith('Benchmark')) { | |
await github.rest.issues.addLabels({ | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
issue_number: context.issue.number, | |
labels: ['benchmark'] | |
}) | |
} |