Create wfgy-labeler.yml

This commit is contained in:
PSBigBig + MiniPS 2026-03-08 16:46:16 +08:00 committed by GitHub
parent 0b72127811
commit db6e0c5ee3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

23
.github/workflows/wfgy-labeler.yml vendored Normal file
View file

@ -0,0 +1,23 @@
name: WFGY Label Bot
on:
issues:
types: [opened]
jobs:
label:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Add label
uses: actions/github-script@v7
with:
script: |
github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
labels: ["wfgy-contributor"]
})