From 3f061923e08ad6afdaf7056b21b22296ea945438 Mon Sep 17 00:00:00 2001 From: Jaro-c <75870284+Jaro-c@users.noreply.github.com> Date: Thu, 27 Aug 2026 23:04:33 -0500 Subject: [PATCH] docs(ci): explain the token, not the incident, in the gh api comment Signed-off-by: Jaro-c <75870284+Jaro-c@users.noreply.github.com> --- .github/workflows/schedule-freshness.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/schedule-freshness.yml b/.github/workflows/schedule-freshness.yml index b6d6031..80ec83e 100644 --- a/.github/workflows/schedule-freshness.yml +++ b/.github/workflows/schedule-freshness.yml @@ -55,10 +55,10 @@ jobs: permissions: actions: read # reading this repository's workflow-run history steps: - # `gh api` is banned for the maintainer's own credentials — the org - # account has been suspended over raw API traffic before. A workflow is a - # different actor: GITHUB_TOKEN is a scoped job token on its own rate - # limit, which is the documented exception. + # This step runs as GITHUB_TOKEN, a job-scoped token on its own rate + # limit, and reads nothing beyond this repository's own run history. No + # personal credential is ever used here, and the `actions: read` grant + # above is the whole of what it can reach. - name: Check the newest successful scheduled run env: GH_TOKEN: ${{ github.token }}