fix: translation workflow error
This commit is contained in:
5
.github/workflows/translate.yml
vendored
5
.github/workflows/translate.yml
vendored
@@ -3,6 +3,9 @@ name: Auto Translate
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
translate:
|
translate:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -10,6 +13,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Translate with i18n-ai-translate
|
- name: Translate with i18n-ai-translate
|
||||||
uses: taahamahdi/i18n-ai-translate@master
|
uses: taahamahdi/i18n-ai-translate@master
|
||||||
|
|||||||
Reference in New Issue
Block a user