File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ permissions:
3
3
contents : write
4
4
pull-requests : write
5
5
on :
6
+ pull_request :
6
7
schedule :
7
8
- cron : " 0 10 * * 1"
8
9
workflow_dispatch :
@@ -12,13 +13,18 @@ jobs:
12
13
runs-on : ubuntu-latest
13
14
steps :
14
15
- uses : actions/checkout@v4
16
+ with :
17
+ fetch-depth : 0
15
18
16
19
- name : Fetch and merge from Weblate
17
20
# The commit message is generated in Weblate; see https://hosted.weblate.org/addon/17163/
18
21
run : |
22
+ git checkout -b main
23
+ git log --oneline --graph --all -n5
19
24
git remote add weblate https://hosted.weblate.org/git/zulip/zulip-flutter/
20
25
git fetch weblate
21
- git merge --ff-only weblate/main
26
+ GIT_COMMITTER_NAME="Hosted Weblate" GIT_COMMITTER_EMAIL="[email protected] " \
27
+ git cherry-pick weblate/main ^HEAD
22
28
23
29
- name : Clone Flutter SDK
24
30
# TODO(#1204) reinstate shallow clone with --depth=1000 and its corresponding comment here
47
53
branch : update-translations/weblate
48
54
delete-branch : true
49
55
title : Update translations from Weblate
56
+ base : ${{ github.head_ref }}
You can’t perform that action at this time.
0 commit comments