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