Coder Social home page Coder Social logo

tiagodanin / add-license-bot Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 2.0 715 KB

Generate LICENSE file from package.json

Home Page: https://tiagodanin.github.io/Add-License-Bot/

License: MIT License

JavaScript 95.33% Shell 4.67%
github-app github-bot license probot probot-app

add-license-bot's Introduction

Hey!

  • πŸ–₯ Mobile Developer at Idopterlabs
  • πŸ–₯ Independent Cyber Security Researcher at HackerOne
  • πŸ‘¨β€πŸŽ“ Instituto Federal do ParΓ‘ (IFPA) - Technologist degree in system analysis and development

metrics

add-license-bot's People

Contributors

dependabot[bot] avatar imgbotapp avatar renovate-bot avatar tiagodanin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

add-license-bot's Issues

Open a Pull Request instead of committing directly to master

Hi @TiagoDanin. This bot is awesome! Thanks for creating it.

When I installed it, I expected to see a Pull Request but instead I see a commit right on the master branch. This is faster and convenient, but it didn't give me an opportunity as the project owner to review the change before merging.

I know it will be more work to open a pull request, but that seems like a more suitable behavior.

Public app doesn't seem to work, tests failing

I tried linking the public app to a test public repo I made to check out the license bot as it would be great to use, it doesn't seem to do anything to the main / on opening a PR etc. (not sure when it is meant to run as it isn't in the readme).

I then grabbed the repo to try run it locally, and on adding to the repo I get the following error (full traceback at bottom):

ERROR (event): Cannot read property 'repos' of undefined
    TypeError: Cannot read property 'repos' of undefined
        at checkFiles (/home/jethro/Downloads/Add-License-Bot-master/index.js:53:34)
        at /home/jethro/Downloads/Add-License-Bot-master/index.js:119:10
        at /home/jethro/Downloads/Add-License-Bot-master/node_modules/@octokit/webhooks/dist-node/index.js:115:14
        at processTicksAndRejections (internal/process/task_queues.js:95:5)
        at async Promise.all (index 0)

Running tests locally gives the following warnings / errors:

  index.js:85:33
  ⚠   29:6   Prefer await to then()/catch()/finally().                                 promise/prefer-await-to-then
  ⚠   42:8   Prefer await to then()/catch()/finally().                                 promise/prefer-await-to-then
  ⚠   46:6   Prefer await to then()/catch()/finally().                                 promise/prefer-await-to-then
  ⚠   53:21  Unexpected await inside a loop.                                           no-await-in-loop
  ⚠   61:47  Prefer await to then()/catch()/finally().                                 promise/prefer-await-to-then
  ⚠  101:6   Prefer await to then()/catch()/finally().                                 promise/prefer-await-to-then
  ⚠  119:4   Unexpected await inside a loop.                                           no-await-in-loop
  βœ–   85:33  unicorn/no-fn-reference-in-iterator rule is disabled but never reported.  eslint-comments/no-unused-disable
  βœ–   86:41  Do not pass function licenseType directly to .find(…).                    unicorn/no-array-callback-reference

  7 warnings
  2 errors
npm ERR! Test failed.  See above for more details.

Is this an issue with the bot or has GitHub changed and caused this to break? Happy to help fix it if you can help out as it would be super useful for automatically adding licences on PRs to our current repos

Thanks!



Full traceback:

INFO (probot): Yay, the app was loaded!
"integration_installation_repositories" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
INFO (server): Running Probot v11.3.0 (Node.js: v14.17.2)
INFO (server): Forwarding https://smee.io/bkDqy4wIZtMi99U to http://localhost:3000/
INFO (server): Listening on http://localhost:3000
INFO (server): Connected
INFO (http): GET /probot 200 - 89ms
INFO (http): GET /primer.css 304 - 7ms
INFO (http): GET /robot.svg 304 - 4ms
INFO (http): GET /probot-head.png 200 - 9ms
INFO (probot): Analyzed
ERROR (event): Cannot read property 'repos' of undefined
    TypeError: Cannot read property 'repos' of undefined
        at checkFiles (/home/jethro/Downloads/Add-License-Bot-master/index.js:53:34)
        at /home/jethro/Downloads/Add-License-Bot-master/index.js:119:10
        at /home/jethro/Downloads/Add-License-Bot-master/node_modules/@octokit/webhooks/dist-node/index.js:115:14
        at processTicksAndRejections (internal/process/task_queues.js:95:5)
        at async Promise.all (index 0)
event: {
    id: "d46941d0-dfd8-11eb-9091-b72179a6999d"
    name: "installation_repositories"
    payload: {
      "action": "added",
      "installation": {
        "id": 18150662,
        "account": {
          "login": "jethror1",
          "id": 45037268,
          "node_id": "MDQ6VXNlcjQ1MDM3MjY4",
          "avatar_url": "https://avatars.githubusercontent.com/u/45037268?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/jethror1",
          "html_url": "https://github.com/jethror1",
          "followers_url": "https://api.github.com/users/jethror1/followers",
          "following_url": "https://api.github.com/users/jethror1/following{/other_user}",
          "gists_url": "https://api.github.com/users/jethror1/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/jethror1/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/jethror1/subscriptions",
          "organizations_url": "https://api.github.com/users/jethror1/orgs",
          "repos_url": "https://api.github.com/users/jethror1/repos",
          "events_url": "https://api.github.com/users/jethror1/events{/privacy}",
          "received_events_url": "https://api.github.com/users/jethror1/received_events",
          "type": "User",
          "site_admin": false
        },
        "repository_selection": "selected",
        "access_tokens_url": "https://api.github.com/app/installations/18150662/access_tokens",
        "repositories_url": "https://api.github.com/installation/repositories",
        "html_url": "https://github.com/settings/installations/18150662",
        "app_id": 125554,
        "app_slug": "add-license-jr",
        "target_id": 45037268,
        "target_type": "User",
        "permissions": {
          "contents": "write",
          "metadata": "read"
        },
        "events": [
          "push"
        ],
        "created_at": "2021-07-08T11:36:35.000+01:00",
        "updated_at": "2021-07-08T11:36:36.000+01:00",
        "single_file_name": null,
        "has_multiple_single_files": false,
        "single_file_paths": [],
        "suspended_by": null,
        "suspended_at": null
      },
      "repository_selection": "selected",
      "repositories_added": [
        {
          "id": 384089422,
          "node_id": "MDEwOlJlcG9zaXRvcnkzODQwODk0MjI=",
          "name": "test-licence-bot",
          "full_name": "jethror1/test-licence-bot",
          "private": false
        }
      ],
      "repositories_removed": [],
      "requester": null,
      "sender": {
        "login": "jethror1",
        "id": 45037268,
        "node_id": "MDQ6VXNlcjQ1MDM3MjY4",
        "avatar_url": "https://avatars.githubusercontent.com/u/45037268?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/jethror1",
        "html_url": "https://github.com/jethror1",
        "followers_url": "https://api.github.com/users/jethror1/followers",
        "following_url": "https://api.github.com/users/jethror1/following{/other_user}",
        "gists_url": "https://api.github.com/users/jethror1/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/jethror1/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/jethror1/subscriptions",
        "organizations_url": "https://api.github.com/users/jethror1/orgs",
        "repos_url": "https://api.github.com/users/jethror1/repos",
        "events_url": "https://api.github.com/users/jethror1/events{/privacy}",
        "received_events_url": "https://api.github.com/users/jethror1/received_events",
        "type": "User",
        "site_admin": false
      }
    }
}
INFO (http): POST / 500 - 26ms
    err: {
      "type": "Error",
      "message": "failed with status code 500",
      "stack":
          Error: failed with status code 500
              at ServerResponse.onResFinished (/home/jethro/Downloads/Add-License-Bot-master/node_modules/pino-http/logger.js:73:38)
              at ServerResponse.emit (events.js:387:35)
              at ServerResponse.emit (domain.js:470:12)
              at onFinish (_http_outgoing.js:792:10)
              at callback (internal/streams/writable.js:513:21)
              at afterWrite (internal/streams/writable.js:466:5)
              at afterWriteTick (internal/streams/writable.js:453:10)
              at processTicksAndRejections (internal/process/task_queues.js:81:21)
    }
ERROR (server): Internal Server Error
    Error: Internal Server Error
        at Request.callback (/home/jethro/Downloads/Add-License-Bot-master/node_modules/superagent/lib/node/index.js:883:15)
        at IncomingMessage.<anonymous> (/home/jethro/Downloads/Add-License-Bot-master/node_modules/superagent/lib/node/index.js:1126:20)
        at IncomingMessage.emit (events.js:387:35)
        at IncomingMessage.emit (domain.js:470:12)
        at endReadableNT (internal/streams/readable.js:1317:12)
        at processTicksAndRejections (internal/process/task_queues.js:82:21)
status: 500
INFO (probot): Analyzed
ERROR (event): Cannot read property 'repos' of undefined
    TypeError: Cannot read property 'repos' of undefined
        at checkFiles (/home/jethro/Downloads/Add-License-Bot-master/index.js:53:34)
        at /home/jethro/Downloads/Add-License-Bot-master/index.js:127:10
        at /home/jethro/Downloads/Add-License-Bot-master/node_modules/@octokit/webhooks/dist-node/index.js:115:14
        at processTicksAndRejections (internal/process/task_queues.js:95:5)
        at async Promise.all (index 0)
event: {
    id: "04f81290-dfd9-11eb-98d1-aebc3a959b10"
    name: "push"
    payload: {
      "ref": "refs/heads/test-branch",
      "before": "0000000000000000000000000000000000000000",
      "after": "5184075f12c7e54e14d958ac9aa42bb8b81d1590",
      "repository": {
        "id": 384089422,
        "node_id": "MDEwOlJlcG9zaXRvcnkzODQwODk0MjI=",
        "name": "test-licence-bot",
        "full_name": "jethror1/test-licence-bot",
        "private": false,
        "owner": {
          "name": "jethror1",
          "email": "[email protected]",
          "login": "jethror1",
          "id": 45037268,
          "node_id": "MDQ6VXNlcjQ1MDM3MjY4",
          "avatar_url": "https://avatars.githubusercontent.com/u/45037268?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/jethror1",
          "html_url": "https://github.com/jethror1",
          "followers_url": "https://api.github.com/users/jethror1/followers",
          "following_url": "https://api.github.com/users/jethror1/following{/other_user}",
          "gists_url": "https://api.github.com/users/jethror1/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/jethror1/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/jethror1/subscriptions",
          "organizations_url": "https://api.github.com/users/jethror1/orgs",
          "repos_url": "https://api.github.com/users/jethror1/repos",
          "events_url": "https://api.github.com/users/jethror1/events{/privacy}",
          "received_events_url": "https://api.github.com/users/jethror1/received_events",
          "type": "User",
          "site_admin": false
        },
        "html_url": "https://github.com/jethror1/test-licence-bot",
        "description": null,
        "fork": false,
        "url": "https://github.com/jethror1/test-licence-bot",
        "forks_url": "https://api.github.com/repos/jethror1/test-licence-bot/forks",
        "keys_url": "https://api.github.com/repos/jethror1/test-licence-bot/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/jethror1/test-licence-bot/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/jethror1/test-licence-bot/teams",
        "hooks_url": "https://api.github.com/repos/jethror1/test-licence-bot/hooks",
        "issue_events_url": "https://api.github.com/repos/jethror1/test-licence-bot/issues/events{/number}",
        "events_url": "https://api.github.com/repos/jethror1/test-licence-bot/events",
        "assignees_url": "https://api.github.com/repos/jethror1/test-licence-bot/assignees{/user}",
        "branches_url": "https://api.github.com/repos/jethror1/test-licence-bot/branches{/branch}",
        "tags_url": "https://api.github.com/repos/jethror1/test-licence-bot/tags",
        "blobs_url": "https://api.github.com/repos/jethror1/test-licence-bot/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/jethror1/test-licence-bot/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/jethror1/test-licence-bot/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/jethror1/test-licence-bot/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/jethror1/test-licence-bot/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/jethror1/test-licence-bot/languages",
        "stargazers_url": "https://api.github.com/repos/jethror1/test-licence-bot/stargazers",
        "contributors_url": "https://api.github.com/repos/jethror1/test-licence-bot/contributors",
        "subscribers_url": "https://api.github.com/repos/jethror1/test-licence-bot/subscribers",
        "subscription_url": "https://api.github.com/repos/jethror1/test-licence-bot/subscription",
        "commits_url": "https://api.github.com/repos/jethror1/test-licence-bot/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/jethror1/test-licence-bot/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/jethror1/test-licence-bot/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/jethror1/test-licence-bot/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/jethror1/test-licence-bot/contents/{+path}",
        "compare_url": "https://api.github.com/repos/jethror1/test-licence-bot/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/jethror1/test-licence-bot/merges",
        "archive_url": "https://api.github.com/repos/jethror1/test-licence-bot/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/jethror1/test-licence-bot/downloads",
        "issues_url": "https://api.github.com/repos/jethror1/test-licence-bot/issues{/number}",
        "pulls_url": "https://api.github.com/repos/jethror1/test-licence-bot/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/jethror1/test-licence-bot/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/jethror1/test-licence-bot/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/jethror1/test-licence-bot/labels{/name}",
        "releases_url": "https://api.github.com/repos/jethror1/test-licence-bot/releases{/id}",
        "deployments_url": "https://api.github.com/repos/jethror1/test-licence-bot/deployments",
        "created_at": 1625740715,
        "updated_at": "2021-07-08T10:39:38Z",
        "pushed_at": 1625740874,
        "git_url": "git://github.com/jethror1/test-licence-bot.git",
        "ssh_url": "[email protected]:jethror1/test-licence-bot.git",
        "clone_url": "https://github.com/jethror1/test-licence-bot.git",
        "svn_url": "https://github.com/jethror1/test-licence-bot",
        "homepage": null,
        "size": 0,
        "stargazers_count": 0,
        "watchers_count": 0,
        "language": null,
        "has_issues": true,
        "has_projects": true,
        "has_downloads": true,
        "has_wiki": true,
        "has_pages": false,
        "forks_count": 0,
        "mirror_url": null,
        "archived": false,
        "disabled": false,
        "open_issues_count": 0,
        "license": null,
        "forks": 0,
        "open_issues": 0,
        "watchers": 0,
        "default_branch": "main",
        "stargazers": 0,
        "master_branch": "main"
      },
      "pusher": {
        "name": "jethror1",
        "email": "[email protected]"
      },
      "sender": {
        "login": "jethror1",
        "id": 45037268,
        "node_id": "MDQ6VXNlcjQ1MDM3MjY4",
        "avatar_url": "https://avatars.githubusercontent.com/u/45037268?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/jethror1",
        "html_url": "https://github.com/jethror1",
        "followers_url": "https://api.github.com/users/jethror1/followers",
        "following_url": "https://api.github.com/users/jethror1/following{/other_user}",
        "gists_url": "https://api.github.com/users/jethror1/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/jethror1/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/jethror1/subscriptions",
        "organizations_url": "https://api.github.com/users/jethror1/orgs",
        "repos_url": "https://api.github.com/users/jethror1/repos",
        "events_url": "https://api.github.com/users/jethror1/events{/privacy}",
        "received_events_url": "https://api.github.com/users/jethror1/received_events",
        "type": "User",
        "site_admin": false
      },
      "installation": {
        "id": 18150662,
        "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMTgxNTA2NjI="
      },
      "created": true,
      "deleted": false,
      "forced": false,
      "base_ref": null,
      "compare": "https://github.com/jethror1/test-licence-bot/commit/5184075f12c7",
      "commits": [
        {
          "id": "5184075f12c7e54e14d958ac9aa42bb8b81d1590",
          "tree_id": "daa4d15d31fd0c3cd23c7f136f74fdcf7763a95e",
          "distinct": true,
          "message": "Create file",
          "timestamp": "2021-07-08T11:41:14+01:00",
          "url": "https://github.com/jethror1/test-licence-bot/commit/5184075f12c7e54e14d958ac9aa42bb8b81d1590",
          "author": {
            "name": "jethror1",
            "email": "[email protected]",
            "username": "jethror1"
          },
          "committer": {
            "name": "GitHub",
            "email": "[email protected]",
            "username": "web-flow"
          },
          "added": [
            "file"
          ],
          "removed": [],
          "modified": []
        }
      ],
      "head_commit": {
        "id": "5184075f12c7e54e14d958ac9aa42bb8b81d1590",
        "tree_id": "daa4d15d31fd0c3cd23c7f136f74fdcf7763a95e",
        "distinct": true,
        "message": "Create file",
        "timestamp": "2021-07-08T11:41:14+01:00",
        "url": "https://github.com/jethror1/test-licence-bot/commit/5184075f12c7e54e14d958ac9aa42bb8b81d1590",
        "author": {
          "name": "jethror1",
          "email": "[email protected]",
          "username": "jethror1"
        },
        "committer": {
          "name": "GitHub",
          "email": "[email protected]",
          "username": "web-flow"
        },
        "added": [
          "file"
        ],
        "removed": [],
        "modified": []
      }
    }
}
INFO (http): POST / 500 - 32ms
    err: {
      "type": "Error",
      "message": "failed with status code 500",
      "stack":
          Error: failed with status code 500
              at ServerResponse.onResFinished (/home/jethro/Downloads/Add-License-Bot-master/node_modules/pino-http/logger.js:73:38)
              at ServerResponse.emit (events.js:387:35)
              at ServerResponse.emit (domain.js:470:12)
              at onFinish (_http_outgoing.js:792:10)
              at callback (internal/streams/writable.js:513:21)
              at afterWrite (internal/streams/writable.js:466:5)
              at afterWriteTick (internal/streams/writable.js:453:10)
              at processTicksAndRejections (internal/process/task_queues.js:81:21)
    }
ERROR (server): Internal Server Error
    Error: Internal Server Error
        at Request.callback (/home/jethro/Downloads/Add-License-Bot-master/node_modules/superagent/lib/node/index.js:883:15)
        at IncomingMessage.<anonymous> (/home/jethro/Downloads/Add-License-Bot-master/node_modules/superagent/lib/node/index.js:1126:20)
        at IncomingMessage.emit (events.js:387:35)
        at IncomingMessage.emit (domain.js:470:12)
        at endReadableNT (internal/streams/readable.js:1317:12)
        at processTicksAndRejections (internal/process/task_queues.js:82:21)
status: 500

Bot stopped working!

2019-09-12T02:41:50.619648+00:00 app[web.1]:       at Application.<anonymous> (/app/node_modules/probot/lib/application.js:153:50)
2019-09-12T02:41:50.619675+00:00 app[web.1]:       at step (/app/node_modules/probot/lib/application.js:43:23)
2019-09-12T02:41:50.619679+00:00 app[web.1]:       at Object.next (/app/node_modules/probot/lib/application.js:24:53)
2019-09-12T02:41:50.619681+00:00 app[web.1]:       at fulfilled (/app/node_modules/probot/lib/application.js:15:58)
2019-09-12T02:41:50.619683+00:00 app[web.1]:       at processTicksAndRejections (internal/process/task_queues.js:93:5)
2019-09-12T02:41:50.622569+00:00 app[web.1]: 02:41:50.622Z  INFO http: POST / 500 - 20.79 ms (id=6b8ea3f2-616c-4051-8b7a-5fd60edc6d46)
2019-09-12T02:41:50.623831+00:00 app[web.1]: 02:41:50.623Z TRACE http:  (id=6b8ea3f2-616c-4051-8b7a-5fd60edc6d46, res.duration=20.79)
2019-09-12T02:41:50.623835+00:00 app[web.1]:   HTTP/1.1 500 Internal Server Error
2019-09-12T02:41:50.623837+00:00 app[web.1]:   x-powered-by: Express
2019-09-12T02:41:50.623839+00:00 app[web.1]:   x-request-id: 6b8ea3f2-616c-4051-8b7a-5fd60edc6d46
2019-09-12T02:42:35.150288+00:00 heroku[router]: at=info method=POST path="/" host=add-license-bot.herokuapp.com request_id=XXXXXXXXXXXXXXX fwd="XXXXXXXXXXXXXXX" dyno=web.1 connect=0ms service=5ms status=500 bytes=217 protocol=https
2019-09-12T02:42:35.146920+00:00 app[web.1]: 02:42:35.146Z TRACE http: POST / (id=69224ee6-d580-49a3-ba85-92ae83e22908, req.remoteAddress=::ffff:10.165.120.149, req.remotePort=31315)
2019-09-12T02:42:35.146933+00:00 app[web.1]:   POST / HTTP/1.1
2019-09-12T02:42:35.146936+00:00 app[web.1]:   host: add-license-bot.herokuapp.com
2019-09-12T02:42:35.146938+00:00 app[web.1]:   connection: close
2019-09-12T02:42:35.146940+00:00 app[web.1]:   accept: */*
2019-09-12T02:42:35.146942+00:00 app[web.1]:   user-agent: GitHub-Hookshot/bc1ff85
2019-09-12T02:42:35.146944+00:00 app[web.1]:   x-github-event: push
2019-09-12T02:42:35.146947+00:00 app[web.1]:   x-github-delivery: XXXXXXXXXXXXXXX
2019-09-12T02:42:35.146949+00:00 app[web.1]:   content-type: application/json
2019-09-12T02:42:35.146952+00:00 app[web.1]:   x-hub-signature: sha1=e407512b39057dc1b1308fd5850d653328a3f349
2019-09-12T02:42:35.146954+00:00 app[web.1]:   x-request-id: 6XXXXXXXXXXXXXXX
2019-09-12T02:42:35.146956+00:00 app[web.1]:   x-forwarded-for: 192XXXXXXXXXXXXXXX
2019-09-12T02:42:35.146958+00:00 app[web.1]:   x-forwarded-proto: https
2019-09-12T02:42:35.146960+00:00 app[web.1]:   x-forwarded-port: 443
2019-09-12T02:42:35.146962+00:00 app[web.1]:   via: 1.1 vegur
2019-09-12T02:42:35.146964+00:00 app[web.1]:   connect-time: 0
2019-09-12T02:42:35.146967+00:00 app[web.1]:   x-request-start: 156XXXXXXXXXXXXXXX
2019-09-12T02:42:35.146969+00:00 app[web.1]:   total-route-time: 0
2019-09-12T02:42:35.146971+00:00 app[web.1]:   content-length: 7416
2019-09-12T02:42:35.147891+00:00 app[web.1]: 02:42:35.147Z DEBUG probot: Webhook received
2019-09-12T02:42:35.147894+00:00 app[web.1]:   event: {
2019-09-12T02:42:35.147896+00:00 app[web.1]:     "event": "push",
2019-09-12T02:42:35.147899+00:00 app[web.1]:     "id": "f99b48XXXXXXXXXXXXXXX",
2019-09-12T02:42:35.147901+00:00 app[web.1]:     "installation": 3XXXXXXXXXXXXXXX,
2019-09-12T02:42:35.147903+00:00 app[web.1]:     "repository": "TiagoDanin/TestGithub"
2019-09-12T02:42:35.147905+00:00 app[web.1]:   }
2019-09-12T02:42:35.148924+00:00 app[web.1]: 02:42:35.148Z  INFO probot: Analyzed { owner: 'TiagoDanin', repo: 'TestGithub' }
2019-09-12T02:42:35.149653+00:00 app[web.1]: 02:42:35.149Z ERROR event: github.repos.getContent is not a function (id=f99b489c-d506-1XXXXXXXXXXXXXXXee5f)
2019-09-12T02:42:35.149656+00:00 app[web.1]:   TypeError: github.repos.getContent is not a function
2019-09-12T02:42:35.149658+00:00 app[web.1]:       at checkFiles (/app/index.js:53:35)
2019-09-12T02:42:35.149661+00:00 app[web.1]:       at /app/index.js:126:10
2019-09-12T02:42:35.149663+00:00 app[web.1]:       at Application.<anonymous> (/app/node_modules/probot/lib/application.js:153:50)
2019-09-12T02:42:35.149665+00:00 app[web.1]:       at step (/app/node_modules/probot/lib/application.js:43:23)
2019-09-12T02:42:35.149667+00:00 app[web.1]:       at Object.next (/app/node_modules/probot/lib/application.js:24:53)
2019-09-12T02:42:35.149669+00:00 app[web.1]:       at fulfilled (/app/node_modules/probot/lib/application.js:15:58)
2019-09-12T02:42:35.149671+00:00 app[web.1]:       at processTicksAndRejections (internal/process/task_queues.js:93:5)
2019-09-12T02:42:35.149673+00:00 app[web.1]:   --
2019-09-12T02:42:35.149675+00:00 app[web.1]:   event: {
2019-09-12T02:42:35.149677+00:00 app[web.1]:     "event": "push",
2019-09-12T02:42:35.149679+00:00 app[web.1]:     "id": "f99b4XXXXXXXXXXXXXXXe5f",
2019-09-12T02:42:35.149681+00:00 app[web.1]:     "installation": 38XXXXXXXXXXXXXXX,
2019-09-12T02:42:35.149683+00:00 app[web.1]:     "repository": "TiagoDanin/TestGithub"
2019-09-12T02:42:35.149685+00:00 app[web.1]:   }
2019-09-12T02:42:35.150055+00:00 app[web.1]: 02:42:35.149Z ERROR probot: github.repos.getContent is not a function
2019-09-12T02:42:35.150059+00:00 app[web.1]:   TypeError: github.repos.getContent is not a function
2019-09-12T02:42:35.150061+00:00 app[web.1]:       at checkFiles (/app/index.js:53:35)
2019-09-12T02:42:35.150063+00:00 app[web.1]:       at /app/index.js:126:10
2019-09-12T02:42:35.150066+00:00 app[web.1]:       at Application.<anonymous> (/app/node_modules/probot/lib/application.js:153:50)
2019-09-12T02:42:35.150068+00:00 app[web.1]:       at step (/app/node_modules/probot/lib/application.js:43:23)
2019-09-12T02:42:35.150070+00:00 app[web.1]:       at Object.next (/app/node_modules/probot/lib/application.js:24:53)
2019-09-12T02:42:35.150072+00:00 app[web.1]:       at fulfilled (/app/node_modules/probot/lib/application.js:15:58)
2019-09-12T02:42:35.150074+00:00 app[web.1]:       at processTicksAndRejections (internal/process/task_queues.js:93:5)
2019-09-12T02:42:35.150889+00:00 app[web.1]: 02:42:35.150Z  INFO http: POST / 500 - 3.78 ms (id=692XXXXXXXXXXXXXXX908)
2019-09-12T02:42:35.151271+00:00 app[web.1]: 02:42:35.151Z TRACE http:  (id=69XXXXXXXXXXXXXXX2908, res.duration=3.78)
2019-09-12T02:42:35.151275+00:00 app[web.1]:   HTTP/1.1 500 Internal Server Error
2019-09-12T02:42:35.151278+00:00 app[web.1]:   x-powered-by: Express
2019-09-12T02:42:35.151280+00:00 app[web.1]:   x-request-id: 69224XXXXXXXXXXXXXXX908

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

npm
package.json
  • choosealicense-list ^1.2.0
  • probot 11.3.0
  • jest 26.6.3
  • nodemon ^2.0.7
  • smee-client 1.2.2
  • xo ^0.39.1
  • node >= v14.16.1
travis
.travis.yml
  • node 12
  • node 10

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.