mirror of
https://github.com/go-kratos/kratos.git
synced 2025-03-17 21:07:54 +02:00
feat: issue translate (#2744)
* feat: issue translate * feat: stable bot
This commit is contained in:
parent
d05729399e
commit
78a2089f2b
12
.github/stable.yml
vendored
Normal file
12
.github/stable.yml
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
daysUntilStale: 30
|
||||
daysUntilClose: 3
|
||||
exemptLabels:
|
||||
- pinned
|
||||
- security
|
||||
- bug
|
||||
staleLabel: wontfix
|
||||
markComment: >
|
||||
This issue has been automatically marked as stale because it has not had
|
||||
recent activity. It will be closed if no further activity occurs. Thank you
|
||||
for your contributions.
|
||||
closeComment: true
|
16
.github/workflows/issue-translator.yml
vendored
Normal file
16
.github/workflows/issue-translator.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
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:
|
||||
IS_MODIFY_TITLE: true
|
||||
CUSTOM_BOT_NOTE: Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
|
||||
BOT_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
|
Loading…
x
Reference in New Issue
Block a user