Skip to content

Commit 8e9bb5a

Browse files
committed
ci: Deepen the initial fetch so it can overlap with weblate.
If Weblate has failed to rebase atop the latest tip, we would rather have the shared commit history with which to construct a (slightly out-of-date) PR, than fail because we can't fetch the `weblate` repository because we don't have any shared history.
1 parent 85d47fb commit 8e9bb5a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/update-translations.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ jobs:
1919
WEBLATE_API_KEY: ${{ secrets.WEBLATE_API_KEY }}
2020

2121
- uses: actions/checkout@v4
22+
with:
23+
# Enough such that even a still-out-of-date weblate will have shared history
24+
fetch-depth: 50
2225

2326
- name: Fetch and merge from Weblate
2427
# The commit message is generated in Weblate; see https://hosted.weblate.org/addon/17163/

0 commit comments

Comments
 (0)