From 723c38d2e32c0a3eb8fa96046fcf4ebb9418d54b Mon Sep 17 00:00:00 2001 From: Noel Sabia Date: Fri, 30 Oct 2026 21:35:25 +0100 Subject: [PATCH] ci(renovate): authenticate github.com release note lookups Renovate fetches changelogs and release notes from github.com. Anonymous requests are rate-limited, so the first run skipped them and printed the "no github.com credentials" warning in the PR body. RENOVATE_GITHUB_COM_TOKEN now comes from a repository secret. It is independent of RENOVATE_TOKEN: any github.com account with read-only access is enough, and no scopes are needed for public repositories. --- .gitea/workflows/renovate.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/renovate.yml b/.gitea/workflows/renovate.yml index aab1f3a..ca8cc2f 100644 --- a/.gitea/workflows/renovate.yml +++ b/.gitea/workflows/renovate.yml @@ -7,7 +7,9 @@ name: Renovate # Manual setup: create a bot account with its full name and email set, give # it write access to this repository, and store a token with # repository read/write, issue read/write, user read and organization read -# as the RENOVATE_TOKEN Actions secret. +# as the RENOVATE_TOKEN Actions secret. Release notes also need a github.com +# token (any account, read-only, no scopes for public repositories) as the +# RENOVATE_GITHUB_COM_TOKEN secret. on: schedule: # Daily at 04:00 UTC. Gitea only schedules workflows that exist on the @@ -35,6 +37,10 @@ jobs: # default branch through this endpoint. RENOVATE_ENDPOINT: https://git.noelsabia.dev/api/v1 RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} + # github.com is only used to fetch release notes and other public + # metadata. Anonymous requests are rate-limited, which is why the + # PR body warned that release notes were skipped. + RENOVATE_GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_COM_TOKEN }} # This workflow lives in the repository it updates, so scope the bot # to it instead of every repository its account can see. RENOVATE_REPOSITORIES: CV_Website/CV_Site_Nuxt -- 2.54.0