Skip to content

Commit 0cdf10f

Browse files
committed
switch user in crowdin action instead of changing owner after run
input added in crowdin/github-action#309
1 parent f94012a commit 0cdf10f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/crowdin.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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)