diff --git a/.github/workflows/translate.yml b/.github/workflows/translate.yml deleted file mode 100644 index c778cee3..00000000 --- a/.github/workflows/translate.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: Translate - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -jobs: - translate: - runs-on: ubuntu-latest - - steps: - - name: translate - uses: sheenhx/translatei18n - with: - GIT_COMMIT_HASH: ${{ github.event.pull_request.head.sha }} - GIT_PATCH_OUTPUT: ${{ github.event.pull_request.patch_url }} - GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} - OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} - OPENAI_ORG_KEY: ${{ secrets.OPENAI_ORG_KEY }} - PR_NUMBER: ${{ github.event.pull_request.number }} - PR_TITLE: ${{ github.event.pull_request.title }} - REPOSITORY_NAME: ${{ github.repository }}