Skip to content

Commit ea29240

Browse files
committed
switch to crowdin/github-action fork that allows switch user instead of changing owner after run
1 parent c7fd4a9 commit ea29240

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/crowdin.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
bundle exec script/i18n/generate_seeders_i18n_source_file
6767
fi
6868
- name: "Crowdin: upload sources and download translations"
69-
uses: crowdin/github-action@v2
69+
uses: opf/crowdin-github-action@fix-user
7070
with:
7171
# Upload current source files
7272
upload_sources: true
@@ -76,12 +76,10 @@ jobs:
7676
crowdin_branch_name: ${{ steps.vars.outputs.crowdin_branch }}
7777
# Dont create a PR for the updated translations
7878
push_translations: false
79+
user: auto
7980
env:
8081
OPENPROJECT_CROWDIN_PROJECT: ${{ secrets.OPENPROJECT_CROWDINV2_PROJECT }}
8182
OPENPROJECT_CROWDIN_API_KEY: ${{ secrets.OPENPROJECT_CROWDINV2_API_KEY }}
82-
- name: "Fix ownership of downloaded translation files"
83-
run: |
84-
sudo chown -R $(id -u):$(id -g) config/locales/crowdin/ modules/*/config/locales/crowdin/
8583
- name: "Fix root key in Portuguese crowdin translation files"
8684
run: |
8785
script/i18n/fix_crowdin_pt_language_root_key

0 commit comments

Comments
 (0)