feat: add code onwer

chore: update readme.md

chore: update deps

chore: update deps

chore: update deps
This commit is contained in:
vben
2024-06-16 19:17:34 +08:00
parent 382652e0f4
commit 9278c4b416
42 changed files with 607 additions and 507 deletions

View File

@@ -1,29 +1,31 @@
name: Issue Labeled
name: Label Based Actions
on:
issues:
types: [labeled]
# pull_request:
# types: [labeled]
jobs:
reply-labeled:
runs-on: ubuntu-latest
steps:
- name: remove pending
if: github.event.label.name == 'enhancement' || github.event.label.name == 'bug'
uses: actions-cool/issues-helper@v2.1.1
with:
actions: "remove-labels"
token: ${{ secrets.OPER_TOKEN }}
issue-number: ${{ github.event.issue.number }}
labels: "bug: pending triage"
# - name: remove pending
# if: github.event.label.name == 'enhancement' || github.event.label.name == 'bug'
# uses: actions-cool/issues-helper@v3
# with:
# actions: "remove-labels"
# token: ${{ secrets.ACCESS_TOKEN }}
# issue-number: ${{ github.event.issue.number }}
# labels: "bug: pending triage"
- name: need reproduction
if: github.event.label.name == 'need reproduction'
uses: actions-cool/issues-helper@v2.1.1
- name: needs reproduction
if: github.event.label.name == 'needs reproduction'
uses: actions-cool/issues-helper@v3
with:
actions: "create-comment, remove-labels"
token: ${{ secrets.OPER_TOKEN }}
token: ${{ secrets.ACCESS_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
Hello @${{ github.event.issue.user.login }}. Please provide the complete reproduction steps and code. Issues labeled by `need reproduction` will be closed if no activities in 3 days.
Hello @${{ github.event.issue.user.login }}. Please provide the complete reproduction steps and code. Issues labeled by `needs reproduction` will be closed if no activities in 3 days.
labels: "bug: pending triage"