diff --git a/.gitea/workflows/renovate.yaml b/.gitea/workflows/renovate.yaml index 9955420..2280e22 100644 --- a/.gitea/workflows/renovate.yaml +++ b/.gitea/workflows/renovate.yaml @@ -17,4 +17,5 @@ jobs: env: RENOVATE_CONFIG_FILE: "/workspace/seatstock/renovate-config/config.js" # config.js path (root of repository) LOG_LEVEL: "debug" - RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} # token for "renovate" user \ No newline at end of file + RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} # token for "renovate" user + GITHUB_COM_TOKEN: ${{ secrets.RENOVATE_GITHUB_TOKEN }} \ No newline at end of file diff --git a/config.js b/config.js index bbc80c0..2d3b1e1 100644 --- a/config.js +++ b/config.js @@ -5,4 +5,12 @@ module.exports = { "onboardingConfigFileName": "renovate.json", "autodiscover": true, "optimizeForDisabled": true, + "hostRules": [ + { + "encrypted": { + "token": process.env.GITHUB_COM_TOKEN, + }, + "matchHost": "github.com" + } + ] };