From adda526c2b1e05f234cd5d895d027d0c2206d251 Mon Sep 17 00:00:00 2001 From: ProtossDragoon Date: Sat, 18 May 2024 16:09:45 +0900 Subject: [PATCH] =?UTF-8?q?Feat:=20`README.md`=20=EC=9E=90=EB=8F=99=20?= =?UTF-8?q?=EB=B2=88=EC=97=AD=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/translate-readme.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/translate-readme.yml diff --git a/.github/workflows/translate-readme.yml b/.github/workflows/translate-readme.yml new file mode 100644 index 0000000..efcf8e1 --- /dev/null +++ b/.github/workflows/translate-readme.yml @@ -0,0 +1,21 @@ +name: Translate Readme + +on: + push: + branches: ['**'] + +jobs: + translate: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + fetch-depth: 3 + + - name: Auto Translate + uses: Lin-jun-xiang/action-translate-readme@v2 + with: + token: ${{ secrets.PAT_PROTOSSDRAGOON_FOR_ACTIONBOT }} + g4f_provider: g4f.Provider.DeepAi # You can change this provider + langs: "zh-CN,en-US"