mirror of https://github.com/Lissy93/dashy.git
👷 Adds GH action to translate foreign language issues
This commit is contained in:
parent
4c6ba0a817
commit
366bd0afbe
|
@ -0,0 +1,16 @@
|
||||||
|
# Will translate any issues opened in foraign language, and add the English translation as a comment
|
||||||
|
name: 'Issue Translator'
|
||||||
|
on:
|
||||||
|
issue_comment:
|
||||||
|
types: [created]
|
||||||
|
issues:
|
||||||
|
types: [opened]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: tomsun28/issues-translate-action@v2.5
|
||||||
|
with:
|
||||||
|
BOT_GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
|
||||||
|
BOT_LOGIN_NAME: Issues-translate-bot
|
Loading…
Reference in New Issue