Enable GITHUB_COM_TOKEN environment variable

When running this action on a private GitHub Enterprise
with self-hosted runners and you own analyse a golang project
you quickly run into GitHub.com rate-limiting.

According to the docs (https://docs.renovatebot.com/self-hosting/#githubcom-token-for-release-notes)
we need to add the environment variable `GITHUB_COM_TOKEN` to mitigate this.

This was not yet picked up by the docker input parser. This commit will enable `GITHUB_COM_TOKEN` 
to be used for Renovate.
This commit is contained in:
Icereed 2021-03-18 16:20:13 +01:00 committed by GitHub
parent c812d1d8b8
commit 7a639ea9ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,7 @@ interface EnvironmentVariable {
class Input {
readonly options = {
envRegex: /^(?:RENOVATE_\w+|LOG_LEVEL)$/,
envRegex: /^(?:RENOVATE_\w+|LOG_LEVEL|GITHUB_COM_TOKEN)$/,
configurationFile: {
input: 'configurationFile',
env: 'RENOVATE_CONFIG_FILE',