mirror of
https://github.com/kubevela/kubevela.git
synced 2026-02-14 18:10:21 +00:00
Bot add assign ability (#1876)
* add vela robot for issue triage * fix url for document redirect * assign description
This commit is contained in:
12
.github/bot.md
vendored
12
.github/bot.md
vendored
@@ -1,9 +1,9 @@
|
||||
### GitHub & kubevela automation
|
||||
|
||||
The bot is configured via [issue-commands.json](https://github.com/oam-dev/kubevela/blob/main/.github/workflows/issue-commands.json)
|
||||
and some other GitHub [workflows](https://github.com/oam-dev/kubevela/blob/main/.github/workflows).
|
||||
The bot is configured via [issue-commands.json](https://github.com/oam-dev/kubevela/blob/master/.github/workflows/issue-commands.json)
|
||||
and some other GitHub [workflows](https://github.com/oam-dev/kubevela/blob/master/.github/workflows).
|
||||
By default, users with write access to the repo is allowed to use the comments,
|
||||
the [userlist](https://github.com/oam-dev/kubevela/blob/main/.github/comment.userlist)
|
||||
the [userlist](https://github.com/oam-dev/kubevela/blob/master/.github/comment.userlist)
|
||||
file is for adding additional members who do not have access and want to contribute to the issue triage.
|
||||
|
||||
Comment commands:
|
||||
@@ -23,3 +23,9 @@ Label commands:
|
||||
* Add label `bot/no new info` for bot to close an issue where we asked for more info but has not received any updates in at least 14 days.
|
||||
* Add label `bot/duplicate` to have `type/duplicate` label & the bot will close issue with an appropriate message.
|
||||
* Add label `bot/close feature request` for bot to close a feature request with standard message.
|
||||
|
||||
Assign:
|
||||
When you participating in an issue area, and you want to assign to others
|
||||
to distribute this task or self-assign to give a solution. You can use the comment bellow.
|
||||
* Write the word `/assign githubname` in a comment, the robot will automatically assign to the corresponding person.
|
||||
|
||||
5
.github/issue-commands.json
vendored
5
.github/issue-commands.json
vendored
@@ -13,6 +13,11 @@
|
||||
"action": "updateLabels",
|
||||
"addLabel": "needs investigation"
|
||||
},
|
||||
{
|
||||
"type": "comment",
|
||||
"name": "assign",
|
||||
"allowUsers": ["*"]
|
||||
},
|
||||
{
|
||||
"type": "comment",
|
||||
"name": "type/bug",
|
||||
|
||||
2
.github/workflows/issue-commands.yml
vendored
2
.github/workflows/issue-commands.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
||||
with:
|
||||
repository: "oam-dev/kubevela-github-actions"
|
||||
path: ./actions
|
||||
ref: main
|
||||
ref: v0.3
|
||||
- name: Install Actions
|
||||
run: npm install --production --prefix ./actions
|
||||
- name: Run Commands
|
||||
|
||||
@@ -315,9 +315,9 @@ please provide as much information as possible.
|
||||
## Automation
|
||||
|
||||
We have some automation that triggers on comments or labels being added to issues.
|
||||
Many of these automated behaviors are defined in [issue-commands.json](https://github.com/oam-dev/kubevela/blob/main/.github/issue-commands.json).
|
||||
Many of these automated behaviors are defined in [issue-commands.json](https://github.com/oam-dev/kubevela/blob/master/.github/issue-commands.json).
|
||||
|
||||
* Add comment `/duplicate #<number>` to have `type/duplicate` label, the issue number is required for remind where is the other issue.
|
||||
* Add label `bot/no new info` for bot to close an issue where we asked for more info but has not received any updates in at least 14 days.
|
||||
|
||||
[Read more on bot actions](https://github.com/oam-dev/kubevela/blob/main/.github/bot.md)
|
||||
Read more bot actions on [bot.md](https://github.com/oam-dev/kubevela/blob/master/.github/bot.md)
|
||||
|
||||
Reference in New Issue
Block a user