From d325e00519c6658e73dbac45343abde84e75e638 Mon Sep 17 00:00:00 2001 From: Yurii Motov Date: Thu, 9 Apr 2026 11:39:05 +0200 Subject: [PATCH] Resolve `topic-repos.yml` --- .github/workflows/topic-repos.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/topic-repos.yml b/.github/workflows/topic-repos.yml index 63844745f1..0f40b7b3d6 100644 --- a/.github/workflows/topic-repos.yml +++ b/.github/workflows/topic-repos.yml @@ -5,6 +5,8 @@ on: - cron: "0 12 1 * *" workflow_dispatch: +permissions: {} + jobs: topic-repos: if: github.repository_owner == 'fastapi' @@ -17,6 +19,8 @@ jobs: GITHUB_CONTEXT: ${{ toJson(github) }} run: echo "$GITHUB_CONTEXT" - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: true # Required for `git push` in `topic_repos.py` - name: Set up Python uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: @@ -24,6 +28,7 @@ jobs: - name: Setup uv uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0 with: + version: "0.11.4" enable-cache: true cache-dependency-glob: | pyproject.toml @@ -33,4 +38,4 @@ jobs: - name: Update Topic Repos run: uv run ./scripts/topic_repos.py env: - GITHUB_TOKEN: ${{ secrets.FASTAPI_PR_TOKEN }} + GITHUB_TOKEN: ${{ secrets.FASTAPI_PR_TOKEN }} # zizmor: ignore[secrets-outside-env]