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

index 6f206940d45a04cce34c85c10684c30e8fdb2622..be20c98ae9087924d2f4e84d2e8a29cab96ef26a 100644 (file)
@@ -30,6 +30,7 @@ jobs:
         run: echo "$GITHUB_CONTEXT"
       - 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.FASTAPI_LATEST_CHANGES }}  # zizmor: ignore[secrets-outside-env]
           persist-credentials: true # required by tiangolo/latest-changes