automatons-github 0.3.0

GitHub integration for the automatons framework
Documentation
{
  "action": "completed",
  "check_run": {
    "id": 7687723276,
    "name": "Run tests",
    "node_id": "CR_kwDOHuXR3s8AAAAByjlZDA",
    "head_sha": "24275d56a48c2dc73ae191524e20b19c41676b4f",
    "external_id": "5264e576-3c6f-51f6-f055-fab409685f20",
    "url": "https://api.github.com/repos/devxbots/automatons/check-runs/7687723276",
    "html_url": "https://github.com/devxbots/automatons/runs/7687723276?check_suite_focus=true",
    "details_url": "https://github.com/devxbots/automatons/runs/7687723276?check_suite_focus=true",
    "status": "completed",
    "conclusion": "success",
    "started_at": "2022-08-05T08:21:06Z",
    "completed_at": "2022-08-05T08:21:37Z",
    "output": {
      "title": null,
      "summary": null,
      "text": null,
      "annotations_count": 0,
      "annotations_url": "https://api.github.com/repos/devxbots/automatons/check-runs/7687723276/annotations"
    },
    "check_suite": {
      "id": 7679794405,
      "node_id": "CS_kwDOHuXR3s8AAAABycBc5Q",
      "head_branch": "main",
      "head_sha": "24275d56a48c2dc73ae191524e20b19c41676b4f",
      "status": "in_progress",
      "conclusion": null,
      "url": "https://api.github.com/repos/devxbots/automatons/check-suites/7679794405",
      "before": "725931d315df7407b816548c40e6d282ee38cece",
      "after": "24275d56a48c2dc73ae191524e20b19c41676b4f",
      "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",
          "administration": "read",
          "checks": "write",
          "contents": "write",
          "deployments": "write",
          "discussions": "write",
          "issues": "write",
          "merge_queues": "write",
          "metadata": "read",
          "packages": "write",
          "pages": "write",
          "pull_requests": "write",
          "repository_hooks": "write",
          "repository_projects": "write",
          "security_events": "write",
          "statuses": "write",
          "vulnerability_alerts": "read"
        },
        "events": [
          "branch_protection_rule",
          "check_run",
          "check_suite",
          "create",
          "delete",
          "deployment",
          "deployment_status",
          "discussion",
          "discussion_comment",
          "fork",
          "gollum",
          "issues",
          "issue_comment",
          "label",
          "merge_group",
          "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": "2022-08-05T08:20:58Z",
      "updated_at": "2022-08-05T08:21:08Z"
    },
    "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",
        "administration": "read",
        "checks": "write",
        "contents": "write",
        "deployments": "write",
        "discussions": "write",
        "issues": "write",
        "merge_queues": "write",
        "metadata": "read",
        "packages": "write",
        "pages": "write",
        "pull_requests": "write",
        "repository_hooks": "write",
        "repository_projects": "write",
        "security_events": "write",
        "statuses": "write",
        "vulnerability_alerts": "read"
      },
      "events": [
        "branch_protection_rule",
        "check_run",
        "check_suite",
        "create",
        "delete",
        "deployment",
        "deployment_status",
        "discussion",
        "discussion_comment",
        "fork",
        "gollum",
        "issues",
        "issue_comment",
        "label",
        "merge_group",
        "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"
      ]
    },
    "pull_requests": []
  },
  "repository": {
    "id": 518377950,
    "node_id": "R_kgDOHuXR3g",
    "name": "automatons",
    "full_name": "devxbots/automatons",
    "private": false,
    "owner": {
      "login": "devxbots",
      "id": 104442885,
      "node_id": "O_kgDOBjmsBQ",
      "avatar_url": "https://avatars.githubusercontent.com/u/104442885?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/devxbots",
      "html_url": "https://github.com/devxbots",
      "followers_url": "https://api.github.com/users/devxbots/followers",
      "following_url": "https://api.github.com/users/devxbots/following{/other_user}",
      "gists_url": "https://api.github.com/users/devxbots/gists{/gist_id}",
      "starred_url": "https://api.github.com/users/devxbots/starred{/owner}{/repo}",
      "subscriptions_url": "https://api.github.com/users/devxbots/subscriptions",
      "organizations_url": "https://api.github.com/users/devxbots/orgs",
      "repos_url": "https://api.github.com/users/devxbots/repos",
      "events_url": "https://api.github.com/users/devxbots/events{/privacy}",
      "received_events_url": "https://api.github.com/users/devxbots/received_events",
      "type": "Organization",
      "site_admin": false
    },
    "html_url": "https://github.com/devxbots/automatons",
    "description": "🤖 An automation framework for developers",
    "fork": false,
    "url": "https://api.github.com/repos/devxbots/automatons",
    "forks_url": "https://api.github.com/repos/devxbots/automatons/forks",
    "keys_url": "https://api.github.com/repos/devxbots/automatons/keys{/key_id}",
    "collaborators_url": "https://api.github.com/repos/devxbots/automatons/collaborators{/collaborator}",
    "teams_url": "https://api.github.com/repos/devxbots/automatons/teams",
    "hooks_url": "https://api.github.com/repos/devxbots/automatons/hooks",
    "issue_events_url": "https://api.github.com/repos/devxbots/automatons/issues/events{/number}",
    "events_url": "https://api.github.com/repos/devxbots/automatons/events",
    "assignees_url": "https://api.github.com/repos/devxbots/automatons/assignees{/user}",
    "branches_url": "https://api.github.com/repos/devxbots/automatons/branches{/branch}",
    "tags_url": "https://api.github.com/repos/devxbots/automatons/tags",
    "blobs_url": "https://api.github.com/repos/devxbots/automatons/git/blobs{/sha}",
    "git_tags_url": "https://api.github.com/repos/devxbots/automatons/git/tags{/sha}",
    "git_refs_url": "https://api.github.com/repos/devxbots/automatons/git/refs{/sha}",
    "trees_url": "https://api.github.com/repos/devxbots/automatons/git/trees{/sha}",
    "statuses_url": "https://api.github.com/repos/devxbots/automatons/statuses/{sha}",
    "languages_url": "https://api.github.com/repos/devxbots/automatons/languages",
    "stargazers_url": "https://api.github.com/repos/devxbots/automatons/stargazers",
    "contributors_url": "https://api.github.com/repos/devxbots/automatons/contributors",
    "subscribers_url": "https://api.github.com/repos/devxbots/automatons/subscribers",
    "subscription_url": "https://api.github.com/repos/devxbots/automatons/subscription",
    "commits_url": "https://api.github.com/repos/devxbots/automatons/commits{/sha}",
    "git_commits_url": "https://api.github.com/repos/devxbots/automatons/git/commits{/sha}",
    "comments_url": "https://api.github.com/repos/devxbots/automatons/comments{/number}",
    "issue_comment_url": "https://api.github.com/repos/devxbots/automatons/issues/comments{/number}",
    "contents_url": "https://api.github.com/repos/devxbots/automatons/contents/{+path}",
    "compare_url": "https://api.github.com/repos/devxbots/automatons/compare/{base}...{head}",
    "merges_url": "https://api.github.com/repos/devxbots/automatons/merges",
    "archive_url": "https://api.github.com/repos/devxbots/automatons/{archive_format}{/ref}",
    "downloads_url": "https://api.github.com/repos/devxbots/automatons/downloads",
    "issues_url": "https://api.github.com/repos/devxbots/automatons/issues{/number}",
    "pulls_url": "https://api.github.com/repos/devxbots/automatons/pulls{/number}",
    "milestones_url": "https://api.github.com/repos/devxbots/automatons/milestones{/number}",
    "notifications_url": "https://api.github.com/repos/devxbots/automatons/notifications{?since,all,participating}",
    "labels_url": "https://api.github.com/repos/devxbots/automatons/labels{/name}",
    "releases_url": "https://api.github.com/repos/devxbots/automatons/releases{/id}",
    "deployments_url": "https://api.github.com/repos/devxbots/automatons/deployments",
    "created_at": "2022-07-27T08:44:08Z",
    "updated_at": "2022-08-02T18:27:06Z",
    "pushed_at": "2022-08-05T08:20:56Z",
    "git_url": "git://github.com/devxbots/automatons.git",
    "ssh_url": "git@github.com:devxbots/automatons.git",
    "clone_url": "https://github.com/devxbots/automatons.git",
    "svn_url": "https://github.com/devxbots/automatons",
    "homepage": "",
    "size": 74,
    "stargazers_count": 0,
    "watchers_count": 0,
    "language": "Rust",
    "has_issues": true,
    "has_projects": false,
    "has_downloads": false,
    "has_wiki": false,
    "has_pages": false,
    "forks_count": 0,
    "mirror_url": null,
    "archived": false,
    "disabled": false,
    "open_issues_count": 0,
    "license": {
      "key": "apache-2.0",
      "name": "Apache License 2.0",
      "spdx_id": "Apache-2.0",
      "url": "https://api.github.com/licenses/apache-2.0",
      "node_id": "MDc6TGljZW5zZTI="
    },
    "allow_forking": true,
    "is_template": false,
    "web_commit_signoff_required": false,
    "topics": [],
    "visibility": "public",
    "forks": 0,
    "open_issues": 0,
    "watchers": 0,
    "default_branch": "main"
  },
  "organization": {
    "login": "devxbots",
    "id": 104442885,
    "node_id": "O_kgDOBjmsBQ",
    "url": "https://api.github.com/orgs/devxbots",
    "repos_url": "https://api.github.com/orgs/devxbots/repos",
    "events_url": "https://api.github.com/orgs/devxbots/events",
    "hooks_url": "https://api.github.com/orgs/devxbots/hooks",
    "issues_url": "https://api.github.com/orgs/devxbots/issues",
    "members_url": "https://api.github.com/orgs/devxbots/members{/member}",
    "public_members_url": "https://api.github.com/orgs/devxbots/public_members{/member}",
    "avatar_url": "https://avatars.githubusercontent.com/u/104442885?v=4",
    "description": "We're here to make developers happier and more productive by automating the boring parts of programming"
  },
  "sender": {
    "login": "jdno",
    "id": 865550,
    "node_id": "MDQ6VXNlcjg2NTU1MA==",
    "avatar_url": "https://avatars.githubusercontent.com/u/865550?v=4",
    "gravatar_id": "",
    "url": "https://api.github.com/users/jdno",
    "html_url": "https://github.com/jdno",
    "followers_url": "https://api.github.com/users/jdno/followers",
    "following_url": "https://api.github.com/users/jdno/following{/other_user}",
    "gists_url": "https://api.github.com/users/jdno/gists{/gist_id}",
    "starred_url": "https://api.github.com/users/jdno/starred{/owner}{/repo}",
    "subscriptions_url": "https://api.github.com/users/jdno/subscriptions",
    "organizations_url": "https://api.github.com/users/jdno/orgs",
    "repos_url": "https://api.github.com/users/jdno/repos",
    "events_url": "https://api.github.com/users/jdno/events{/privacy}",
    "received_events_url": "https://api.github.com/users/jdno/received_events",
    "type": "User",
    "site_admin": false
  },
  "installation": {
    "id": 25802826,
    "node_id": "MDIzOkludGVncmF0aW9uSW5zdGFsbGF0aW9uMjU4MDI4MjY="
  }
}