Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull request comment results in issue comment message #7

Open
h3ndrk opened this issue May 31, 2022 · 0 comments
Open

Pull request comment results in issue comment message #7

h3ndrk opened this issue May 31, 2022 · 0 comments

Comments

@h3ndrk
Copy link
Member

h3ndrk commented May 31, 2022

The bot sent the following message:

@h3ndrk commented on issue (https://github.com/HULKs/nao/pull/3800#issuecomment-1139795361) Only check/set the read/write/execute bits (HULKs/nao#3800 (https://github.com/HULKs/nao/pull/3800)):

Ok, let's try to merge this one without approving...

But this is not an issue but a pull request.

Headers:

Request URL: https://github-notifications.hulks.dev/
Request method: POST
Accept: */*
content-type: application/json
User-Agent: GitHub-Hookshot/6c998f7
X-GitHub-Delivery: 7369fec0-dddd-11ec-9a47-a0339d297906
X-GitHub-Event: issue_comment
X-GitHub-Hook-ID: 270434951
X-GitHub-Hook-Installation-Target-ID: 7399382
X-GitHub-Hook-Installation-Target-Type: organization
X-Hub-Signature: sha1=d2bdf23c1b461e9c78fd1a984f5f0351f7c0675a
X-Hub-Signature-256: sha256=26bc159a0569285e9cdac25cbfd7f9f9911691d85310e674220f7410231dc9c3

Payload:

{
  "action": "created",
  "issue": {
    "url": "https://api.github.com/repos/HULKs/nao/issues/3800",
    "repository_url": "https://api.github.com/repos/HULKs/nao",
    "labels_url": "https://api.github.com/repos/HULKs/nao/issues/3800/labels{/name}",
    "comments_url": "https://api.github.com/repos/HULKs/nao/issues/3800/comments",
    "events_url": "https://api.github.com/repos/HULKs/nao/issues/3800/events",
    "html_url": "https://github.com/HULKs/nao/pull/3800",
    "id": 1247869658,
    "node_id": "PR_kwDOApv2vM44bwH2",
    "number": 3800,
    "title": "Only check/set the read/write/execute bits",
    "user": {
      "login": "knoellle",
      "id": 33729490,
      "node_id": "MDQ6VXNlcjMzNzI5NDkw",
      "avatar_url": "https://avatars.githubusercontent.com/u/33729490?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/knoellle",
      "html_url": "https://github.com/knoellle",
      "followers_url": "https://api.github.com/users/knoellle/followers",
      "following_url": "https://api.github.com/users/knoellle/following{/other_user}",
      "gists_url": "https://api.github.com/users/knoellle/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/knoellle/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/knoellle/subscriptions",
      "organizations_url": "https://api.github.com/users/knoellle/orgs",
      "repos_url": "https://api.github.com/users/knoellle/repos",
      "events_url": "https://api.github.com/users/knoellle/events{/privacy}",
      "received_events_url": "https://api.github.com/users/knoellle/received_events",
      "type": "User",
      "site_admin": false
    },
    "labels": [
      {
        "id": 1348653717,
        "node_id": "MDU6TGFiZWwxMzQ4NjUzNzE3",
        "url": "https://api.github.com/repos/HULKs/nao/labels/tooling",
        "name": "tooling",
        "color": "fbca04",
        "default": false,
        "description": ""
      }
    ],
    "state": "open",
    "locked": false,
    "assignee": {
      "login": "h3ndrk",
      "id": 3900641,
      "node_id": "MDQ6VXNlcjM5MDA2NDE=",
      "avatar_url": "https://avatars.githubusercontent.com/u/3900641?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/h3ndrk",
      "html_url": "https://github.com/h3ndrk",
      "followers_url": "https://api.github.com/users/h3ndrk/followers",
      "following_url": "https://api.github.com/users/h3ndrk/following{/other_user}",
      "gists_url": "https://api.github.com/users/h3ndrk/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/h3ndrk/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/h3ndrk/subscriptions",
      "organizations_url": "https://api.github.com/users/h3ndrk/orgs",
      "repos_url": "https://api.github.com/users/h3ndrk/repos",
      "events_url": "https://api.github.com/users/h3ndrk/events{/privacy}",
      "received_events_url": "https://api.github.com/users/h3ndrk/received_events",
      "type": "User",
      "site_admin": false
    },
    "assignees": [
      {
        "login": "h3ndrk",
        "id": 3900641,
        "node_id": "MDQ6VXNlcjM5MDA2NDE=",
        "avatar_url": "https://avatars.githubusercontent.com/u/3900641?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/h3ndrk",
        "html_url": "https://github.com/h3ndrk",
        "followers_url": "https://api.github.com/users/h3ndrk/followers",
        "following_url": "https://api.github.com/users/h3ndrk/following{/other_user}",
        "gists_url": "https://api.github.com/users/h3ndrk/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/h3ndrk/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/h3ndrk/subscriptions",
        "organizations_url": "https://api.github.com/users/h3ndrk/orgs",
        "repos_url": "https://api.github.com/users/h3ndrk/repos",
        "events_url": "https://api.github.com/users/h3ndrk/events{/privacy}",
        "received_events_url": "https://api.github.com/users/h3ndrk/received_events",
        "type": "User",
        "site_admin": false
      }
    ],
    "milestone": null,
    "comments": 1,
    "created_at": "2022-05-25T10:10:42Z",
    "updated_at": "2022-05-27T16:52:53Z",
    "closed_at": null,
    "author_association": "CONTRIBUTOR",
    "active_lock_reason": null,
    "draft": false,
    "pull_request": {
      "url": "https://api.github.com/repos/HULKs/nao/pulls/3800",
      "html_url": "https://github.com/HULKs/nao/pull/3800",
      "diff_url": "https://github.com/HULKs/nao/pull/3800.diff",
      "patch_url": "https://github.com/HULKs/nao/pull/3800.patch",
      "merged_at": null
    },
    "body": "## Introduced Changes\r\n\r\nWhat it says.\r\nApparently `0b100600 != 0b600`... who would've thought...\r\n",
    "reactions": {
      "url": "https://api.github.com/repos/HULKs/nao/issues/3800/reactions",
      "total_count": 0,
      "+1": 0,
      "-1": 0,
      "laugh": 0,
      "hooray": 0,
      "confused": 0,
      "heart": 0,
      "rocket": 0,
      "eyes": 0
    },
    "timeline_url": "https://api.github.com/repos/HULKs/nao/issues/3800/timeline",
    "performed_via_github_app": null,
    "state_reason": null
  },
  "comment": {
    "url": "https://api.github.com/repos/HULKs/nao/issues/comments/1139795361",
    "html_url": "https://github.com/HULKs/nao/pull/3800#issuecomment-1139795361",
    "issue_url": "https://api.github.com/repos/HULKs/nao/issues/3800",
    "id": 1139795361,
    "node_id": "IC_kwDOApv2vM5D7-Wh",
    "user": {
      "login": "h3ndrk",
      "id": 3900641,
      "node_id": "MDQ6VXNlcjM5MDA2NDE=",
      "avatar_url": "https://avatars.githubusercontent.com/u/3900641?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/h3ndrk",
      "html_url": "https://github.com/h3ndrk",
      "followers_url": "https://api.github.com/users/h3ndrk/followers",
      "following_url": "https://api.github.com/users/h3ndrk/following{/other_user}",
      "gists_url": "https://api.github.com/users/h3ndrk/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/h3ndrk/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/h3ndrk/subscriptions",
      "organizations_url": "https://api.github.com/users/h3ndrk/orgs",
      "repos_url": "https://api.github.com/users/h3ndrk/repos",
      "events_url": "https://api.github.com/users/h3ndrk/events{/privacy}",
      "received_events_url": "https://api.github.com/users/h3ndrk/received_events",
      "type": "User",
      "site_admin": false
    },
    "created_at": "2022-05-27T16:52:53Z",
    "updated_at": "2022-05-27T16:52:53Z",
    "author_association": "CONTRIBUTOR",
    "body": "Ok, let's try to merge this one without approving...",
    "reactions": {
      "url": "https://api.github.com/repos/HULKs/nao/issues/comments/1139795361/reactions",
      "total_count": 0,
      "+1": 0,
      "-1": 0,
      "laugh": 0,
      "hooray": 0,
      "confused": 0,
      "heart": 0,
      "rocket": 0,
      "eyes": 0
    },
    "performed_via_github_app": null
  },
  "repository": {
    "id": 43775676,
    "node_id": "MDEwOlJlcG9zaXRvcnk0Mzc3NTY3Ng==",
    "name": "nao",
    "full_name": "HULKs/nao",
    "private": true,
    "owner": {
      "login": "HULKs",
      "id": 7399382,
      "node_id": "MDEyOk9yZ2FuaXphdGlvbjczOTkzODI=",
      "avatar_url": "https://avatars.githubusercontent.com/u/7399382?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/HULKs",
      "html_url": "https://github.com/HULKs",
      "followers_url": "https://api.github.com/users/HULKs/followers",
      "following_url": "https://api.github.com/users/HULKs/following{/other_user}",
      "gists_url": "https://api.github.com/users/HULKs/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/HULKs/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/HULKs/subscriptions",
      "organizations_url": "https://api.github.com/users/HULKs/orgs",
      "repos_url": "https://api.github.com/users/HULKs/repos",
      "events_url": "https://api.github.com/users/HULKs/events{/privacy}",
      "received_events_url": "https://api.github.com/users/HULKs/received_events",
      "type": "Organization",
      "site_admin": false
    },
    "html_url": "https://github.com/HULKs/nao",
    "description": "All your base are belong to us!",
    "fork": false,
    "url": "https://api.github.com/repos/HULKs/nao",
    "forks_url": "https://api.github.com/repos/HULKs/nao/forks",
    "keys_url": "https://api.github.com/repos/HULKs/nao/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/HULKs/nao/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/HULKs/nao/teams",
    "hooks_url": "https://api.github.com/repos/HULKs/nao/hooks",
    "issue_events_url": "https://api.github.com/repos/HULKs/nao/issues/events{/number}",
    "events_url": "https://api.github.com/repos/HULKs/nao/events",
    "assignees_url": "https://api.github.com/repos/HULKs/nao/assignees{/user}",
    "branches_url": "https://api.github.com/repos/HULKs/nao/branches{/branch}",
    "tags_url": "https://api.github.com/repos/HULKs/nao/tags",
    "blobs_url": "https://api.github.com/repos/HULKs/nao/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/HULKs/nao/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/HULKs/nao/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/HULKs/nao/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/HULKs/nao/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/HULKs/nao/languages",
    "stargazers_url": "https://api.github.com/repos/HULKs/nao/stargazers",
    "contributors_url": "https://api.github.com/repos/HULKs/nao/contributors",
    "subscribers_url": "https://api.github.com/repos/HULKs/nao/subscribers",
    "subscription_url": "https://api.github.com/repos/HULKs/nao/subscription",
    "commits_url": "https://api.github.com/repos/HULKs/nao/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/HULKs/nao/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/HULKs/nao/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/HULKs/nao/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/HULKs/nao/contents/{+path}",
    "compare_url": "https://api.github.com/repos/HULKs/nao/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/HULKs/nao/merges",
    "archive_url": "https://api.github.com/repos/HULKs/nao/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/HULKs/nao/downloads",
    "issues_url": "https://api.github.com/repos/HULKs/nao/issues{/number}",
    "pulls_url": "https://api.github.com/repos/HULKs/nao/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/HULKs/nao/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/HULKs/nao/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/HULKs/nao/labels{/name}",
    "releases_url": "https://api.github.com/repos/HULKs/nao/releases{/id}",
    "deployments_url": "https://api.github.com/repos/HULKs/nao/deployments",
    "created_at": "2015-10-06T20:11:28Z",
    "updated_at": "2022-04-17T22:13:58Z",
    "pushed_at": "2022-05-27T16:31:15Z",
    "git_url": "git://github.com/HULKs/nao.git",
    "ssh_url": "[email protected]:HULKs/nao.git",
    "clone_url": "https://github.com/HULKs/nao.git",
    "svn_url": "https://github.com/HULKs/nao",
    "homepage": "",
    "size": 106470,
    "stargazers_count": 9,
    "watchers_count": 9,
    "language": "Rust",
    "has_issues": true,
    "has_projects": true,
    "has_downloads": true,
    "has_wiki": true,
    "has_pages": true,
    "forks_count": 40,
    "mirror_url": null,
    "archived": false,
    "disabled": false,
    "open_issues_count": 219,
    "license": {
      "key": "gpl-3.0",
      "name": "GNU General Public License v3.0",
      "spdx_id": "GPL-3.0",
      "url": "https://api.github.com/licenses/gpl-3.0",
      "node_id": "MDc6TGljZW5zZTk="
    },
    "allow_forking": true,
    "is_template": false,
    "topics": [

    ],
    "visibility": "private",
    "forks": 40,
    "open_issues": 219,
    "watchers": 9,
    "default_branch": "main"
  },
  "organization": {
    "login": "HULKs",
    "id": 7399382,
    "node_id": "MDEyOk9yZ2FuaXphdGlvbjczOTkzODI=",
    "url": "https://api.github.com/orgs/HULKs",
    "repos_url": "https://api.github.com/orgs/HULKs/repos",
    "events_url": "https://api.github.com/orgs/HULKs/events",
    "hooks_url": "https://api.github.com/orgs/HULKs/hooks",
    "issues_url": "https://api.github.com/orgs/HULKs/issues",
    "members_url": "https://api.github.com/orgs/HULKs/members{/member}",
    "public_members_url": "https://api.github.com/orgs/HULKs/public_members{/member}",
    "avatar_url": "https://avatars.githubusercontent.com/u/7399382?v=4",
    "description": "RoboCup SPL Team TU Hamburg, Germany"
  },
  "sender": {
    "login": "h3ndrk",
    "id": 3900641,
    "node_id": "MDQ6VXNlcjM5MDA2NDE=",
    "avatar_url": "https://avatars.githubusercontent.com/u/3900641?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/h3ndrk",
    "html_url": "https://github.com/h3ndrk",
    "followers_url": "https://api.github.com/users/h3ndrk/followers",
    "following_url": "https://api.github.com/users/h3ndrk/following{/other_user}",
    "gists_url": "https://api.github.com/users/h3ndrk/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/h3ndrk/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/h3ndrk/subscriptions",
    "organizations_url": "https://api.github.com/users/h3ndrk/orgs",
    "repos_url": "https://api.github.com/users/h3ndrk/repos",
    "events_url": "https://api.github.com/users/h3ndrk/events{/privacy}",
    "received_events_url": "https://api.github.com/users/h3ndrk/received_events",
    "type": "User",
    "site_admin": false
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant