mirror of
https://github.com/onestardao/WFGY.git
synced 2026-04-26 10:40:55 +00:00
Create wfgy-labeler.yml
This commit is contained in:
parent
0b72127811
commit
db6e0c5ee3
1 changed files with 23 additions and 0 deletions
23
.github/workflows/wfgy-labeler.yml
vendored
Normal file
23
.github/workflows/wfgy-labeler.yml
vendored
Normal 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"]
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue