File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 15
15
sync :
16
16
name : Sync
17
17
runs-on : ubuntu-latest
18
+ permissions :
19
+ contents : write
20
+ pull-requests : write
18
21
steps :
19
22
- name : Checkout
20
23
uses : actions/checkout@v4
39
42
pull_request_body : " Sync translations from [crowdin.com/project/revanced](https://crowdin.com/project/revanced)"
40
43
pull_request_base_branch_name : " dev"
41
44
commit_message : " chore: Sync translations"
42
- github_user_name : revanced-bot
43
- github_user_email :
[email protected]
44
45
env :
45
- GITHUB_TOKEN : ${{ secrets.REPOSITORY_PUSH_ACCESS }}
46
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
46
47
CROWDIN_PROJECT_ID : ${{ secrets.CROWDIN_PROJECT_ID }}
47
48
CROWDIN_PERSONAL_TOKEN : ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
48
49
69
70
70
71
- name : Commit translations
71
72
run : |
72
- git config user.name revanced-bot
73
- git config user.email [email protected]
74
73
sudo chown -R $USER:$USER .git
75
74
git commit -m "chore: Remove empty values from JSON" assets/i18n/*.i18n.json
76
75
git push origin HEAD:feat/translations
You can’t perform that action at this time.
0 commit comments