]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
👷 Fix checkout GitHub Action fetch-depth for LLM translations, enable cron monthly...
authorSebastián Ramírez <tiangolo@gmail.com>
Tue, 16 Dec 2025 15:34:37 +0000 (07:34 -0800)
committerGitHub <noreply@github.com>
Tue, 16 Dec 2025 15:34:37 +0000 (15:34 +0000)
.github/workflows/translate.yml

index 62e3994c4e8d9e18676560a57d90582927d20184..e681762ca3db6e35d991409f0a978b853752690a 100644 (file)
@@ -1,6 +1,9 @@
 name: Translate
 
 on:
+  schedule:
+    - cron: "0 5 15 * *"  # Run at 05:00 on the 15 of every month
+
   workflow_dispatch:
     inputs:
       debug_enabled:
@@ -76,6 +79,8 @@ jobs:
           GITHUB_CONTEXT: ${{ toJson(github) }}
         run: echo "$GITHUB_CONTEXT"
       - uses: actions/checkout@v6
+        with:
+          fetch-depth: 0
       - name: Set up Python
         uses: actions/setup-python@v6
         with: