lint/test/data/github-event/github-event-push.json

217 lines
10 KiB
JSON
Raw Normal View History

{
"after": "a15934149b772d82713180257853c4908f9c3519",
"base_ref": null,
"before": "0000000000000000000000000000000000000000",
"commits": [
{
"author": {
"email": "test@example.com",
"name": "Test user",
"username": "testuser"
},
"committer": {
"email": "test@example.com",
"name": "Test user",
"username": "testuser"
},
"distinct": true,
"id": "a15934149b772d82713180257853c4908f9c3519",
"message": "fix: fix GITHUB_BEFORE_SHA initalization for push",
"timestamp": "2024-01-04T23:56:39+01:00",
"tree_id": "ecee91366ca7c3d196eb46428632a93cc860a29e",
"url": "https://github.com/super-linter/super-linter/commit/a15934149b772d82713180257853c4908f9c3519"
}
],
"compare": "https://github.com/super-linter/super-linter/commit/a15934149b77",
"created": true,
"deleted": false,
"enterprise": {
"avatar_url": "https://avatars.githubusercontent.com/b/20446?v=4",
"created_at": "2023-01-21T00:51:24Z",
"description": "",
"html_url": "https://github.com/enterprises/opensource",
"id": 20446,
"name": "GitHub Open Source",
"node_id": "E_kgDNT94",
"slug": "opensource",
"updated_at": "2023-02-28T14:58:45Z",
"website_url": "https://github.com/"
},
"forced": false,
"head_commit": {
"author": {
"email": "test@example.com",
"name": "Test user",
"username": "testuser"
},
"committer": {
"email": "test@example.com",
"name": "Test user",
"username": "testuser"
},
"distinct": true,
"id": "a15934149b772d82713180257853c4908f9c3519",
"message": "fix: fix GITHUB_BEFORE_SHA initalization for push",
"timestamp": "2024-01-04T23:56:39+01:00",
"tree_id": "ecee91366ca7c3d196eb46428632a93cc860a29e",
"url": "https://github.com/super-linter/super-linter/commit/a15934149b772d82713180257853c4908f9c3519"
},
"organization": {
"avatar_url": "https://avatars.githubusercontent.com/u/74564708?v=4",
"description": "",
"events_url": "https://api.github.com/orgs/super-linter/events",
"hooks_url": "https://api.github.com/orgs/super-linter/hooks",
"id": 74564708,
"issues_url": "https://api.github.com/orgs/super-linter/issues",
"login": "super-linter",
"members_url": "https://api.github.com/orgs/super-linter/members{/member}",
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc0NTY0NzA4",
"public_members_url": "https://api.github.com/orgs/super-linter/public_members{/member}",
"repos_url": "https://api.github.com/orgs/super-linter/repos",
"url": "https://api.github.com/orgs/super-linter"
},
"pusher": {
"email": "test@example.com",
"name": "testuser"
},
"ref": "refs/heads/fix-before-sha-pull-events",
"repository": {
"allow_forking": true,
"archive_url": "https://api.github.com/repos/super-linter/super-linter/{archive_format}{/ref}",
"archived": false,
"assignees_url": "https://api.github.com/repos/super-linter/super-linter/assignees{/user}",
"blobs_url": "https://api.github.com/repos/super-linter/super-linter/git/blobs{/sha}",
"branches_url": "https://api.github.com/repos/super-linter/super-linter/branches{/branch}",
"clone_url": "https://github.com/super-linter/super-linter.git",
"collaborators_url": "https://api.github.com/repos/super-linter/super-linter/collaborators{/collaborator}",
"comments_url": "https://api.github.com/repos/super-linter/super-linter/comments{/number}",
"commits_url": "https://api.github.com/repos/super-linter/super-linter/commits{/sha}",
"compare_url": "https://api.github.com/repos/super-linter/super-linter/compare/{base}...{head}",
"contents_url": "https://api.github.com/repos/super-linter/super-linter/contents/{+path}",
"contributors_url": "https://api.github.com/repos/super-linter/super-linter/contributors",
"created_at": 1571666210,
"custom_properties": {},
"default_branch": "main",
"deployments_url": "https://api.github.com/repos/super-linter/super-linter/deployments",
"description": "Combination of multiple linters to install as a GitHub Action",
"disabled": false,
"downloads_url": "https://api.github.com/repos/super-linter/super-linter/downloads",
"events_url": "https://api.github.com/repos/super-linter/super-linter/events",
"fork": false,
"forks": 1053,
"forks_count": 1053,
"forks_url": "https://api.github.com/repos/super-linter/super-linter/forks",
"full_name": "super-linter/super-linter",
"git_commits_url": "https://api.github.com/repos/super-linter/super-linter/git/commits{/sha}",
"git_refs_url": "https://api.github.com/repos/super-linter/super-linter/git/refs{/sha}",
"git_tags_url": "https://api.github.com/repos/super-linter/super-linter/git/tags{/sha}",
"git_url": "git://github.com/super-linter/super-linter.git",
"has_discussions": true,
"has_downloads": true,
"has_issues": true,
"has_pages": false,
"has_projects": false,
"has_wiki": false,
"homepage": "https://github.com/super-linter/super-linter",
"hooks_url": "https://api.github.com/repos/super-linter/super-linter/hooks",
"html_url": "https://github.com/super-linter/super-linter",
"id": 216581567,
"is_template": false,
"issue_comment_url": "https://api.github.com/repos/super-linter/super-linter/issues/comments{/number}",
"issue_events_url": "https://api.github.com/repos/super-linter/super-linter/issues/events{/number}",
"issues_url": "https://api.github.com/repos/super-linter/super-linter/issues{/number}",
"keys_url": "https://api.github.com/repos/super-linter/super-linter/keys{/key_id}",
"labels_url": "https://api.github.com/repos/super-linter/super-linter/labels{/name}",
"language": "Shell",
"languages_url": "https://api.github.com/repos/super-linter/super-linter/languages",
"license": {
"key": "mit",
"name": "MIT License",
"node_id": "MDc6TGljZW5zZTEz",
"spdx_id": "MIT",
"url": "https://api.github.com/licenses/mit"
},
"master_branch": "main",
"merges_url": "https://api.github.com/repos/super-linter/super-linter/merges",
"milestones_url": "https://api.github.com/repos/super-linter/super-linter/milestones{/number}",
"mirror_url": null,
"name": "super-linter",
"node_id": "MDEwOlJlcG9zaXRvcnkyMTY1ODE1Njc=",
"notifications_url": "https://api.github.com/repos/super-linter/super-linter/notifications{?since,all,participating}",
"open_issues": 37,
"open_issues_count": 37,
"organization": "super-linter",
"owner": {
"avatar_url": "https://avatars.githubusercontent.com/u/74564708?v=4",
"email": null,
"events_url": "https://api.github.com/users/super-linter/events{/privacy}",
"followers_url": "https://api.github.com/users/super-linter/followers",
"following_url": "https://api.github.com/users/super-linter/following{/other_user}",
"gists_url": "https://api.github.com/users/super-linter/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/super-linter",
"id": 74564708,
"login": "super-linter",
"name": "super-linter",
"node_id": "MDEyOk9yZ2FuaXphdGlvbjc0NTY0NzA4",
"organizations_url": "https://api.github.com/users/super-linter/orgs",
"received_events_url": "https://api.github.com/users/super-linter/received_events",
"repos_url": "https://api.github.com/users/super-linter/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/super-linter/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/super-linter/subscriptions",
"type": "Organization",
"url": "https://api.github.com/users/super-linter"
},
"private": false,
"pulls_url": "https://api.github.com/repos/super-linter/super-linter/pulls{/number}",
"pushed_at": 1704409034,
"releases_url": "https://api.github.com/repos/super-linter/super-linter/releases{/id}",
"size": 27390,
"ssh_url": "git@github.com:super-linter/super-linter.git",
"stargazers": 8984,
"stargazers_count": 8984,
"stargazers_url": "https://api.github.com/repos/super-linter/super-linter/stargazers",
"statuses_url": "https://api.github.com/repos/super-linter/super-linter/statuses/{sha}",
"subscribers_url": "https://api.github.com/repos/super-linter/super-linter/subscribers",
"subscription_url": "https://api.github.com/repos/super-linter/super-linter/subscription",
"svn_url": "https://github.com/super-linter/super-linter",
"tags_url": "https://api.github.com/repos/super-linter/super-linter/tags",
"teams_url": "https://api.github.com/repos/super-linter/super-linter/teams",
"topics": [
"actions",
"ci",
"hacktoberfest",
"linter",
"quality-check"
],
"trees_url": "https://api.github.com/repos/super-linter/super-linter/git/trees{/sha}",
"updated_at": "2024-01-04T16:38:53Z",
"url": "https://github.com/super-linter/super-linter",
"visibility": "public",
"watchers": 8984,
"watchers_count": 8984,
"web_commit_signoff_required": false
},
"sender": {
"avatar_url": "https://avatars.githubusercontent.com/u/621939?v=4",
"events_url": "https://api.github.com/users/testuser/events{/privacy}",
"followers_url": "https://api.github.com/users/testuser/followers",
"following_url": "https://api.github.com/users/testuser/following{/other_user}",
"gists_url": "https://api.github.com/users/testuser/gists{/gist_id}",
"gravatar_id": "",
"html_url": "https://github.com/testuser",
"id": 123456,
"login": "testuser",
"node_id": "MDQ6VXNlcjYyMTkzOQ==",
"organizations_url": "https://api.github.com/users/testuser/orgs",
"received_events_url": "https://api.github.com/users/testuser/received_events",
"repos_url": "https://api.github.com/users/testuser/repos",
"site_admin": false,
"starred_url": "https://api.github.com/users/testuser/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/testuser/subscriptions",
"type": "User",
"url": "https://api.github.com/users/testuser"
}
}