mirror of
https://github.com/Lissy93/dashy.git
synced 2025-12-06 16:43:13 +01:00
👷 Adds GH action to translate foreign language issues
This commit is contained in:
parent
4c6ba0a817
commit
366bd0afbe
1 changed files with 16 additions and 0 deletions
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 a new issue