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

Map "completed" "check_suite" event #4

Open
Cisien opened this issue Jul 12, 2021 · 0 comments
Open

Map "completed" "check_suite" event #4

Cisien opened this issue Jul 12, 2021 · 0 comments

Comments

@Cisien
Copy link
Contributor

Cisien commented Jul 12, 2021

Data:

{
  "action": "completed",
  "check_suite": {
    "id": 3210646161,
    "node_id": "MDEwOkNoZWNrU3VpdGUzMjEwNjQ2MTYx",
    "head_branch": "main",
    "head_sha": "c402dfc8643a34251cdabf0d1188509cd24338c7",
    "status": "completed",
    "conclusion": "success",
    "url": "https://api.github.com/repos/discord-csharp/CSharpRepl/check-suites/3210646161",
    "before": "95178d7634d48811249ab8a4e94cd514aca0e206",
    "after": "c402dfc8643a34251cdabf0d1188509cd24338c7",
    "pull_requests": [

    ],
    "app": {
      "id": 15368,
      "slug": "github-actions",
      "node_id": "MDM6QXBwMTUzNjg=",
      "owner": {
        "login": "github",
        "id": 9919,
        "node_id": "MDEyOk9yZ2FuaXphdGlvbjk5MTk=",
        "avatar_url": "https://avatars.githubusercontent.com/u/9919?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/github",
        "html_url": "https://github.com/github",
        "followers_url": "https://api.github.com/users/github/followers",
        "following_url": "https://api.github.com/users/github/following{/other_user}",
        "gists_url": "https://api.github.com/users/github/gists{/gist_id}",
        "starred_url": "https://api.github.com/users/github/starred{/owner}{/repo}",
        "subscriptions_url": "https://api.github.com/users/github/subscriptions",
        "organizations_url": "https://api.github.com/users/github/orgs",
        "repos_url": "https://api.github.com/users/github/repos",
        "events_url": "https://api.github.com/users/github/events{/privacy}",
        "received_events_url": "https://api.github.com/users/github/received_events",
        "type": "Organization",
        "site_admin": false
      },
      "name": "GitHub Actions",
      "description": "Automate your workflow from idea to production",
      "external_url": "https://help.github.com/en/actions",
      "html_url": "https://github.com/apps/github-actions",
      "created_at": "2018-07-30T09:30:17Z",
      "updated_at": "2019-12-10T19:04:12Z",
      "permissions": {
        "actions": "write",
        "checks": "write",
        "contents": "write",
        "deployments": "write",
        "discussions": "write",
        "issues": "write",
        "metadata": "read",
        "organization_packages": "write",
        "packages": "write",
        "pages": "write",
        "pull_requests": "write",
        "repository_hooks": "write",
        "repository_projects": "write",
        "security_events": "write",
        "statuses": "write",
        "vulnerability_alerts": "read"
      },
      "events": [
        "check_run",
        "check_suite",
        "create",
        "delete",
        "deployment",
        "deployment_status",
        "discussion",
        "discussion_comment",
        "fork",
        "gollum",
        "issues",
        "issue_comment",
        "label",
        "milestone",
        "page_build",
        "project",
        "project_card",
        "project_column",
        "public",
        "pull_request",
        "pull_request_review",
        "pull_request_review_comment",
        "push",
        "registry_package",
        "release",
        "repository",
        "repository_dispatch",
        "status",
        "watch",
        "workflow_dispatch",
        "workflow_run"
      ]
    },
    "created_at": "2021-07-11T19:47:00Z",
    "updated_at": "2021-07-11T19:48:38Z",
    "latest_check_runs_count": 1,
    "check_runs_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/check-suites/3210646161/check-runs",
    "head_commit": {
      "id": "c402dfc8643a34251cdabf0d1188509cd24338c7",
      "tree_id": "d22d9625d3abaf5258bf81ced0f9a79e959f27c0",
      "message": "Fix attribution in readme",
      "timestamp": "2021-07-11T19:46:59Z",
      "author": {
        "name": "Chris",
        "email": "Cisien@users.noreply.github.com"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com"
      }
    }
  },
  "repository": {
    "id": 87733227,
    "node_id": "MDEwOlJlcG9zaXRvcnk4NzczMzIyNw==",
    "name": "CSharpRepl",
    "full_name": "discord-csharp/CSharpRepl",
    "private": false,
    "owner": {
      "login": "discord-csharp",
      "id": 19499857,
      "node_id": "MDEyOk9yZ2FuaXphdGlvbjE5NDk5ODU3",
      "avatar_url": "https://avatars.githubusercontent.com/u/19499857?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/discord-csharp",
      "html_url": "https://github.com/discord-csharp",
      "followers_url": "https://api.github.com/users/discord-csharp/followers",
      "following_url": "https://api.github.com/users/discord-csharp/following{/other_user}",
      "gists_url": "https://api.github.com/users/discord-csharp/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/discord-csharp/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/discord-csharp/subscriptions",
      "organizations_url": "https://api.github.com/users/discord-csharp/orgs",
      "repos_url": "https://api.github.com/users/discord-csharp/repos",
      "events_url": "https://api.github.com/users/discord-csharp/events{/privacy}",
      "received_events_url": "https://api.github.com/users/discord-csharp/received_events",
      "type": "Organization",
      "site_admin": false
    },
    "html_url": "https://github.com/discord-csharp/CSharpRepl",
    "description": "CSharpRepl is a web api for C# REPL using the Roslyn Scripting APIs",
    "fork": false,
    "url": "https://api.github.com/repos/discord-csharp/CSharpRepl",
    "forks_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/forks",
    "keys_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/teams",
    "hooks_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/hooks",
    "issue_events_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/issues/events{/number}",
    "events_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/events",
    "assignees_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/assignees{/user}",
    "branches_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/branches{/branch}",
    "tags_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/tags",
    "blobs_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/languages",
    "stargazers_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/stargazers",
    "contributors_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/contributors",
    "subscribers_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/subscribers",
    "subscription_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/subscription",
    "commits_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/contents/{+path}",
    "compare_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/merges",
    "archive_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/downloads",
    "issues_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/issues{/number}",
    "pulls_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/labels{/name}",
    "releases_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/releases{/id}",
    "deployments_url": "https://api.github.com/repos/discord-csharp/CSharpRepl/deployments",
    "created_at": "2017-04-09T19:21:03Z",
    "updated_at": "2021-07-11T19:47:01Z",
    "pushed_at": "2021-07-11T19:46:59Z",
    "git_url": "git://github.com/discord-csharp/CSharpRepl.git",
    "ssh_url": "git@github.com:discord-csharp/CSharpRepl.git",
    "clone_url": "https://github.com/discord-csharp/CSharpRepl.git",
    "svn_url": "https://github.com/discord-csharp/CSharpRepl",
    "homepage": "",
    "size": 317,
    "stargazers_count": 14,
    "watchers_count": 14,
    "language": "C#",
    "has_issues": true,
    "has_projects": true,
    "has_downloads": true,
    "has_wiki": true,
    "has_pages": false,
    "forks_count": 12,
    "mirror_url": null,
    "archived": false,
    "disabled": false,
    "open_issues_count": 0,
    "license": {
      "key": "mit",
      "name": "MIT License",
      "spdx_id": "MIT",
      "url": "https://api.github.com/licenses/mit",
      "node_id": "MDc6TGljZW5zZTEz"
    },
    "forks": 12,
    "open_issues": 0,
    "watchers": 14,
    "default_branch": "main"
  },
  "organization": {
    "login": "discord-csharp",
    "id": 19499857,
    "node_id": "MDEyOk9yZ2FuaXphdGlvbjE5NDk5ODU3",
    "url": "https://api.github.com/orgs/discord-csharp",
    "repos_url": "https://api.github.com/orgs/discord-csharp/repos",
    "events_url": "https://api.github.com/orgs/discord-csharp/events",
    "hooks_url": "https://api.github.com/orgs/discord-csharp/hooks",
    "issues_url": "https://api.github.com/orgs/discord-csharp/issues",
    "members_url": "https://api.github.com/orgs/discord-csharp/members{/member}",
    "public_members_url": "https://api.github.com/orgs/discord-csharp/public_members{/member}",
    "avatar_url": "https://avatars.githubusercontent.com/u/19499857?v=4",
    "description": ""
  },
  "sender": {
    "login": "Cisien",
    "id": 4044356,
    "node_id": "MDQ6VXNlcjQwNDQzNTY=",
    "avatar_url": "https://avatars.githubusercontent.com/u/4044356?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/Cisien",
    "html_url": "https://github.com/Cisien",
    "followers_url": "https://api.github.com/users/Cisien/followers",
    "following_url": "https://api.github.com/users/Cisien/following{/other_user}",
    "gists_url": "https://api.github.com/users/Cisien/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/Cisien/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/Cisien/subscriptions",
    "organizations_url": "https://api.github.com/users/Cisien/orgs",
    "repos_url": "https://api.github.com/users/Cisien/repos",
    "events_url": "https://api.github.com/users/Cisien/events{/privacy}",
    "received_events_url": "https://api.github.com/users/Cisien/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