From b75bd318f30e57a93727b17b4ef246fc2af61863 Mon Sep 17 00:00:00 2001 From: Yurii Motov <109919500+YuriiMotov@users.noreply.github.com> Date: Mon, 13 Jul 2026 11:03:30 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20Use=20`FASTAPI=5FLATEST=5FCHANGE?= =?UTF-8?q?S`=20token=20in=20`bump-pre-commit-hooks`=20workflow=20(#15984)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/bump-pre-commit-hooks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/bump-pre-commit-hooks.yml b/.github/workflows/bump-pre-commit-hooks.yml index 53c31e09c..e80168ae1 100644 --- a/.github/workflows/bump-pre-commit-hooks.yml +++ b/.github/workflows/bump-pre-commit-hooks.yml @@ -19,7 +19,7 @@ jobs: run: echo "$GITHUB_CONTEXT" - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: - token: ${{ secrets.FASTAPI_PR_TOKEN }} + token: ${{ secrets.FASTAPI_LATEST_CHANGES }} persist-credentials: true - name: Set up Python uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 @@ -38,7 +38,7 @@ jobs: run: uv run prek auto-update --freeze --cooldown-days 7 - name: Create pull request env: - GH_TOKEN: ${{ secrets.FASTAPI_PR_TOKEN }} + GH_TOKEN: ${{ secrets.FASTAPI_LATEST_CHANGES }} BASE_BRANCH: ${{ github.event.repository.default_branch }} run: | set -euo pipefail