👷 Fix latest-changes checkout target (#15932)

This commit is contained in:
Sebastián Ramírez
2026-07-04 22:03:22 +02:00
committed by GitHub
parent fdfd5091f1
commit f500ef131e

View 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