ci(renovate): authenticate github.com release note lookups
PR Check / Security scan (Snyk) (pull_request) Skipped
PR Check / Lint + typecheck (pull_request) Failing after 21s
PR Check / Secret scan (gitleaks) (pull_request) Successful in 6s
PR Check / Dependency audit (pull_request) Failing after 9s
PR Check / Dockerfile lint (droast) (pull_request) Successful in 5s
PR Check / AI code review (opencode) (pull_request) Failing after 13s
PR Check / Security scan (Snyk) (pull_request) Skipped
PR Check / Lint + typecheck (pull_request) Failing after 21s
PR Check / Secret scan (gitleaks) (pull_request) Successful in 6s
PR Check / Dependency audit (pull_request) Failing after 9s
PR Check / Dockerfile lint (droast) (pull_request) Successful in 5s
PR Check / AI code review (opencode) (pull_request) Failing after 13s
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.
This commit is contained in:
1 parent
efb73378e9
commit
723c38d2e3
1 file changed
+7
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user