Use from_secret for tokens

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

View file

@ -9,7 +9,11 @@ steps:
renovateDryRun: renovateDryRun:
image: renovate/renovate image: renovate/renovate
pull: true pull: true
secrets: [ renovate_token, GITHUB_COM_TOKEN ] environment:
RENOVATE_TOKEN:
from_secret: renovate_token
GITHUB_COM_TOKEN:
from_secret: GITHUB_COM_TOKEN
commands: commands:
- renovate - renovate
environment: environment:

View file

@ -10,7 +10,11 @@ steps:
renovate: renovate:
image: renovate/renovate image: renovate/renovate
pull: true pull: true
secrets: [ renovate_token, GITHUB_COM_TOKEN ] environment:
RENOVATE_TOKEN:
from_secret: renovate_token
GITHUB_COM_TOKEN:
from_secret: GITHUB_COM_TOKEN
commands: commands:
- renovate - renovate
environment: environment: