]> git.ipfire.org Git - thirdparty/fastapi/sqlmodel.git/commitdiff
👷 Fix latest-changes checkout target (#2031)
authorSebastián Ramírez <tiangolo@gmail.com>
Sat, 4 Jul 2026 20:03:56 +0000 (22:03 +0200)
committerGitHub <noreply@github.com>
Sat, 4 Jul 2026 20:03:56 +0000 (22:03 +0200)
.github/workflows/latest-changes.yml

index eac289b5edda0f1da54eded96e2ec575b4574460..8457f0212cc70b1fe8ecd088e23b50ebcccbbc90 100644 (file)
@@ -26,6 +26,7 @@ jobs:
     steps:
       - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
         with:
+          ref: ${{ github.event.repository.default_branch }}
           # To allow latest-changes to commit to the main branch
           token: ${{ secrets.SQLMODEL_LATEST_CHANGES }} # zizmor: ignore[secrets-outside-env]
           persist-credentials: true # required by tiangolo/latest-changes