mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-21 18:12:13 +00:00
chore: 添加 issue 备注添加labels
This commit is contained in:
parent
e45b893662
commit
dbe628a8db
20
.github/workflows/issue-comment.yml
vendored
Normal file
20
.github/workflows/issue-comment.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
on:
|
||||
issue_comment:
|
||||
types: [created]
|
||||
|
||||
jobs:
|
||||
add-label-if-is-author:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event.comment.pull_request.user.id == github.event.comment.user.id }}
|
||||
steps:
|
||||
- name: Add require handle label
|
||||
uses: actions-cool/issues-helper@v2
|
||||
with:
|
||||
actions: 'add-labels'
|
||||
labels: '状态:待处理'
|
||||
|
||||
- name: Remove require reply label
|
||||
uses: actions-cool/issues-helper@v2
|
||||
with:
|
||||
actions: 'remove-labels'
|
||||
labels: '状态:待反馈'
|
15
.github/workflows/issue-open.yml
vendored
Normal file
15
.github/workflows/issue-open.yml
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
name: Issue Open Check
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [opened]
|
||||
|
||||
jobs:
|
||||
issue-open-add-labels:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Add labels
|
||||
uses: actions-cool/issues-helper@v2
|
||||
with:
|
||||
actions: 'add-labels'
|
||||
labels: '状态:待处理'
|
Loading…
Reference in New Issue
Block a user