auth0 / repo-supervisor

Scan your code for security misconfiguration, search for passwords and secrets. :mag:
MIT License
637 stars 88 forks source link

repo-supervisor responds "Payload not processed, invalid type." #21

Closed ramya-ravula-ctr closed 6 years ago

ramya-ravula-ctr commented 6 years ago

when i created pull request on my github repo (contains only README and .json file as of now). Repo-supervisor responds back with "Payload not processed, invalid type."

Pull request payload from github:

Headers:

Request URL: https://xxxxx.ngrok.io/
Request method: POST
content-type: application/x-www-form-urlencoded
Expect: 
User-Agent: GitHub-Hookshot/1b97cfb
X-GitHub-Delivery: d5ddd670-6047-11e8-874a-cc7b7756e160
X-GitHub-Event: pull_request

Payload:

{
  "action": "opened",
  "number": 5,
  "pull_request": {
    "url": "https://api.github.com/repos/<org>/<repo>/pulls/5",
    "id": 190661264,
    "html_url": "https://github.com/<org>/<repo>/pull/5",
    "diff_url": "https://github.com/<org>/<repo>/pull/5.diff",
    "patch_url": "https://github.com/<org>/<repo>/pull/5.patch",
    "issue_url": "https://api.github.com/repos/<org>/<repo>/issues/5",
    "number": 5,
    "state": "open",
    "locked": false,
    "title": "added json file",
    "user": {
      "login": "ramya-ravula-ctr",
      "id": 3xxxxxx,
      "avatar_url": "https://avatars1.githubusercontent.com/u/38xxxxxx?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/<username>",
      "html_url": "https://github.com/<username>",
      "followers_url": "https://api.github.com/users/<username>/followers",
      "following_url": "https://api.github.com/users/<username>/following{/other_user}",
      "gists_url": "https://api.github.com/users/<username>/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/<username>/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/<username>/subscriptions",
      "organizations_url": "https://api.github.com/users/<username>/orgs",
      "repos_url": "https://api.github.com/users/<username>/repos",
      "events_url": "https://api.github.com/users/<username>/events{/privacy}",
      "received_events_url": "https://api.github.com/users/<username>/received_events",
      "type": "User",
      "site_admin": false
    },
    "body": "",
    "created_at": "2018-05-25T18:17:08Z",
    "updated_at": "2018-05-25T18:17:08Z",
    "closed_at": null,
    "merged_at": null,
    "merge_commit_sha": null,
    "assignee": null,
    "assignees": [

    ],
    "requested_reviewers": [

    ],
    "requested_teams": [

    ],
    "labels": [

    ],
    "milestone": null,
    "commits_url": "https://api.github.com/repos/<org>/<repo>/pulls/5/commits",
    "review_comments_url": "https://api.github.com/repos/<org>/<repo>/pulls/5/comments",
    "review_comment_url": "https://api.github.com/repos/T<org>/<repo>/pulls/comments{/number}",
    "comments_url": "https://api.github.com/repos/ToyotaResearchInstitute/test-repo-supervisor/issues/5/comments",
    "statuses_url": "https://api.github.com/repos/<org>/<repo>/statuses/4043ad474ae17c89cc5283e291481d05ae6724aa",
    "head": {
      "label": "org:branch",
      "ref": "branch",
      "sha": "sha id",
      "user": {
        "login": "org",
        "id": 1xxxxxxx,
        "avatar_url": "https://avatars1.githubusercontent.com/u/xxxxxxxx?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/<org>",
        "html_url": "https://github.com/<org>",
        "followers_url": "https://api.github.com/users/<org>/followers",
        "following_url": "https://api.github.com/users/<org>/following{/other_user}",
        "gists_url": "https://api.github.com/users/<org>/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/<org>/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/<org>/subscriptions",
        "organizations_url": "https://api.github.com/users/<org>/orgs",
        "repos_url": "https://api.github.com/users/<org>/repos",
        "events_url": "https://api.github.com/users/<org>/events{/privacy}",
        "received_events_url": "https://api.github.com/users/<org>/received_events",
        "type": "Organization",
        "site_admin": false
      },
      "repo": {
        "id": 1xxxxxx07,
        "name": "<repo>",
        "full_name": "<org>/<repo>",
        "owner": {
          "login": "<org>",
          "id": 16724551,
          "avatar_url": "https://avatars1.githubusercontent.com/u/xxxxxxxx?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/<org>",
          "html_url": "https://github.com/<org>",
          "followers_url": "https://api.github.com/users/<org>/followers",
          "following_url": "https://api.github.com/users/<org>/following{/other_user}",
          "gists_url": "https://api.github.com/users/<org>/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/<org>/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/<org>/subscriptions",
          "organizations_url": "https://api.github.com/users/<org>/orgs",
          "repos_url": "https://api.github.com/users/<org>/repos",
          "events_url": "https://api.github.com/users/<org>/events{/privacy}",
          "received_events_url": "https://api.github.com/users/<org>/received_events",
          "type": "Organization",
          "site_admin": false
        },
        "private": true,
        "html_url": "https://github.com/<org>/<repo>",
        "description": null,
        "fork": false,
        "url": "https://api.github.com/repos/<org>/<repo>",
        "forks_url": "https://api.github.com/repos/<org>/<repo>/forks",
        "keys_url": "https://api.github.com/repos/<org>/<repo>/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/<org>/<repo>/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/<org>/<repo>/teams",
        "hooks_url": "https://api.github.com/repos/<org>/<repo>/hooks",
        "issue_events_url": "https://api.github.com/repos/<org>/<repo>/issues/events{/number}",
        "events_url": "https://api.github.com/repos/<org>/<repo>/events",
        "assignees_url": "https://api.github.com/repos/T<org>/<repo>/assignees{/user}",
        "branches_url": "https://api.github.com/repos/<org>/<repo>/branches{/branch}",
        "tags_url": "https://api.github.com/repos/<org>/<repo>/tags",
        "blobs_url": "https://api.github.com/repos/<org>/<repo>/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/<org>/<repo>/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/<org>/<repo>/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/<org>/<repo>/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/<org>/<repo>/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/<org>/<repo>/languages",
        "stargazers_url": "https://api.github.com/repos/<org>/<repo>/stargazers",
        "contributors_url": "https://api.github.com/repos/<org>/<repo>/contributors",
        "subscribers_url": "https://api.github.com/repos/<org>/<repo>/subscribers",
        "subscription_url": "https://api.github.com/repos/<org>/<repo>/subscription",
        "commits_url": "https://api.github.com/repos/<org>/<repo>/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/<org>/<repo>/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/<org>/<repo>/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/<org>/<repo>/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/<org>/<repo>/contents/{+path}",
        "compare_url": "https://api.github.com/repos/<org>/<repo>/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/<org>/<repo>/merges",
        "archive_url": "https://api.github.com/repos/<org>/<repo>/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/<org>/<repo>/downloads",
        "issues_url": "https://api.github.com/repos/<org>/<repo>/issues{/number}",
        "pulls_url": "https://api.github.com/repos/<org>/<repo>/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/<org>/<repo>/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/<org>/<repo>/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/<org>/<repo>/labels{/name}",
        "releases_url": "https://api.github.com/repos/<org>/<repo>/releases{/id}",
        "deployments_url": "https://api.github.com/repos/<org>/<repo>/deployments",
        "created_at": "2018-05-24T18:28:33Z",
        "updated_at": "2018-05-24T18:28:35Z",
        "pushed_at": "2018-05-25T18:06:29Z",
        "git_url": "git://github.com/<org>/<repo>.git",
        "ssh_url": "git@github.com:<org>/<repo>.git",
        "clone_url": "https://github.com/<org>/<repo>.git",
        "svn_url": "https://github.com/<org>/<repo>",
        "homepage": null,
        "size": 2,
        "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,
        "open_issues_count": 3,
        "license": null,
        "forks": 0,
        "open_issues": 3,
        "watchers": 0,
        "default_branch": "master"
      }
    },
    "base": {
      "label": "<org>:master",
      "ref": "master",
      "sha": "<sha id>",
      "user": {
        "login": "<org>",
        "id": xxxxxxxx,
        "avatar_url": "https://avatars1.githubusercontent.com/u/xxxxxxxxx?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/<org>",
          "html_url": "https://github.com/<org>",
          "followers_url": "https://api.github.com/users/<org>/followers",
          "following_url": "https://api.github.com/users/<org>/following{/other_user}",
          "gists_url": "https://api.github.com/users/<org>/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/<org>/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/<org>/subscriptions",
          "organizations_url": "https://api.github.com/users/<org>/orgs",
          "repos_url": "https://api.github.com/users/<org>/repos",
          "events_url": "https://api.github.com/users/<org>/events{/privacy}",
          "received_events_url": "https://api.github.com/users/<org>/received_events",
          "type": "Organization",
          "site_admin": false
      },
      "repo": {
        "id": xxxxxxxxx,
        "name": "test-repo-supervisor",
        "full_name": "ToyotaResearchInstitute/test-repo-supervisor",
        "owner": {
          "login": "<org>",
          "id": 16724551,
          "avatar_url": "https://avatars1.githubusercontent.com/u/xxxxxxxx?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/<org>",
          "html_url": "https://github.com/<org>",
          "followers_url": "https://api.github.com/users/<org>/followers",
          "following_url": "https://api.github.com/users/<org>/following{/other_user}",
          "gists_url": "https://api.github.com/users/<org>/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/<org>/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/<org>/subscriptions",
          "organizations_url": "https://api.github.com/users/<org>/orgs",
          "repos_url": "https://api.github.com/users/<org>/repos",
          "events_url": "https://api.github.com/users/<org>/events{/privacy}",
          "received_events_url": "https://api.github.com/users/<org>/received_events",
          "type": "Organization",
          "site_admin": false
        },
        "private": true,
        "html_url": "https://github.com/<org>/<repo>",
        "description": null,
        "fork": false,
        "url": "https://api.github.com/repos/<org>/<repo>",
        "forks_url": "https://api.github.com/repos/<org>/<repo>/forks",
        "keys_url": "https://api.github.com/repos/<org>/<repo>/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/<org>/<repo>/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/<org>/<repo>/teams",
        "hooks_url": "https://api.github.com/repos/<org>/<repo>/hooks",
        "issue_events_url": "https://api.github.com/repos/<org>/<repo>/issues/events{/number}",
        "events_url": "https://api.github.com/repos/<org>/<repo>/events",
        "assignees_url": "https://api.github.com/repos/T<org>/<repo>/assignees{/user}",
        "branches_url": "https://api.github.com/repos/<org>/<repo>/branches{/branch}",
        "tags_url": "https://api.github.com/repos/<org>/<repo>/tags",
        "blobs_url": "https://api.github.com/repos/<org>/<repo>/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/<org>/<repo>/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/<org>/<repo>/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/<org>/<repo>/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/<org>/<repo>/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/<org>/<repo>/languages",
        "stargazers_url": "https://api.github.com/repos/<org>/<repo>/stargazers",
        "contributors_url": "https://api.github.com/repos/<org>/<repo>/contributors",
        "subscribers_url": "https://api.github.com/repos/<org>/<repo>/subscribers",
        "subscription_url": "https://api.github.com/repos/<org>/<repo>/subscription",
        "commits_url": "https://api.github.com/repos/<org>/<repo>/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/<org>/<repo>/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/<org>/<repo>/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/<org>/<repo>/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/<org>/<repo>/contents/{+path}",
        "compare_url": "https://api.github.com/repos/<org>/<repo>/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/<org>/<repo>/merges",
        "archive_url": "https://api.github.com/repos/<org>/<repo>/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/<org>/<repo>/downloads",
        "issues_url": "https://api.github.com/repos/<org>/<repo>/issues{/number}",
        "pulls_url": "https://api.github.com/repos/<org>/<repo>/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/<org>/<repo>/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/<org>/<repo>/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/<org>/<repo>/labels{/name}",
        "releases_url": "https://api.github.com/repos/<org>/<repo>/releases{/id}",
        "deployments_url": "https://api.github.com/repos/<org>/<repo>/deployments",
        "created_at": "2018-05-24T18:28:33Z",
        "updated_at": "2018-05-24T18:28:35Z",
        "pushed_at": "2018-05-25T18:06:29Z",
        "git_url": "git://github.com/<org>/<repo>.git",
        "ssh_url": "git@github.com:<org>/<repo>.git",
        "clone_url": "https://github.com/<org>/<repo>.git",
        "svn_url": "https://github.com/<org>/<repo>",
        "homepage": null,
        "size": 2,
        "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,
        "open_issues_count": 3,
        "license": null,
        "forks": 0,
        "open_issues": 3,
        "watchers": 0,
        "default_branch": "master"
      }
    },
    "_links": {
      "self": {
        "href": "https://api.github.com/repos/<org>/<repo>/pulls/5"
      },
      "html": {
        "href": "https://github.com/<org>/<repo>/pull/5"
      },
      "issue": {
        "href": "https://api.github.com/repos/<org>/<repo>/issues/5"
      },
      "comments": {
        "href": "https://api.github.com/repos/<org>/<repo>/issues/5/comments"
      },
      "review_comments": {
        "href": "https://api.github.com/repos/<org>/<repo>/pulls/5/comments"
      },
      "review_comment": {
        "href": "https://api.github.com/repos/<org>/<repo>/pulls/comments{/number}"
      },
      "commits": {
        "href": "https://api.github.com/repos/<org>/<repo>/pulls/5/commits"
      },
      "statuses": {
        "href": "https://api.github.com/repos/<org>/<repo>/statuses/4043ad474ae17c89cc5283e291481d05ae6724aa"
      }
    },
    "author_association": "COLLABORATOR",
    "merged": false,
    "mergeable": null,
    "rebaseable": null,
    "mergeable_state": "unknown",
    "merged_by": null,
    "comments": 0,
    "review_comments": 0,
    "maintainer_can_modify": false,
    "commits": 1,
    "additions": 11,
    "deletions": 0,
    "changed_files": 1
  },
  "repository": {
    "id": 1347xxxx7,
    "name": "<repo>",
    "full_name": "<org>/<repo>",
        "owner": {
          "login": "<org>",
          "id": xxxxxxxx,
          "avatar_url": "https://avatars1.githubusercontent.com/u/xxxxxxxx?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/<org>",
          "html_url": "https://github.com/<org>",
          "followers_url": "https://api.github.com/users/<org>/followers",
          "following_url": "https://api.github.com/users/<org>/following{/other_user}",
          "gists_url": "https://api.github.com/users/<org>/gists{/gist_id}",
          "starred_url": "https://api.github.com/users/<org>/starred{/owner}{/repo}",
          "subscriptions_url": "https://api.github.com/users/<org>/subscriptions",
          "organizations_url": "https://api.github.com/users/<org>/orgs",
          "repos_url": "https://api.github.com/users/<org>/repos",
          "events_url": "https://api.github.com/users/<org>/events{/privacy}",
          "received_events_url": "https://api.github.com/users/<org>/received_events",
          "type": "Organization",
          "site_admin": false
        },
        "private": true,
        "html_url": "https://github.com/<org>/<repo>",
        "description": null,
        "fork": false,
        "url": "https://api.github.com/repos/<org>/<repo>",
        "forks_url": "https://api.github.com/repos/<org>/<repo>/forks",
        "keys_url": "https://api.github.com/repos/<org>/<repo>/keys{/key_id}",
        "collaborators_url": "https://api.github.com/repos/<org>/<repo>/collaborators{/collaborator}",
        "teams_url": "https://api.github.com/repos/<org>/<repo>/teams",
        "hooks_url": "https://api.github.com/repos/<org>/<repo>/hooks",
        "issue_events_url": "https://api.github.com/repos/<org>/<repo>/issues/events{/number}",
        "events_url": "https://api.github.com/repos/<org>/<repo>/events",
        "assignees_url": "https://api.github.com/repos/T<org>/<repo>/assignees{/user}",
        "branches_url": "https://api.github.com/repos/<org>/<repo>/branches{/branch}",
        "tags_url": "https://api.github.com/repos/<org>/<repo>/tags",
        "blobs_url": "https://api.github.com/repos/<org>/<repo>/git/blobs{/sha}",
        "git_tags_url": "https://api.github.com/repos/<org>/<repo>/git/tags{/sha}",
        "git_refs_url": "https://api.github.com/repos/<org>/<repo>/git/refs{/sha}",
        "trees_url": "https://api.github.com/repos/<org>/<repo>/git/trees{/sha}",
        "statuses_url": "https://api.github.com/repos/<org>/<repo>/statuses/{sha}",
        "languages_url": "https://api.github.com/repos/<org>/<repo>/languages",
        "stargazers_url": "https://api.github.com/repos/<org>/<repo>/stargazers",
        "contributors_url": "https://api.github.com/repos/<org>/<repo>/contributors",
        "subscribers_url": "https://api.github.com/repos/<org>/<repo>/subscribers",
        "subscription_url": "https://api.github.com/repos/<org>/<repo>/subscription",
        "commits_url": "https://api.github.com/repos/<org>/<repo>/commits{/sha}",
        "git_commits_url": "https://api.github.com/repos/<org>/<repo>/git/commits{/sha}",
        "comments_url": "https://api.github.com/repos/<org>/<repo>/comments{/number}",
        "issue_comment_url": "https://api.github.com/repos/<org>/<repo>/issues/comments{/number}",
        "contents_url": "https://api.github.com/repos/<org>/<repo>/contents/{+path}",
        "compare_url": "https://api.github.com/repos/<org>/<repo>/compare/{base}...{head}",
        "merges_url": "https://api.github.com/repos/<org>/<repo>/merges",
        "archive_url": "https://api.github.com/repos/<org>/<repo>/{archive_format}{/ref}",
        "downloads_url": "https://api.github.com/repos/<org>/<repo>/downloads",
        "issues_url": "https://api.github.com/repos/<org>/<repo>/issues{/number}",
        "pulls_url": "https://api.github.com/repos/<org>/<repo>/pulls{/number}",
        "milestones_url": "https://api.github.com/repos/<org>/<repo>/milestones{/number}",
        "notifications_url": "https://api.github.com/repos/<org>/<repo>/notifications{?since,all,participating}",
        "labels_url": "https://api.github.com/repos/<org>/<repo>/labels{/name}",
        "releases_url": "https://api.github.com/repos/<org>/<repo>/releases{/id}",
        "deployments_url": "https://api.github.com/repos/<org>/<repo>/deployments",
        "created_at": "2018-05-24T18:28:33Z",
        "updated_at": "2018-05-24T18:28:35Z",
        "pushed_at": "2018-05-25T18:06:29Z",
        "git_url": "git://github.com/<org>/<repo>.git",
        "ssh_url": "git@github.com:<org>/<repo>.git",
        "clone_url": "https://github.com/<org>/<repo>.git",
        "svn_url": "https://github.com/<org>/<repo>",
    "homepage": null,
    "size": 2,
    "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,
    "open_issues_count": 3,
    "license": null,
    "forks": 0,
    "open_issues": 3,
    "watchers": 0,
    "default_branch": "master"
  },
  "organization": {
    "login": "<org>",
    "id": 167xxxx1,
    "url": "https://api.github.com/orgs/<org>",
    "repos_url": "https://api.github.com/orgs/<org>/repos",
    "events_url": "https://api.github.com/orgs/<org>/events",
    "hooks_url": "https://api.github.com/orgs/<org>/hooks",
    "issues_url": "https://api.github.com/orgs/<org>/issues",
    "members_url": "https://api.github.com/orgs/<org>/members{/member}",
    "public_members_url": "https://api.github.com/orgs/<org>/public_members{/member}",
    "avatar_url": "https://avatars1.githubusercontent.com/u/1xxxxx51?v=4",
    "description": null
  },
  "sender": {
    "login": "<user>",
    "id": 38xxxxxx,
    "avatar_url": "https://avatars1.githubusercontent.com/u/38xxxxxx?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/<user>",
    "html_url": "https://github.com/<user>",
    "followers_url": "https://api.github.com/users/<user>/followers",
    "following_url": "https://api.github.com/users/<user>/following{/other_user}",
    "gists_url": "https://api.github.com/users/<user>/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/<user>/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/<user>/subscriptions",
    "organizations_url": "https://api.github.com/users/<user>/orgs",
    "repos_url": "https://api.github.com/users/<user>/repos",
    "events_url": "https://api.github.com/users/<user>/events{/privacy}",
    "received_events_url": "https://api.github.com/users/<user>/received_events",
    "type": "User",
    "site_admin": false
  }
}
radekk commented 6 years ago

@ramya-ravula-ctr action triggered through that webhook is supported. Currently we allow for both opened and synchronize events. I'm not sure why it didn't went through.

"Payload not processed, invalid type." error is returned when webhook triggers actions like closing pull request, adding new issue etc.

Would you be able to provide more details on your environment, especially node and npm version. You can get these details by running commands in your terminal:

$ node -v
$ npm -v
ramya-ravula-ctr commented 6 years ago

Hi @radekk, please find the output below

$ node -v v4.2.6 $ npm -v 3.5.2

radekk commented 6 years ago

Thanks @ramya-ravula-ctr for writing that down. I will test it out with the same versions you have locally.

P.S. I did release a couple of changes/upgrades to the master branch. Would you be able to fetch latest changes and check it out?

git checkout master
git pull
ramya-ravula-ctr commented 6 years ago

Thanks @radekk for the response. I pulled the latest changes still the same error for me.

git log commit 80efab6d95d0b181b1ebd7c89f0899e6fb08ddfd Author: radekk <radekk@auth0.com> Date: Fri Jul 13 15:10:35 2018 +0200

Update Readme. Adding link to Wiki and Gitter chat.

radekk commented 6 years ago

There is a one thing that comes to my mind. Could you check the content type you did set for your webhook on the repository?

It should be ‘application/json’ and not ‘application/x-www-form-urlencoded’.

ramya-ravula-ctr commented 6 years ago

ahh, it was set to ‘application/x-www-form-urlencoded’ i changed to ‘application/json’ now i got response 'OK'.

It worked...Thanks @radekk

radekk commented 6 years ago

That's good to hear. I'm glad it helped 👍