Skip to content

fix(backend): 缩短加锁保护的范围 #2754

fix(backend): 缩短加锁保护的范围

fix(backend): 缩短加锁保护的范围 #2754

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"]
})