renovatebot / github-action

Other
291 stars 80 forks source link

Repositories not found #554

Closed bot-env0 closed 3 years ago

bot-env0 commented 3 years ago

Trying to use this GitHub action I can't get it to detect my repositories - turning on debug logs did not help shed light on the matter -

renovate-config.js:

module.export = {
  extends: ['config:base', ':automergeMinor'],
  timezone: 'Asia/Jerusalem',
  schedule: ['after 6am and before 9am'],
  rebaseWhen: 'conflicted',
  updateLockFiles: true,
  prCreation: 'immediate',
  rangeStrategy: 'auto',
  prHourlyLimit: 5,
  prConcurrentLimit: 5,
  requiredStatusChecks: null, // bors will always be pending and this feature is only partially implemented so setting to not wait on pr status
  automergeType: 'pr-comment',
  automergeComment: 'bors r+',
  labels: ['chore', 'renovate 🎨'],
  npm: {
    fileMatch: ['(^|/)package.json$', '(^|/)package.dist.json$']
  },
  packageRules: [
    {
      sourceUrlPrefixes: ['https://github.com/middyjs/middy'],
      groupName: 'Middy monorepo packages'
    },
    {
      packageNames: ['aws-appsync'],
      allowedVersions: '4.0.1' // we don't trust them :\
    },
    {
      paths: ['e2e/**'],
      packageNames: ['webpack'],
      allowedVersions: '4.*' // https://github.com/env0/env0/pull/2872#issuecomment-761878435
    },
    {
      packageNames: ['@shiftcoders/dynamo-easy'],
      allowedVersions: '6.0.0-pr91.1' // https://github.com/shiftcode/dynamo-easy/issues/331
    },
    {
      packageNames: ['serverless-vpc-plugin'],
      allowedVersions: '0.10.0' // breaking changes in https://github.com/smoketurner/serverless-vpc-plugin/releases/tag/v1.0.0
    },
    {
      packageNames: ['@azure/identity'],
      allowedVersions: '1.0.3' // can be removed when v2 becomes stable. See: https://github.com/Azure/azure-sdk-for-js/issues/14346#issuecomment-825995352
    },
    {
      packageNames: ['antd', '@ant-design/icons', '@nivo/line', 'auth0-lock', 'react-datepicker'],
      automerge: false // always manually visually verify our ui library
    },
    {
      packageNames: ['@gitbeaker/node'],
      allowedVersions: '< 28.0.0 || > 28.0.1' // Random console print on those two versions https://github.com/jdalrymple/gitbeaker/pull/1413#discussion_r550482902, can be removed when 28.0.1 is not the latest version
    },
    {
      packageNames: ['hashicorp/terraform'], // We don't want to update our TF version automatically
      enabled: false
    }
  ],

  // Self-Hosted configuration
  branchPrefix: 'renovate-bump/',
  allowScripts: true,
  repositories: ['env0/env0']
};

Step logs:

Run renovatebot/github-action@v25.75.0
  with:
    configurationFile: .github/renovate-config.js
    token: ***
  env:
    LOG_LEVEL: debug
/usr/bin/docker run --env LOG_LEVEL --env RENOVATE_TOKEN=*** --env RENOVATE_CONFIG_FILE=/github-action/renovate-config.js --volume /home/runner/work/env0/env0/.github/renovate-config.js:/github-action/renovate-config.js --volume /var/run/docker.sock:/var/run/docker.sock --volume /tmp:/tmp --user ubuntu:121 --rm renovate/renovate:25.75.0-slim
Unable to find image 'renovate/renovate:25.75.0-slim' locally
25.75.0-slim: Pulling from renovate/renovate
16ec32c2132b: Already exists
ec0600f87592: Pulling fs layer
d96d71dcf296: Pulling fs layer
58b0cfa416b5: Pulling fs layer
08796e723b58: Pulling fs layer
bf33e2c1d21f: Pulling fs layer
4351c6bd0c0d: Pulling fs layer
ae8f77e2cedc: Pulling fs layer
e21848d3dc3f: Pulling fs layer
5f1a1a27976f: Pulling fs layer
a3bfb940c339: Pulling fs layer
f4195badfff8: Pulling fs layer
355ec66235d0: Pulling fs layer
8cb1d3326ae9: Pulling fs layer
60c7dde4912b: Pulling fs layer
08796e723b58: Waiting
bf33e2c1d21f: Waiting
4351c6bd0c0d: Waiting
ae8f77e2cedc: Waiting
e21848d3dc3f: Waiting
5f1a1a27976f: Waiting
a3bfb940c339: Waiting
f4195badfff8: Waiting
355ec66235d0: Waiting
8cb1d3326ae9: Waiting
60c7dde4912b: Waiting
d96d71dcf296: Verifying Checksum
d96d71dcf296: Download complete
ec0600f87592: Download complete
58b0cfa416b5: Verifying Checksum
58b0cfa416b5: Download complete
ec0600f87592: Pull complete
d96d71dcf296: Pull complete
4351c6bd0c0d: Verifying Checksum
4351c6bd0c0d: Download complete
08796e723b58: Verifying Checksum
08796e723b58: Download complete
bf33e2c1d21f: Verifying Checksum
bf33e2c1d21f: Download complete
ae8f77e2cedc: Verifying Checksum
ae8f77e2cedc: Download complete
e21848d3dc3f: Verifying Checksum
e21848d3dc3f: Download complete
5f1a1a27976f: Verifying Checksum
5f1a1a27976f: Download complete
a3bfb940c339: Verifying Checksum
a3bfb940c339: Download complete
355ec66235d0: Verifying Checksum
355ec66235d0: Download complete
58b0cfa416b5: Pull complete
f4195badfff8: Verifying Checksum
f4195badfff8: Download complete
8cb1d3326ae9: Verifying Checksum
8cb1d3326ae9: Download complete
60c7dde4912b: Verifying Checksum
60c7dde4912b: Download complete
08796e723b58: Pull complete
bf33e2c1d21f: Pull complete
4351c6bd0c0d: Pull complete
ae8f77e2cedc: Pull complete
e21848d3dc3f: Pull complete
5f1a1a27976f: Pull complete
a3bfb940c339: Pull complete
f4195badfff8: Pull complete
355ec66235d0: Pull complete
8cb1d3326ae9: Pull complete
60c7dde4912b: Pull complete
Digest: sha256:362bc56e12faecabb4c5c731266730b1840cb96ecfc007b700bcf5c1cff16ca0
Status: Downloaded newer image for renovate/renovate:25.75.0-slim
DEBUG: Using RE2 as regex engine
DEBUG: Parsing configs
DEBUG: File config
       "config": {}
DEBUG: CLI config
       "config": {}
DEBUG: Env config
       "config": {"hostRules": [], "binarySource": "docker", "token": "***********"}
DEBUG: Combined config
       "config": {"hostRules": [], "binarySource": "docker", "token": "***********"}
DEBUG: Using default github endpoint: https://api.github.com/
DEBUG: GitHub 404
       "url": "https://api.github.com/user/emails"
DEBUG: Cannot read user/emails endpoint on GitHub to retrieve gitAuthor
DEBUG: Authenticated as GitHub user: bot-env0
DEBUG: Using default gitAuthor: Renovate Bot <renovate@whitesourcesoftware.com>
DEBUG: Adding token authentication for api.github.com to hostRules
DEBUG: Using baseDir: /tmp/renovate
DEBUG: Using cacheDir: /tmp/renovate/cache
DEBUG: Initializing Renovate internal cache into /tmp/renovate/cache/renovate/renovate-cache-v1
DEBUG: Commits limit = null
 WARN: No repositories found - did you want to run with flag --autodiscover?
DEBUG: Renovate exiting
viceice commented 3 years ago

Please open a discussion in main renovate repo, as you have config issues with aren't related to the action.