Skip to content

Commit

Permalink
fix(CI): translations CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Skraye committed Dec 2, 2024
1 parent 582d296 commit c41e2b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/generate_translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 50
ref: ${{ github.sha }}
ref: ${{ github.head_ref }}

- name: Set up Python
uses: actions/setup-python@v5
Expand Down
2 changes: 1 addition & 1 deletion ui/src/translations/generate_translations.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def flatten_dict(d, parent_key="", sep="|"):
return dict(items)


def load_en_changes_from_last_commits(input_file, commit_range=10):
def load_en_changes_from_last_commits(input_file, commit_range=50):
repo = git.Repo(".")
commits = list(repo.iter_commits('HEAD', max_count=commit_range))

Expand Down

0 comments on commit c41e2b8

Please sign in to comment.