mend / renovate-ce-ee

Mend Renovate Documentation & Examples
https://www.mend.io/renovate/
Other
177 stars 61 forks source link

MEND_RNV_ADMIN_TOKEN not defaulting if not provided #602

Open sichapman opened 2 weeks ago

sichapman commented 2 weeks ago

Docs for MEND_RNV_ADMIN_TOKEN state: Defaults to the primary Renovate user PAT when not provided.

However this is not the case. When it is not provided -

DEBUG: MEND_RNV_ADMIN_TOKEN is not set, MEND_RNV_GITLAB_PAT will be used instead
FATAL: Failure initializing Renovate community edition - exiting...
"err": {
"message": "Missing token for activating automatic webhook creation, please set MEND_RNV_ADMIN_TOKEN",
"stack": "Error: Missing token for activating automatic webhook creation, please set MEND_RNV_ADMIN_TOKEN\n at 
}

MEND_RNV_GITLAB_PAT is set.

PhilipAbed commented 2 weeks ago

The answer is yes, it should default.

We are aware of the issue, fixing soon. workaround: set both to the same value manually.