Skip to content

Commit a60fa36

Browse files
committed
fix(translations): try to fix downloading of artifacts to be translated
1 parent 20ab4cc commit a60fa36

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ai-translation.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,9 @@ jobs:
199199
needs: extract_strings
200200
if: needs.extract_strings.outputs.translations-to-process == 'true'
201201
permissions:
202-
models: read # for AI inference
202+
actions: read # needed for downloading artifacts
203+
contents: read # required by checkout
204+
models: read # for AI inference
203205
runs-on: ubuntu-latest
204206
strategy:
205207
matrix:
@@ -363,6 +365,7 @@ jobs:
363365
needs: [extract_strings, ai_translate]
364366
if: needs.extract_strings.outputs.po-files-changed == 'true'
365367
permissions:
368+
actions: read # needed for downloading translated artifacts
366369
contents: write # for creating branches and commits
367370
pull-requests: write # for creating PRs
368371
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)