Skip to content

Instantly share code, notes, and snippets.

@Infinoid
Last active December 4, 2024 18:01
Show Gist options
  • Save Infinoid/1bbeed9b0cbc360ac19c6ca74234c7cb to your computer and use it in GitHub Desktop.
Save Infinoid/1bbeed9b0cbc360ac19c6ca74234c7cb to your computer and use it in GitHub Desktop.
webhook payload for runatlantis/atlantis#5140
{
"action": "opened",
"number": 9,
"pull_request": {
"id": 29,
"url": "https://gitea.server/tf/repo/pulls/9",
"number": 9,
"user": {
"id": 1,
"login": "infinoid",
"login_name": "",
"source_id": 0,
"full_name": "",
"email": "[email protected]",
"avatar_url": "https://gitea.server/avatars/10d9c0d0a1711ade4157e15e3ab93b0c5e2d64f4544733f4da5c4eacf240d82d",
"html_url": "https://gitea.server/infinoid",
"language": "",
"is_admin": false,
"last_login": "0001-01-01T00:00:00Z",
"created": "2020-06-14T13:26:16-04:00",
"restricted": false,
"active": false,
"prohibit_login": false,
"location": "",
"website": "",
"description": "",
"visibility": "public",
"followers_count": 0,
"following_count": 0,
"starred_repos_count": 0,
"username": "infinoid"
},
"title": "Test agit workflow",
"body": "Test agit workflow",
"labels": [],
"milestone": null,
"assignee": null,
"assignees": null,
"requested_reviewers": null,
"state": "open",
"draft": false,
"is_locked": false,
"comments": 0,
"review_comments": 0,
"additions": 0,
"deletions": 0,
"changed_files": 0,
"html_url": "https://gitea.server/tf/repo/pulls/9",
"diff_url": "https://gitea.server/tf/repo/pulls/9.diff",
"patch_url": "https://gitea.server/tf/repo/pulls/9.patch",
"mergeable": true,
"merged": false,
"merged_at": null,
"merge_commit_sha": null,
"merged_by": null,
"allow_maintainer_edit": false,
"base": {
"label": "main",
"ref": "main",
"sha": "2c41af9421c7d7af5c3a23ba1f3f60cc9f89dad5",
"repo_id": 73,
"repo": {
"id": 73,
"owner": {
"id": 6,
"login": "tf",
"login_name": "",
"source_id": 0,
"full_name": "",
"email": "[email protected]",
"avatar_url": "https://gitea.server/avatars/a5247303443fb954131479edf367744db5e0111cdb4cc93ce5108b44997e4957",
"html_url": "https://gitea.server/tf",
"language": "",
"is_admin": false,
"last_login": "0001-01-01T00:00:00Z",
"created": "2024-11-02T13:03:21-04:00",
"restricted": false,
"active": false,
"prohibit_login": false,
"location": "",
"website": "",
"description": "yours is the tofu that will pierce the heavens",
"visibility": "private",
"followers_count": 0,
"following_count": 0,
"starred_repos_count": 0,
"username": "tf"
},
"name": "repo",
"full_name": "tf/repo",
"description": "",
"empty": false,
"private": true,
"fork": false,
"template": false,
"parent": null,
"mirror": false,
"size": 50,
"language": "",
"languages_url": "https://gitea.server/api/v1/repos/tf/repo/languages",
"html_url": "https://gitea.server/tf/repo",
"url": "https://gitea.server/api/v1/repos/tf/repo",
"link": "",
"ssh_url": "[email protected]:tf/repo.git",
"clone_url": "https://gitea.server/tf/repo.git",
"original_url": "",
"website": "",
"stars_count": 0,
"forks_count": 0,
"watchers_count": 2,
"open_issues_count": 0,
"open_pr_counter": 0,
"release_counter": 0,
"default_branch": "main",
"archived": false,
"created_at": "2024-12-01T17:31:56-05:00",
"updated_at": "2024-12-03T21:06:41-05:00",
"archived_at": "1969-12-31T19:00:00-05:00",
"permissions": {
"admin": false,
"push": false,
"pull": false
},
"has_issues": true,
"internal_tracker": {
"enable_time_tracker": true,
"allow_only_contributors_to_track_time": true,
"enable_issue_dependencies": true
},
"has_wiki": true,
"has_pull_requests": true,
"has_projects": true,
"projects_mode": "all",
"has_releases": true,
"has_packages": true,
"has_actions": true,
"ignore_whitespace_conflicts": false,
"allow_merge_commits": true,
"allow_rebase": true,
"allow_rebase_explicit": true,
"allow_squash_merge": true,
"allow_fast_forward_only_merge": true,
"allow_rebase_update": true,
"default_delete_branch_after_merge": false,
"default_merge_style": "merge",
"default_allow_maintainer_edit": false,
"avatar_url": "",
"internal": false,
"mirror_interval": "",
"object_format_name": "sha1",
"mirror_updated": "0001-01-01T00:00:00Z",
"repo_transfer": null
}
},
"head": {
"label": "",
"ref": "refs/pull/9/head",
"sha": "d659c8d2177fb64edf946ec8677aa0d190b43245",
"repo_id": 73,
"repo": {
"id": 73,
"owner": {
"id": 6,
"login": "tf",
"login_name": "",
"source_id": 0,
"full_name": "",
"email": "[email protected]",
"avatar_url": "https://gitea.server/avatars/a5247303443fb954131479edf367744db5e0111cdb4cc93ce5108b44997e4957",
"html_url": "https://gitea.server/tf",
"language": "",
"is_admin": false,
"last_login": "0001-01-01T00:00:00Z",
"created": "2024-11-02T13:03:21-04:00",
"restricted": false,
"active": false,
"prohibit_login": false,
"location": "",
"website": "",
"description": "yours is the tofu that will pierce the heavens",
"visibility": "private",
"followers_count": 0,
"following_count": 0,
"starred_repos_count": 0,
"username": "tf"
},
"name": "repo",
"full_name": "tf/repo",
"description": "",
"empty": false,
"private": true,
"fork": false,
"template": false,
"parent": null,
"mirror": false,
"size": 50,
"language": "",
"languages_url": "https://gitea.server/api/v1/repos/tf/repo/languages",
"html_url": "https://gitea.server/tf/repo",
"url": "https://gitea.server/api/v1/repos/tf/repo",
"link": "",
"ssh_url": "[email protected]:tf/repo.git",
"clone_url": "https://gitea.server/tf/repo.git",
"original_url": "",
"website": "",
"stars_count": 0,
"forks_count": 0,
"watchers_count": 2,
"open_issues_count": 0,
"open_pr_counter": 0,
"release_counter": 0,
"default_branch": "main",
"archived": false,
"created_at": "2024-12-01T17:31:56-05:00",
"updated_at": "2024-12-03T21:06:41-05:00",
"archived_at": "1969-12-31T19:00:00-05:00",
"permissions": {
"admin": false,
"push": false,
"pull": false
},
"has_issues": true,
"internal_tracker": {
"enable_time_tracker": true,
"allow_only_contributors_to_track_time": true,
"enable_issue_dependencies": true
},
"has_wiki": true,
"has_pull_requests": true,
"has_projects": true,
"projects_mode": "all",
"has_releases": true,
"has_packages": true,
"has_actions": true,
"ignore_whitespace_conflicts": false,
"allow_merge_commits": true,
"allow_rebase": true,
"allow_rebase_explicit": true,
"allow_squash_merge": true,
"allow_fast_forward_only_merge": true,
"allow_rebase_update": true,
"default_delete_branch_after_merge": false,
"default_merge_style": "merge",
"default_allow_maintainer_edit": false,
"avatar_url": "",
"internal": false,
"mirror_interval": "",
"object_format_name": "sha1",
"mirror_updated": "0001-01-01T00:00:00Z",
"repo_transfer": null
}
},
"merge_base": "2c41af9421c7d7af5c3a23ba1f3f60cc9f89dad5",
"due_date": null,
"created_at": "2024-12-04T11:57:15-05:00",
"updated_at": "2024-12-04T11:57:15-05:00",
"closed_at": null,
"pin_order": 0
},
"requested_reviewer": null,
"repository": {
"id": 73,
"owner": {
"id": 6,
"login": "tf",
"login_name": "",
"source_id": 0,
"full_name": "",
"email": "",
"avatar_url": "https://gitea.server/avatars/a5247303443fb954131479edf367744db5e0111cdb4cc93ce5108b44997e4957",
"html_url": "https://gitea.server/tf",
"language": "",
"is_admin": false,
"last_login": "0001-01-01T00:00:00Z",
"created": "2024-11-02T13:03:21-04:00",
"restricted": false,
"active": false,
"prohibit_login": false,
"location": "",
"website": "",
"description": "yours is the tofu that will pierce the heavens",
"visibility": "private",
"followers_count": 0,
"following_count": 0,
"starred_repos_count": 0,
"username": "tf"
},
"name": "repo",
"full_name": "tf/repo",
"description": "",
"empty": false,
"private": true,
"fork": false,
"template": false,
"parent": null,
"mirror": false,
"size": 50,
"language": "",
"languages_url": "https://gitea.server/api/v1/repos/tf/repo/languages",
"html_url": "https://gitea.server/tf/repo",
"url": "https://gitea.server/api/v1/repos/tf/repo",
"link": "",
"ssh_url": "[email protected]:tf/repo.git",
"clone_url": "https://gitea.server/tf/repo.git",
"original_url": "",
"website": "",
"stars_count": 0,
"forks_count": 0,
"watchers_count": 2,
"open_issues_count": 0,
"open_pr_counter": 1,
"release_counter": 0,
"default_branch": "main",
"archived": false,
"created_at": "2024-12-01T17:31:56-05:00",
"updated_at": "2024-12-03T21:06:41-05:00",
"archived_at": "1969-12-31T19:00:00-05:00",
"permissions": {
"admin": true,
"push": true,
"pull": true
},
"has_issues": true,
"internal_tracker": {
"enable_time_tracker": true,
"allow_only_contributors_to_track_time": true,
"enable_issue_dependencies": true
},
"has_wiki": true,
"has_pull_requests": true,
"has_projects": true,
"projects_mode": "all",
"has_releases": true,
"has_packages": true,
"has_actions": true,
"ignore_whitespace_conflicts": false,
"allow_merge_commits": true,
"allow_rebase": true,
"allow_rebase_explicit": true,
"allow_squash_merge": true,
"allow_fast_forward_only_merge": true,
"allow_rebase_update": true,
"default_delete_branch_after_merge": false,
"default_merge_style": "merge",
"default_allow_maintainer_edit": false,
"avatar_url": "",
"internal": false,
"mirror_interval": "",
"object_format_name": "sha1",
"mirror_updated": "0001-01-01T00:00:00Z",
"repo_transfer": null
},
"sender": {
"id": 1,
"login": "infinoid",
"login_name": "",
"source_id": 0,
"full_name": "",
"email": "[email protected]",
"avatar_url": "https://gitea.server/avatars/10d9c0d0a1711ade4157e15e3ab93b0c5e2d64f4544733f4da5c4eacf240d82d",
"html_url": "https://gitea.server/infinoid",
"language": "",
"is_admin": false,
"last_login": "0001-01-01T00:00:00Z",
"created": "2020-06-14T13:26:16-04:00",
"restricted": false,
"active": false,
"prohibit_login": false,
"location": "",
"website": "",
"description": "",
"visibility": "public",
"followers_count": 0,
"following_count": 0,
"starred_repos_count": 0,
"username": "infinoid"
},
"commit_id": "",
"review": null
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment