From 9dfe72ddc1d1dd758d1bebc1064c756965aef619 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?oliver=20k=C3=B6nig?= Date: Tue, 1 Dec 2026 19:10:45 +0000 Subject: [PATCH] ci: drop persisted token from preview checkouts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Runs that do not push check out with persist-credentials: false. The push path keeps its persisted App-token checkout. Co-Authored-By: Claude Opus 5.5 Signed-off-by: oliver könig --- .github/workflows/rotate-profile-readme.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/rotate-profile-readme.yml b/.github/workflows/rotate-profile-readme.yml index 5c732ca..1f70400 100644 --- a/.github/workflows/rotate-profile-readme.yml +++ b/.github/workflows/rotate-profile-readme.yml @@ -60,6 +60,7 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 with: token: ${{ steps.bot.outputs.token || github.token }} + persist-credentials: ${{ env.PUSH == 'true' }} - name: Render README and catalog env: