Skip to content

Commit

Permalink
ci(i18n): fix pull translations action freezing (#5494)
Browse files Browse the repository at this point in the history
* ci: disable sparse-checkout

- it was actually slower
- it made workflow freeze: stefanzweifel/git-auto-commit-action#345

* ci: use `date`

no need to use external action to get date
  • Loading branch information
scarf005 authored Oct 3, 2024
1 parent 305368a commit 407afe1
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/pull-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,10 @@ jobs:
- name: "Checkout"
uses: actions/checkout@v4
with:
filter: blob:none
sparse-checkout: |
.tx
lang

- name: "Get current date"
uses: nanzm/get-time-action@v1.1
id: get-timestamp
with:
timeZone: 0
format: "YYYY-MM-DD"
run: echo "time=$(date -u "+%F")" >> $GITHUB_OUTPUT

- name: "Pull translations"
run: tx pull --force
Expand Down

0 comments on commit 407afe1

Please sign in to comment.