From 7ad31489751ca27c111b8d22c6c0bc97748fa3de Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Mon, 20 Nov 2023 19:41:26 +0100 Subject: [PATCH] [Renovate] Remove test token and setup new token as env --- .drone.yaml | 7 ++++++- default.json | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.drone.yaml b/.drone.yaml index f51be70..47f63f0 100644 --- a/.drone.yaml +++ b/.drone.yaml @@ -22,9 +22,14 @@ steps: # environment variables environment: + + # renovate -> github + GITHUB_ACCESS_TOKEN: + from_secret: 'github_access_token' + + # renovate -> gitea RENOVATE_TOKEN: from_secret: 'renovate_token' - RENOVATE_USERNAME: 'renovate' RENOVATE_PLATFORM: 'gitea' RENOVATE_ENDPOINT: 'https://git.simoncor.net/api/v1' diff --git a/default.json b/default.json index 7c78662..860843e 100644 --- a/default.json +++ b/default.json @@ -9,7 +9,7 @@ "hostRules": [ { "matchHost": "github.com", - "token": "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" + "token": "${GITHUB_ACCESS_TOKEN}" } ] }