diff --git a/.github/bot.md b/.github/bot.md index 978bfaca2..71cda9648 100644 --- a/.github/bot.md +++ b/.github/bot.md @@ -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. + \ No newline at end of file diff --git a/.github/issue-commands.json b/.github/issue-commands.json index c7c667080..4045aee06 100644 --- a/.github/issue-commands.json +++ b/.github/issue-commands.json @@ -13,6 +13,11 @@ "action": "updateLabels", "addLabel": "needs investigation" }, + { + "type": "comment", + "name": "assign", + "allowUsers": ["*"] + }, { "type": "comment", "name": "type/bug", diff --git a/.github/workflows/issue-commands.yml b/.github/workflows/issue-commands.yml index 9079d9503..c38bc6655 100644 --- a/.github/workflows/issue-commands.yml +++ b/.github/workflows/issue-commands.yml @@ -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 diff --git a/ISSUE_TRIAGE.md b/ISSUE_TRIAGE.md index 116472cdc..151e9ab7a 100644 --- a/ISSUE_TRIAGE.md +++ b/ISSUE_TRIAGE.md @@ -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 #` 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)