From 44820f0d0cf89546ada4b75dbf217900af32addc Mon Sep 17 00:00:00 2001 From: BluemediaDev Date: Mon, 20 Jan 2025 23:45:56 +0100 Subject: [PATCH] Use from_secret for tokens --- .woodpecker/dryRun.yml | 5 ++++- .woodpecker/renovate.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.woodpecker/dryRun.yml b/.woodpecker/dryRun.yml index ec01c39..e560f15 100644 --- a/.woodpecker/dryRun.yml +++ b/.woodpecker/dryRun.yml @@ -9,10 +9,13 @@ steps: renovateDryRun: image: renovate/renovate pull: true - secrets: [ renovate_token, GITHUB_COM_TOKEN ] commands: - renovate environment: RENOVATE_CONFIG_FILE: config.yml RENOVATE_DRY_RUN: full LOG_LEVEL: debug + RENOVATE_TOKEN: + from_secret: renovate_token + GITHUB_COM_TOKEN: + from_secret: GITHUB_COM_TOKEN diff --git a/.woodpecker/renovate.yml b/.woodpecker/renovate.yml index 182015e..8dc4734 100644 --- a/.woodpecker/renovate.yml +++ b/.woodpecker/renovate.yml @@ -10,8 +10,11 @@ steps: renovate: image: renovate/renovate pull: true - secrets: [ renovate_token, GITHUB_COM_TOKEN ] commands: - renovate environment: RENOVATE_CONFIG_FILE: config.yml + RENOVATE_TOKEN: + from_secret: renovate_token + GITHUB_COM_TOKEN: + from_secret: GITHUB_COM_TOKEN