mirror of
https://github.com/Lissy93/dashy.git
synced 2024-12-23 17:03:59 +03:00
👷 Adds GH action to translate foreign language issues
This commit is contained in:
parent
4c6ba0a817
commit
366bd0afbe
16
.github/workflows/issue-translator.yml
vendored
Normal file
16
.github/workflows/issue-translator.yml
vendored
Normal file
@ -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
Block a user