vibe-coding-cn/.github/workflows/labeler.yml

22 lines
457 B
YAML

# .github/workflows/labeler.yml
# 自动为 Pull Requests 添加标签
name: Labeler
on: [pull_request_target]
permissions:
contents: read
pull-requests: write
jobs:
label:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run Labeler
uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeler.yml