Use from_secret for tokens
All checks were successful
ci/woodpecker/manual/renovate Pipeline was successful
ci/woodpecker/cron/renovate Pipeline was successful

This commit is contained in:
Oliver Traber 2025-01-20 23:45:56 +01:00
parent 67a4122fe3
commit 44820f0d0c
Signed by: Bluemedia
GPG key ID: C0674B105057136C
2 changed files with 8 additions and 2 deletions

View file

@ -9,10 +9,13 @@ steps:
renovateDryRun: renovateDryRun:
image: renovate/renovate image: renovate/renovate
pull: true pull: true
secrets: [ renovate_token, GITHUB_COM_TOKEN ]
commands: commands:
- renovate - renovate
environment: environment:
RENOVATE_CONFIG_FILE: config.yml RENOVATE_CONFIG_FILE: config.yml
RENOVATE_DRY_RUN: full RENOVATE_DRY_RUN: full
LOG_LEVEL: debug LOG_LEVEL: debug
RENOVATE_TOKEN:
from_secret: renovate_token
GITHUB_COM_TOKEN:
from_secret: GITHUB_COM_TOKEN

View file

@ -10,8 +10,11 @@ steps:
renovate: renovate:
image: renovate/renovate image: renovate/renovate
pull: true pull: true
secrets: [ renovate_token, GITHUB_COM_TOKEN ]
commands: commands:
- renovate - renovate
environment: environment:
RENOVATE_CONFIG_FILE: config.yml RENOVATE_CONFIG_FILE: config.yml
RENOVATE_TOKEN:
from_secret: renovate_token
GITHUB_COM_TOKEN:
from_secret: GITHUB_COM_TOKEN