Skip to content

Token Not Being Recognized in hostRules Section #28173

Closed Answered by calibratedcat
calibratedcat asked this question in Request Help
Discussion options

You must be logged in to vote

I have managed to fix it by writing matchHost in the following way.

module.exports = {
  hostRules: [
    {
      matchHost: "gitlab.private.zodiamarkets.xyz",
      hostType: 'npm',
      token: process.env.RENOVATE_TOKEN,
    },
  ],
  "npmrc": "@zodia:registry=https://gitlab.private.zodiamarkets.xyz/api/v4/packages/npm/",
  "extends": [":semanticCommits"],
};

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@calibratedcat
Comment options

@viceice
Comment options

@calibratedcat
Comment options

@calibratedcat
Comment options

Answer selected by calibratedcat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto:logs Issue or Discussion is needs logs/more logs
3 participants