mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-25 02:58:26 +08:00
feat: provide robot for use
Signed-off-by: Xinwei Xiong(cubxxw) <3293172751nss@gmail.com>
This commit is contained in:
parent
8f45b1d794
commit
68ff2b0cdb
2
.github/workflows/auto-invite.yml
vendored
2
.github/workflows/auto-invite.yml
vendored
@ -6,7 +6,7 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
issue_comment:
|
issue_comment:
|
||||||
name: Invite users to join our group
|
name: Invite users to join our group
|
||||||
if: ${{ github.event.comment.body == '/invite' }}
|
if: ${{ github.event.comment.body == '/invite' || github.event.comment.body == '/close' || github.event.comment.body == '/comment' }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
issues: write
|
issues: write
|
||||||
|
17
.github/workflows/issue-robot.yml
vendored
Normal file
17
.github/workflows/issue-robot.yml
vendored
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
name: 'issue translator'
|
||||||
|
on:
|
||||||
|
issue_comment:
|
||||||
|
types: [created]
|
||||||
|
issues:
|
||||||
|
types: [opened]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: usthe/issues-translate-action@v2.7
|
||||||
|
with:
|
||||||
|
# it is not necessary to decide whether you need to modify the issue header content
|
||||||
|
IS_MODIFY_TITLE: true
|
||||||
|
BOT_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
|
||||||
|
# Required, input your bot github token
|
Loading…
x
Reference in New Issue
Block a user