https
GET
api.github.com
None
/repos/EnricoMi/PyGithub
{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python'}
None
200
[('date', 'Thu, 20 Aug 2026 08:28:39 GMT'), ('content-type', 'application/json; charset=utf-8'), ('cache-control', 'private, max-age=60, s-maxage=60'), ('vary', 'Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With'), ('etag', 'W/"8872d02693f20ffad6ffb42099c9b2885bdfd321390a2f8b170c58e5c789b828"'), ('last-modified', 'Tue, 18 Aug 2026 20:26:54 GMT'), ('github-authentication-token-expiration', '2026-09-19 08:26:39 UTC'), ('x-github-media-type', 'github.v3; format=json'), ('x-accepted-github-permissions', 'metadata=read'), ('x-github-api-version-selected', '2022-11-28'), ('access-control-expose-headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset, Warning'), ('access-control-allow-origin', '*'), ('strict-transport-security', 'max-age=31536000; includeSubdomains; preload'), ('x-frame-options', 'deny'), ('x-content-type-options', 'nosniff'), ('x-xss-protection', '0'), ('referrer-policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('content-security-policy', "default-src 'none'"), ('content-encoding', 'gzip'), ('server', 'github.com'), ('x-ratelimit-limit', '5000'), ('x-ratelimit-remaining', '4993'), ('x-ratelimit-reset', '1787218023'), ('x-ratelimit-used', '7'), ('x-ratelimit-resource', 'core'), ('x-github-request-id', 'F2C5:303989:3D9FBCC:3BDF739:6A86BAB7'), ('x-github-edge-region', 'fra')]
{"id":446365735,"node_id":"R_kgDOGpsAJw","name":"PyGithub","full_name":"EnricoMi/PyGithub","private":false,"owner":{"login":"EnricoMi","id":44700269,"node_id":"MDQ6VXNlcjQ0NzAwMjY5","avatar_url":"https://avatars.githubusercontent.com/u/44700269?v=4","gravatar_id":"","url":"https://api.github.com/users/EnricoMi","html_url":"https://github.com/EnricoMi","followers_url":"https://api.github.com/users/EnricoMi/followers","following_url":"https://api.github.com/users/EnricoMi/following{/other_user}","gists_url":"https://api.github.com/users/EnricoMi/gists{/gist_id}","starred_url":"https://api.github.com/users/EnricoMi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnricoMi/subscriptions","organizations_url":"https://api.github.com/users/EnricoMi/orgs","repos_url":"https://api.github.com/users/EnricoMi/repos","events_url":"https://api.github.com/users/EnricoMi/events{/privacy}","received_events_url":"https://api.github.com/users/EnricoMi/received_events","type":"User","user_view_type":"public","site_admin":false},"html_url":"https://github.com/EnricoMi/PyGithub","description":"Typed interactions with the GitHub API v3","fork":true,"url":"https://api.github.com/repos/EnricoMi/PyGithub","forks_url":"https://api.github.com/repos/EnricoMi/PyGithub/forks","keys_url":"https://api.github.com/repos/EnricoMi/PyGithub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EnricoMi/PyGithub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EnricoMi/PyGithub/teams","hooks_url":"https://api.github.com/repos/EnricoMi/PyGithub/hooks","issue_events_url":"https://api.github.com/repos/EnricoMi/PyGithub/issues/events{/number}","events_url":"https://api.github.com/repos/EnricoMi/PyGithub/events","assignees_url":"https://api.github.com/repos/EnricoMi/PyGithub/assignees{/user}","branches_url":"https://api.github.com/repos/EnricoMi/PyGithub/branches{/branch}","tags_url":"https://api.github.com/repos/EnricoMi/PyGithub/tags","blobs_url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EnricoMi/PyGithub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EnricoMi/PyGithub/git/refs{/sha}","trees_url":"https://api.github.com/repos/EnricoMi/PyGithub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EnricoMi/PyGithub/statuses/{sha}","languages_url":"https://api.github.com/repos/EnricoMi/PyGithub/languages","stargazers_url":"https://api.github.com/repos/EnricoMi/PyGithub/stargazers","contributors_url":"https://api.github.com/repos/EnricoMi/PyGithub/contributors","subscribers_url":"https://api.github.com/repos/EnricoMi/PyGithub/subscribers","subscription_url":"https://api.github.com/repos/EnricoMi/PyGithub/subscription","commits_url":"https://api.github.com/repos/EnricoMi/PyGithub/commits{/sha}","git_commits_url":"https://api.github.com/repos/EnricoMi/PyGithub/git/commits{/sha}","comments_url":"https://api.github.com/repos/EnricoMi/PyGithub/comments{/number}","issue_comment_url":"https://api.github.com/repos/EnricoMi/PyGithub/issues/comments{/number}","contents_url":"https://api.github.com/repos/EnricoMi/PyGithub/contents/{+path}","compare_url":"https://api.github.com/repos/EnricoMi/PyGithub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EnricoMi/PyGithub/merges","archive_url":"https://api.github.com/repos/EnricoMi/PyGithub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EnricoMi/PyGithub/downloads","issues_url":"https://api.github.com/repos/EnricoMi/PyGithub/issues{/number}","pulls_url":"https://api.github.com/repos/EnricoMi/PyGithub/pulls{/number}","milestones_url":"https://api.github.com/repos/EnricoMi/PyGithub/milestones{/number}","notifications_url":"https://api.github.com/repos/EnricoMi/PyGithub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EnricoMi/PyGithub/labels{/name}","releases_url":"https://api.github.com/repos/EnricoMi/PyGithub/releases{/id}","deployments_url":"https://api.github.com/repos/EnricoMi/PyGithub/deployments","created_at":"2022-01-10T09:52:53Z","updated_at":"2026-08-18T20:26:54Z","pushed_at":"2026-08-20T08:27:36Z","git_url":"git://github.com/EnricoMi/PyGithub.git","ssh_url":"git@github.com:EnricoMi/PyGithub.git","clone_url":"https://github.com/EnricoMi/PyGithub.git","svn_url":"https://github.com/EnricoMi/PyGithub","homepage":"https://pygithub.readthedocs.io/","size":21082,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"has_discussions":false,"forks_count":2,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":16,"license":{"key":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0","node_id":"MDc6TGljZW5zZTEy"},"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"has_pull_requests":true,"pull_request_creation_policy":"all","topics":[],"visibility":"public","forks":2,"open_issues":16,"watchers":0,"default_branch":"main","permissions":{"admin":true,"maintain":true,"push":true,"triage":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"allow_auto_merge":false,"delete_branch_on_merge":false,"allow_update_branch":false,"use_squash_pr_title_as_default":false,"squash_merge_commit_message":"COMMIT_MESSAGES","squash_merge_commit_title":"COMMIT_OR_PR_TITLE","merge_commit_message":"PR_TITLE","merge_commit_title":"MERGE_MESSAGE","parent":{"id":3544490,"node_id":"MDEwOlJlcG9zaXRvcnkzNTQ0NDkw","name":"PyGithub","full_name":"PyGithub/PyGithub","private":false,"owner":{"login":"PyGithub","id":11288996,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjg4OTk2","avatar_url":"https://avatars.githubusercontent.com/u/11288996?v=4","gravatar_id":"","url":"https://api.github.com/users/PyGithub","html_url":"https://github.com/PyGithub","followers_url":"https://api.github.com/users/PyGithub/followers","following_url":"https://api.github.com/users/PyGithub/following{/other_user}","gists_url":"https://api.github.com/users/PyGithub/gists{/gist_id}","starred_url":"https://api.github.com/users/PyGithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyGithub/subscriptions","organizations_url":"https://api.github.com/users/PyGithub/orgs","repos_url":"https://api.github.com/users/PyGithub/repos","events_url":"https://api.github.com/users/PyGithub/events{/privacy}","received_events_url":"https://api.github.com/users/PyGithub/received_events","type":"Organization","user_view_type":"public","site_admin":false},"html_url":"https://github.com/PyGithub/PyGithub","description":"Typed interactions with the GitHub API v3","fork":false,"url":"https://api.github.com/repos/PyGithub/PyGithub","forks_url":"https://api.github.com/repos/PyGithub/PyGithub/forks","keys_url":"https://api.github.com/repos/PyGithub/PyGithub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PyGithub/PyGithub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PyGithub/PyGithub/teams","hooks_url":"https://api.github.com/repos/PyGithub/PyGithub/hooks","issue_events_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/events{/number}","events_url":"https://api.github.com/repos/PyGithub/PyGithub/events","assignees_url":"https://api.github.com/repos/PyGithub/PyGithub/assignees{/user}","branches_url":"https://api.github.com/repos/PyGithub/PyGithub/branches{/branch}","tags_url":"https://api.github.com/repos/PyGithub/PyGithub/tags","blobs_url":"https://api.github.com/repos/PyGithub/PyGithub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PyGithub/PyGithub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PyGithub/PyGithub/git/refs{/sha}","trees_url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PyGithub/PyGithub/statuses/{sha}","languages_url":"https://api.github.com/repos/PyGithub/PyGithub/languages","stargazers_url":"https://api.github.com/repos/PyGithub/PyGithub/stargazers","contributors_url":"https://api.github.com/repos/PyGithub/PyGithub/contributors","subscribers_url":"https://api.github.com/repos/PyGithub/PyGithub/subscribers","subscription_url":"https://api.github.com/repos/PyGithub/PyGithub/subscription","commits_url":"https://api.github.com/repos/PyGithub/PyGithub/commits{/sha}","git_commits_url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits{/sha}","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/comments{/number}","issue_comment_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments{/number}","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/{+path}","compare_url":"https://api.github.com/repos/PyGithub/PyGithub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PyGithub/PyGithub/merges","archive_url":"https://api.github.com/repos/PyGithub/PyGithub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PyGithub/PyGithub/downloads","issues_url":"https://api.github.com/repos/PyGithub/PyGithub/issues{/number}","pulls_url":"https://api.github.com/repos/PyGithub/PyGithub/pulls{/number}","milestones_url":"https://api.github.com/repos/PyGithub/PyGithub/milestones{/number}","notifications_url":"https://api.github.com/repos/PyGithub/PyGithub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PyGithub/PyGithub/labels{/name}","releases_url":"https://api.github.com/repos/PyGithub/PyGithub/releases{/id}","deployments_url":"https://api.github.com/repos/PyGithub/PyGithub/deployments","created_at":"2012-02-25T12:53:47Z","updated_at":"2026-08-20T08:22:48Z","pushed_at":"2026-08-20T08:21:19Z","git_url":"git://github.com/PyGithub/PyGithub.git","ssh_url":"git@github.com:PyGithub/PyGithub.git","clone_url":"https://github.com/PyGithub/PyGithub.git","svn_url":"https://github.com/PyGithub/PyGithub","homepage":"https://pygithub.readthedocs.io/","size":21830,"stargazers_count":7761,"watchers_count":7761,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"has_discussions":true,"forks_count":1891,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":402,"license":{"key":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0","node_id":"MDc6TGljZW5zZTEy"},"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"has_pull_requests":true,"pull_request_creation_policy":"all","topics":["github","github-api","pygithub","python"],"visibility":"public","forks":1891,"open_issues":402,"watchers":7761,"default_branch":"main"},"source":{"id":3544490,"node_id":"MDEwOlJlcG9zaXRvcnkzNTQ0NDkw","name":"PyGithub","full_name":"PyGithub/PyGithub","private":false,"owner":{"login":"PyGithub","id":11288996,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExMjg4OTk2","avatar_url":"https://avatars.githubusercontent.com/u/11288996?v=4","gravatar_id":"","url":"https://api.github.com/users/PyGithub","html_url":"https://github.com/PyGithub","followers_url":"https://api.github.com/users/PyGithub/followers","following_url":"https://api.github.com/users/PyGithub/following{/other_user}","gists_url":"https://api.github.com/users/PyGithub/gists{/gist_id}","starred_url":"https://api.github.com/users/PyGithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PyGithub/subscriptions","organizations_url":"https://api.github.com/users/PyGithub/orgs","repos_url":"https://api.github.com/users/PyGithub/repos","events_url":"https://api.github.com/users/PyGithub/events{/privacy}","received_events_url":"https://api.github.com/users/PyGithub/received_events","type":"Organization","user_view_type":"public","site_admin":false},"html_url":"https://github.com/PyGithub/PyGithub","description":"Typed interactions with the GitHub API v3","fork":false,"url":"https://api.github.com/repos/PyGithub/PyGithub","forks_url":"https://api.github.com/repos/PyGithub/PyGithub/forks","keys_url":"https://api.github.com/repos/PyGithub/PyGithub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PyGithub/PyGithub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PyGithub/PyGithub/teams","hooks_url":"https://api.github.com/repos/PyGithub/PyGithub/hooks","issue_events_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/events{/number}","events_url":"https://api.github.com/repos/PyGithub/PyGithub/events","assignees_url":"https://api.github.com/repos/PyGithub/PyGithub/assignees{/user}","branches_url":"https://api.github.com/repos/PyGithub/PyGithub/branches{/branch}","tags_url":"https://api.github.com/repos/PyGithub/PyGithub/tags","blobs_url":"https://api.github.com/repos/PyGithub/PyGithub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PyGithub/PyGithub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PyGithub/PyGithub/git/refs{/sha}","trees_url":"https://api.github.com/repos/PyGithub/PyGithub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PyGithub/PyGithub/statuses/{sha}","languages_url":"https://api.github.com/repos/PyGithub/PyGithub/languages","stargazers_url":"https://api.github.com/repos/PyGithub/PyGithub/stargazers","contributors_url":"https://api.github.com/repos/PyGithub/PyGithub/contributors","subscribers_url":"https://api.github.com/repos/PyGithub/PyGithub/subscribers","subscription_url":"https://api.github.com/repos/PyGithub/PyGithub/subscription","commits_url":"https://api.github.com/repos/PyGithub/PyGithub/commits{/sha}","git_commits_url":"https://api.github.com/repos/PyGithub/PyGithub/git/commits{/sha}","comments_url":"https://api.github.com/repos/PyGithub/PyGithub/comments{/number}","issue_comment_url":"https://api.github.com/repos/PyGithub/PyGithub/issues/comments{/number}","contents_url":"https://api.github.com/repos/PyGithub/PyGithub/contents/{+path}","compare_url":"https://api.github.com/repos/PyGithub/PyGithub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PyGithub/PyGithub/merges","archive_url":"https://api.github.com/repos/PyGithub/PyGithub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PyGithub/PyGithub/downloads","issues_url":"https://api.github.com/repos/PyGithub/PyGithub/issues{/number}","pulls_url":"https://api.github.com/repos/PyGithub/PyGithub/pulls{/number}","milestones_url":"https://api.github.com/repos/PyGithub/PyGithub/milestones{/number}","notifications_url":"https://api.github.com/repos/PyGithub/PyGithub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PyGithub/PyGithub/labels{/name}","releases_url":"https://api.github.com/repos/PyGithub/PyGithub/releases{/id}","deployments_url":"https://api.github.com/repos/PyGithub/PyGithub/deployments","created_at":"2012-02-25T12:53:47Z","updated_at":"2026-08-20T08:22:48Z","pushed_at":"2026-08-20T08:21:19Z","git_url":"git://github.com/PyGithub/PyGithub.git","ssh_url":"git@github.com:PyGithub/PyGithub.git","clone_url":"https://github.com/PyGithub/PyGithub.git","svn_url":"https://github.com/PyGithub/PyGithub","homepage":"https://pygithub.readthedocs.io/","size":21830,"stargazers_count":7761,"watchers_count":7761,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"has_discussions":true,"forks_count":1891,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":402,"license":{"key":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0","node_id":"MDc6TGljZW5zZTEy"},"allow_forking":true,"is_template":false,"web_commit_signoff_required":false,"has_pull_requests":true,"pull_request_creation_policy":"all","topics":["github","github-api","pygithub","python"],"visibility":"public","forks":1891,"open_issues":402,"watchers":7761,"default_branch":"main"},"network_count":1891,"subscribers_count":0}

https
GET
api.github.com
None
/repos/EnricoMi/PyGithub/git/ref/heads/commit-with-multiple-files
{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python'}
None
200
[('date', 'Thu, 20 Aug 2026 08:28:40 GMT'), ('content-type', 'application/json; charset=utf-8'), ('cache-control', 'private, max-age=60, s-maxage=60'), ('vary', 'Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With'), ('etag', 'W/"1f3e3881199700c70b89326f9fae4aafc8a019b122da89584f21e84b45032a9d"'), ('last-modified', 'Tue, 18 Aug 2026 20:26:54 GMT'), ('x-poll-interval', '300'), ('github-authentication-token-expiration', '2026-09-19 08:26:39 UTC'), ('x-github-media-type', 'github.v3; format=json'), ('x-accepted-github-permissions', 'contents=read'), ('x-github-api-version-selected', '2022-11-28'), ('access-control-expose-headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset, Warning'), ('access-control-allow-origin', '*'), ('strict-transport-security', 'max-age=31536000; includeSubdomains; preload'), ('x-frame-options', 'deny'), ('x-content-type-options', 'nosniff'), ('x-xss-protection', '0'), ('referrer-policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('content-security-policy', "default-src 'none'"), ('content-encoding', 'gzip'), ('server', 'github.com'), ('x-ratelimit-limit', '5000'), ('x-ratelimit-remaining', '4992'), ('x-ratelimit-reset', '1787218023'), ('x-ratelimit-used', '8'), ('x-ratelimit-resource', 'core'), ('x-github-request-id', 'FC9F:A2764:3E5DA91:3C9C6B1:6A86BAB8'), ('x-github-edge-region', 'fra')]
{"ref":"refs/heads/commit-with-multiple-files","node_id":"REF_kwDOGpsAJ9oAJXJlZnMvaGVhZHMvY29tbWl0LXdpdGgtbXVsdGlwbGUtZmlsZXM","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/refs/heads/commit-with-multiple-files","object":{"sha":"162ce9d0ed69b9e4950c92e1896ab3539a9cba1a","type":"commit","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/commits/162ce9d0ed69b9e4950c92e1896ab3539a9cba1a"}}

https
GET
api.github.com
None
/repos/EnricoMi/PyGithub/git/trees/162ce9d0ed69b9e4950c92e1896ab3539a9cba1a
{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python'}
None
200
[('date', 'Thu, 20 Aug 2026 08:28:40 GMT'), ('content-type', 'application/json; charset=utf-8'), ('cache-control', 'private, max-age=86400, s-maxage=86400'), ('vary', 'Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With'), ('etag', 'W/"bb276f68d097cf2b911978d4067a54b47f78c351dcec71b5bbd15bd360c1bfa9"'), ('last-modified', 'Tue, 18 Aug 2026 20:26:54 GMT'), ('github-authentication-token-expiration', '2026-09-19 08:26:39 UTC'), ('x-github-media-type', 'github.v3; format=json'), ('x-accepted-github-permissions', 'contents=read'), ('x-github-api-version-selected', '2022-11-28'), ('access-control-expose-headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset, Warning'), ('access-control-allow-origin', '*'), ('strict-transport-security', 'max-age=31536000; includeSubdomains; preload'), ('x-frame-options', 'deny'), ('x-content-type-options', 'nosniff'), ('x-xss-protection', '0'), ('referrer-policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('content-security-policy', "default-src 'none'"), ('content-encoding', 'gzip'), ('server', 'github.com'), ('x-ratelimit-limit', '5000'), ('x-ratelimit-remaining', '4991'), ('x-ratelimit-reset', '1787218023'), ('x-ratelimit-used', '9'), ('x-ratelimit-resource', 'core'), ('x-github-request-id', 'FD49:3E6900:3C5804B:3AA768D:6A86BAB8'), ('x-github-edge-region', 'fra')]
{"sha":"162ce9d0ed69b9e4950c92e1896ab3539a9cba1a","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/trees/162ce9d0ed69b9e4950c92e1896ab3539a9cba1a","tree":[{"path":".claude","mode":"040000","type":"tree","sha":"72c0afe4c2202ecd2396a5247863dfa16c19145b","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/trees/72c0afe4c2202ecd2396a5247863dfa16c19145b"},{"path":".git-blame-ignore-revs","mode":"100644","type":"blob","sha":"023ce4ec95af1a61c8ad71f205307ce25cd0c53c","size":387,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/023ce4ec95af1a61c8ad71f205307ce25cd0c53c"},{"path":".github","mode":"040000","type":"tree","sha":"ffffd591d165518d8c428521d10ffa22392c5e97","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/trees/ffffd591d165518d8c428521d10ffa22392c5e97"},{"path":".gitignore","mode":"100644","type":"blob","sha":"2d8848553266e9f2ae7ce91510a43202cb623243","size":3263,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/2d8848553266e9f2ae7ce91510a43202cb623243"},{"path":".pre-commit-config.yaml","mode":"100644","type":"blob","sha":"7c54e86f1b1ea30b090f7b6225e5882ac377da08","size":1095,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/7c54e86f1b1ea30b090f7b6225e5882ac377da08"},{"path":".readthedocs.yml","mode":"100644","type":"blob","sha":"ec1f7acc7a0cc20ac465470dc1cc9ea6f2675571","size":340,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/ec1f7acc7a0cc20ac465470dc1cc9ea6f2675571"},{"path":"ARCHITECTURE.md","mode":"100644","type":"blob","sha":"5ae081d5aa57fd6b315f2461d4e022213d4a3c90","size":27255,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/5ae081d5aa57fd6b315f2461d4e022213d4a3c90"},{"path":"CONTRIBUTING.md","mode":"100644","type":"blob","sha":"3d9542ead18aa240e842ba2efbc3878bbbd82c50","size":1153,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/3d9542ead18aa240e842ba2efbc3878bbbd82c50"},{"path":"COPYING","mode":"100644","type":"blob","sha":"94a9ed024d3859793618152ea559a168bbcbb5e2","size":35147,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/94a9ed024d3859793618152ea559a168bbcbb5e2"},{"path":"COPYING.LESSER","mode":"100644","type":"blob","sha":"65c5ca88a67c30becee01c5a8816d964b03862f9","size":7651,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/65c5ca88a67c30becee01c5a8816d964b03862f9"},{"path":"DEPLOY.md","mode":"100644","type":"blob","sha":"6cc2b87e94ad94c3d841ccb8b29413ca90d4be3d","size":1038,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/6cc2b87e94ad94c3d841ccb8b29413ca90d4be3d"},{"path":"MAINTAINERS","mode":"100644","type":"blob","sha":"d4d5103f95b51d35beafb358273e61bb6016a575","size":426,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/d4d5103f95b51d35beafb358273e61bb6016a575"},{"path":"OPENAPI.md","mode":"100644","type":"blob","sha":"14612650216faa5abdd8ea14f2283c8991dbb0c8","size":21721,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/14612650216faa5abdd8ea14f2283c8991dbb0c8"},{"path":"README.md","mode":"100644","type":"blob","sha":"0d9df5bfb7d4b93443c130bc8f4eea5dd3f01205","size":2524,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/0d9df5bfb7d4b93443c130bc8f4eea5dd3f01205"},{"path":"codecov.yml","mode":"100644","type":"blob","sha":"f759279240221260a1f8effb3c1cfdc89c276c24","size":148,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/f759279240221260a1f8effb3c1cfdc89c276c24"},{"path":"doc","mode":"040000","type":"tree","sha":"eb849db3cc5837676d2c9cfd896b79e139760298","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/trees/eb849db3cc5837676d2c9cfd896b79e139760298"},{"path":"github","mode":"040000","type":"tree","sha":"166424b031298228cfedc6d6fe178c95983444bc","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/trees/166424b031298228cfedc6d6fe178c95983444bc"},{"path":"openapi","mode":"040000","type":"tree","sha":"eaf169b4129650a587f57385ad19b6969738263b","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/trees/eaf169b4129650a587f57385ad19b6969738263b"},{"path":"pyproject.toml","mode":"100644","type":"blob","sha":"7bf7dc67e517bab9e66eb48f0420bd2138552ade","size":2784,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/7bf7dc67e517bab9e66eb48f0420bd2138552ade"},{"path":"requirements","mode":"040000","type":"tree","sha":"a97e13a11ab1fa42acd9acc6d6b0a9565c47c9f4","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/trees/a97e13a11ab1fa42acd9acc6d6b0a9565c47c9f4"},{"path":"scripts","mode":"040000","type":"tree","sha":"510b238db6bd4b8f034cb374892e5c88f9851e9c","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/trees/510b238db6bd4b8f034cb374892e5c88f9851e9c"},{"path":"tests","mode":"040000","type":"tree","sha":"7c1a9b70d8eff367bb22432b526e9662a6c86b78","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/trees/7c1a9b70d8eff367bb22432b526e9662a6c86b78"},{"path":"tox.ini","mode":"100644","type":"blob","sha":"96031a029b16e0a017594b9f2bb39a1bb59f9900","size":894,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/96031a029b16e0a017594b9f2bb39a1bb59f9900"}],"truncated":false}

https
POST
api.github.com
None
/repos/EnricoMi/PyGithub/git/trees
{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python', 'Content-Type': 'application/json'}
{"tree": [{"path": "path/to/file_one.txt", "mode": "100644", "type": "blob", "content": "content of file one"}, {"path": "path/to/file_two.txt", "mode": "100644", "type": "blob", "content": "content of file two"}], "base_tree": "162ce9d0ed69b9e4950c92e1896ab3539a9cba1a"}
201
[('date', 'Thu, 20 Aug 2026 08:28:41 GMT'), ('content-type', 'application/json; charset=utf-8'), ('content-length', '5340'), ('cache-control', 'private, max-age=60, s-maxage=60'), ('vary', 'Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With'), ('etag', '"781d8895f13a2dd55b7ae4f5886216c6389967406432a3e1d0488ec88de017db"'), ('github-authentication-token-expiration', '2026-09-19 08:26:39 UTC'), ('location', 'https://api.github.com/repos/EnricoMi/PyGithub/git/trees/cd35ead57f01b3170fd0e0a67e470b759454dc60'), ('x-github-media-type', 'github.v3; format=json'), ('x-accepted-github-permissions', 'contents=write'), ('x-github-api-version-selected', '2022-11-28'), ('access-control-expose-headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset, Warning'), ('access-control-allow-origin', '*'), ('strict-transport-security', 'max-age=31536000; includeSubdomains; preload'), ('x-frame-options', 'deny'), ('x-content-type-options', 'nosniff'), ('x-xss-protection', '0'), ('referrer-policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('content-security-policy', "default-src 'none'"), ('server', 'github.com'), ('x-ratelimit-limit', '5000'), ('x-ratelimit-remaining', '4999'), ('x-ratelimit-reset', '1787218120'), ('x-ratelimit-used', '1'), ('x-ratelimit-resource', 'core'), ('x-github-request-id', 'F7D1:3D7349:3D120C9:3B5CEF9:6A86BAB8'), ('x-github-edge-region', 'fra')]
{"sha":"cd35ead57f01b3170fd0e0a67e470b759454dc60","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/trees/cd35ead57f01b3170fd0e0a67e470b759454dc60","tree":[{"path":".claude","mode":"040000","type":"tree","sha":"72c0afe4c2202ecd2396a5247863dfa16c19145b","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/trees/72c0afe4c2202ecd2396a5247863dfa16c19145b"},{"path":".git-blame-ignore-revs","mode":"100644","type":"blob","sha":"023ce4ec95af1a61c8ad71f205307ce25cd0c53c","size":387,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/023ce4ec95af1a61c8ad71f205307ce25cd0c53c"},{"path":".github","mode":"040000","type":"tree","sha":"ffffd591d165518d8c428521d10ffa22392c5e97","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/trees/ffffd591d165518d8c428521d10ffa22392c5e97"},{"path":".gitignore","mode":"100644","type":"blob","sha":"2d8848553266e9f2ae7ce91510a43202cb623243","size":3263,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/2d8848553266e9f2ae7ce91510a43202cb623243"},{"path":".pre-commit-config.yaml","mode":"100644","type":"blob","sha":"7c54e86f1b1ea30b090f7b6225e5882ac377da08","size":1095,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/7c54e86f1b1ea30b090f7b6225e5882ac377da08"},{"path":".readthedocs.yml","mode":"100644","type":"blob","sha":"ec1f7acc7a0cc20ac465470dc1cc9ea6f2675571","size":340,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/ec1f7acc7a0cc20ac465470dc1cc9ea6f2675571"},{"path":"ARCHITECTURE.md","mode":"100644","type":"blob","sha":"5ae081d5aa57fd6b315f2461d4e022213d4a3c90","size":27255,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/5ae081d5aa57fd6b315f2461d4e022213d4a3c90"},{"path":"CONTRIBUTING.md","mode":"100644","type":"blob","sha":"3d9542ead18aa240e842ba2efbc3878bbbd82c50","size":1153,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/3d9542ead18aa240e842ba2efbc3878bbbd82c50"},{"path":"COPYING","mode":"100644","type":"blob","sha":"94a9ed024d3859793618152ea559a168bbcbb5e2","size":35147,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/94a9ed024d3859793618152ea559a168bbcbb5e2"},{"path":"COPYING.LESSER","mode":"100644","type":"blob","sha":"65c5ca88a67c30becee01c5a8816d964b03862f9","size":7651,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/65c5ca88a67c30becee01c5a8816d964b03862f9"},{"path":"DEPLOY.md","mode":"100644","type":"blob","sha":"6cc2b87e94ad94c3d841ccb8b29413ca90d4be3d","size":1038,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/6cc2b87e94ad94c3d841ccb8b29413ca90d4be3d"},{"path":"MAINTAINERS","mode":"100644","type":"blob","sha":"d4d5103f95b51d35beafb358273e61bb6016a575","size":426,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/d4d5103f95b51d35beafb358273e61bb6016a575"},{"path":"OPENAPI.md","mode":"100644","type":"blob","sha":"14612650216faa5abdd8ea14f2283c8991dbb0c8","size":21721,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/14612650216faa5abdd8ea14f2283c8991dbb0c8"},{"path":"README.md","mode":"100644","type":"blob","sha":"0d9df5bfb7d4b93443c130bc8f4eea5dd3f01205","size":2524,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/0d9df5bfb7d4b93443c130bc8f4eea5dd3f01205"},{"path":"codecov.yml","mode":"100644","type":"blob","sha":"f759279240221260a1f8effb3c1cfdc89c276c24","size":148,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/f759279240221260a1f8effb3c1cfdc89c276c24"},{"path":"doc","mode":"040000","type":"tree","sha":"eb849db3cc5837676d2c9cfd896b79e139760298","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/trees/eb849db3cc5837676d2c9cfd896b79e139760298"},{"path":"github","mode":"040000","type":"tree","sha":"166424b031298228cfedc6d6fe178c95983444bc","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/trees/166424b031298228cfedc6d6fe178c95983444bc"},{"path":"openapi","mode":"040000","type":"tree","sha":"eaf169b4129650a587f57385ad19b6969738263b","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/trees/eaf169b4129650a587f57385ad19b6969738263b"},{"path":"path","mode":"040000","type":"tree","sha":"fa369e0c1bc56e4e28c492840f2c5cf3ca264f8c","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/trees/fa369e0c1bc56e4e28c492840f2c5cf3ca264f8c"},{"path":"pyproject.toml","mode":"100644","type":"blob","sha":"7bf7dc67e517bab9e66eb48f0420bd2138552ade","size":2784,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/7bf7dc67e517bab9e66eb48f0420bd2138552ade"},{"path":"requirements","mode":"040000","type":"tree","sha":"a97e13a11ab1fa42acd9acc6d6b0a9565c47c9f4","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/trees/a97e13a11ab1fa42acd9acc6d6b0a9565c47c9f4"},{"path":"scripts","mode":"040000","type":"tree","sha":"510b238db6bd4b8f034cb374892e5c88f9851e9c","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/trees/510b238db6bd4b8f034cb374892e5c88f9851e9c"},{"path":"tests","mode":"040000","type":"tree","sha":"7c1a9b70d8eff367bb22432b526e9662a6c86b78","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/trees/7c1a9b70d8eff367bb22432b526e9662a6c86b78"},{"path":"tox.ini","mode":"100644","type":"blob","sha":"96031a029b16e0a017594b9f2bb39a1bb59f9900","size":894,"url":"https://api.github.com/repos/EnricoMi/PyGithub/git/blobs/96031a029b16e0a017594b9f2bb39a1bb59f9900"}],"truncated":false}

https
GET
api.github.com
None
/repos/EnricoMi/PyGithub/git/commits/162ce9d0ed69b9e4950c92e1896ab3539a9cba1a
{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python'}
None
200
[('date', 'Thu, 20 Aug 2026 08:28:41 GMT'), ('content-type', 'application/json; charset=utf-8'), ('cache-control', 'private, max-age=60, s-maxage=60'), ('vary', 'Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With'), ('etag', 'W/"b4469ae556430bcb9655ff581da0111b4f36fadc89207a5b2098e2fe43554da4"'), ('last-modified', 'Tue, 18 Aug 2026 20:00:46 GMT'), ('github-authentication-token-expiration', '2026-09-19 08:26:39 UTC'), ('x-github-media-type', 'github.v3; format=json'), ('x-accepted-github-permissions', 'contents=read'), ('x-github-api-version-selected', '2022-11-28'), ('access-control-expose-headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset, Warning'), ('access-control-allow-origin', '*'), ('strict-transport-security', 'max-age=31536000; includeSubdomains; preload'), ('x-frame-options', 'deny'), ('x-content-type-options', 'nosniff'), ('x-xss-protection', '0'), ('referrer-policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('content-security-policy', "default-src 'none'"), ('content-encoding', 'gzip'), ('server', 'github.com'), ('x-ratelimit-limit', '5000'), ('x-ratelimit-remaining', '4990'), ('x-ratelimit-reset', '1787218023'), ('x-ratelimit-used', '10'), ('x-ratelimit-resource', 'core'), ('x-github-request-id', 'F44D:A2764:3E5ED85:3C9D8A8:6A86BAB9'), ('x-github-edge-region', 'fra')]
{"sha":"162ce9d0ed69b9e4950c92e1896ab3539a9cba1a","node_id":"C_kwDOGpsAJ9oAKDE2MmNlOWQwZWQ2OWI5ZTQ5NTBjOTJlMTg5NmFiMzUzOWE5Y2JhMWE","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/commits/162ce9d0ed69b9e4950c92e1896ab3539a9cba1a","html_url":"https://github.com/EnricoMi/PyGithub/commit/162ce9d0ed69b9e4950c92e1896ab3539a9cba1a","author":{"name":"Sebastien NICOT","email":"sebastien.nicot@enterprisedb.com","date":"2026-08-18T20:00:46Z"},"committer":{"name":"GitHub","email":"noreply@github.com","date":"2026-08-18T20:00:46Z"},"tree":{"sha":"c1522046c882fd781dc68bcbea96cc2eeab7d25e","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/trees/c1522046c882fd781dc68bcbea96cc2eeab7d25e"},"message":"Add `return_run_details` parameter to `Workflow.create_dispatch` (#3471)\n\n## Summary\n\nImplements support for GitHub's workflow dispatch `return_run_details`\nparameter (API version 2026-03-10) that returns immediate workflow run\ndetails when triggering a workflow dispatch event.\n\ncf. doc here:\nhttps://docs.github.com/en/rest/actions/workflows?apiVersion=2026-03-10&versionId=free-pro-team%40latest&category=actions#create-a-workflow-dispatch-event\n\n### Changes\n\n- **New Parameter**: Added `return_run_details` boolean parameter to\n`Workflow.create_dispatch()` (default: `False`)\n- **Return Type**: When `return_run_details=True`, returns a\n`WorkflowRun` object instead of a boolean\n- **Backward Compatible**: Existing behavior unchanged when parameter is\n`False` (default)\n- **Test Coverage**: Added test case\n`testCreateDispatchWithReturnRunDetails` with replay data\n\n### Benefits\n\n- **Immediate Access**: Get workflow run details immediately without\npolling or searching\n- **Better UX**: Enable immediate access to methods like `cancel()`,\n`rerun()`, `get_jobs()` on the returned `WorkflowRun` object\n- **API Alignment**: Matches GitHub's latest Actions API capabilities\n\n### Example Usage\n\n```python\n# Old behavior (still works)\nsuccess = workflow.create_dispatch(ref=\"main\", inputs={})  # Returns bool\n\n# New behavior with run details\nrun = workflow.create_dispatch(ref=\"main\", inputs={}, return_run_details=True)\nprint(f\"Workflow run ID: {run.id}\")\nprint(f\"View at: {run.html_url}\")\nrun.cancel()  # Can immediately interact with the run\n```\n\n## Test plan\n\n- [x] Unit tests pass with new test case\n- [x] Tested against live GitHub API (EnterpriseDB/poc repository)\n- [x] Backward compatibility verified (default behavior unchanged)\n- [x] Both `throw=True` and `throw=False` code paths tested\n\n---------\n\nCo-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>\nCo-authored-by: Enrico Minack <github@enrico.minack.dev>","parents":[{"sha":"b03e683661ba2f208225e3ab1d0cca17730f697b","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/commits/b03e683661ba2f208225e3ab1d0cca17730f697b","html_url":"https://github.com/EnricoMi/PyGithub/commit/b03e683661ba2f208225e3ab1d0cca17730f697b"}],"verification":{"verified":true,"reason":"valid","signature":"-----BEGIN PGP SIGNATURE-----\n\nwsFcBAABCAAQBQJqhLn+CRC1aQ7uu5UhlAAArHgQAJOX/1gfMWYZXTvuKGagwEiB\n0R1QS4aAaas0UEBnfC7Klntw5ECuhXQtdRUgc84pX18/S4uPMer51BNqya0O6igj\naQz9CyknZng+wweHVNJm2bxRnSmEJ6EjyF3PD9KIcIyDx5bc7qZwp3hRmLAjwrDu\nXegWVO2b4QNjpf+xG9rfVwjFw/svoAf3t3lRwABXdPMHkqWv4kcGrXCEKIXVnY8P\n4HjPVk2JSQ3a0470qFSMwKRJVb0mrvU7t9o7zK3CLzjEl4uZGjCAAc6Iu/4kMMyA\nMjJbXBUL7ekm/00uqlRkMx5R+bzTjXFI5lRfCZ5r4V0rjIlCiZ8cL3tY24xIMr1w\nWJNjo1g8HTLblIpFVEGmC8mHi1Mc+vasTey3FqlBdU+8qaNJ10iOtnYf4OmPjG/m\nQlIjOsM7e788hwSeRJ/ZFLAhN6zpQ2Xqu+fk9HTA2gNPqnThvfwc4j1tYQwTv5Ez\nlNUJsSFUR9N2hn/G2JgBlIOsIqE4tZzNMleZXqLaZXwTgfwwpcICLzsAWZoD9lcH\nqB2hMVT9dnnQ4foD/1QRxmwC37sYEbro1rvDoCvQcImFPyYDs5F5Wr4yTCcvS71Q\nZwlusBbuZAjmm8aIJF2OgYpeH2jhyszxSGWQKZN4iaIvxzL8IfCwFxhrf4g7Z4B2\nGGkk1D3wlxD2d0GKu6LG\n=zGat\n-----END PGP SIGNATURE-----\n","payload":"tree c1522046c882fd781dc68bcbea96cc2eeab7d25e\nparent b03e683661ba2f208225e3ab1d0cca17730f697b\nauthor Sebastien NICOT <sebastien.nicot@enterprisedb.com> 1787083246 +0000\ncommitter GitHub <noreply@github.com> 1787083246 +0000\n\nAdd `return_run_details` parameter to `Workflow.create_dispatch` (#3471)\n\n## Summary\n\nImplements support for GitHub's workflow dispatch `return_run_details`\nparameter (API version 2026-03-10) that returns immediate workflow run\ndetails when triggering a workflow dispatch event.\n\ncf. doc here:\nhttps://docs.github.com/en/rest/actions/workflows?apiVersion=2026-03-10&versionId=free-pro-team%40latest&category=actions#create-a-workflow-dispatch-event\n\n### Changes\n\n- **New Parameter**: Added `return_run_details` boolean parameter to\n`Workflow.create_dispatch()` (default: `False`)\n- **Return Type**: When `return_run_details=True`, returns a\n`WorkflowRun` object instead of a boolean\n- **Backward Compatible**: Existing behavior unchanged when parameter is\n`False` (default)\n- **Test Coverage**: Added test case\n`testCreateDispatchWithReturnRunDetails` with replay data\n\n### Benefits\n\n- **Immediate Access**: Get workflow run details immediately without\npolling or searching\n- **Better UX**: Enable immediate access to methods like `cancel()`,\n`rerun()`, `get_jobs()` on the returned `WorkflowRun` object\n- **API Alignment**: Matches GitHub's latest Actions API capabilities\n\n### Example Usage\n\n```python\n# Old behavior (still works)\nsuccess = workflow.create_dispatch(ref=\"main\", inputs={})  # Returns bool\n\n# New behavior with run details\nrun = workflow.create_dispatch(ref=\"main\", inputs={}, return_run_details=True)\nprint(f\"Workflow run ID: {run.id}\")\nprint(f\"View at: {run.html_url}\")\nrun.cancel()  # Can immediately interact with the run\n```\n\n## Test plan\n\n- [x] Unit tests pass with new test case\n- [x] Tested against live GitHub API (EnterpriseDB/poc repository)\n- [x] Backward compatibility verified (default behavior unchanged)\n- [x] Both `throw=True` and `throw=False` code paths tested\n\n---------\n\nCo-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>\nCo-authored-by: Enrico Minack <github@enrico.minack.dev>","verified_at":"2026-08-18T20:01:03Z"}}

https
POST
api.github.com
None
/repos/EnricoMi/PyGithub/git/commits
{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python', 'Content-Type': 'application/json'}
{"message": "Add multiple files in one commit", "tree": "cd35ead57f01b3170fd0e0a67e470b759454dc60", "parents": ["162ce9d0ed69b9e4950c92e1896ab3539a9cba1a"]}
201
[('date', 'Thu, 20 Aug 2026 08:28:42 GMT'), ('content-type', 'application/json; charset=utf-8'), ('content-length', '1122'), ('cache-control', 'private, max-age=60, s-maxage=60'), ('vary', 'Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With'), ('etag', '"45eb4d85dbcac195393a2ecd9ab57bae31abb386a6c51770dfcfbd5e5efcb064"'), ('github-authentication-token-expiration', '2026-09-19 08:26:39 UTC'), ('location', 'https://api.github.com/repos/EnricoMi/PyGithub/git/commits/56e0c116bc2e43d75418457b4874d20a95c46ff0'), ('x-github-media-type', 'github.v3; format=json'), ('x-accepted-github-permissions', 'contents=write'), ('x-github-api-version-selected', '2022-11-28'), ('access-control-expose-headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset, Warning'), ('access-control-allow-origin', '*'), ('strict-transport-security', 'max-age=31536000; includeSubdomains; preload'), ('x-frame-options', 'deny'), ('x-content-type-options', 'nosniff'), ('x-xss-protection', '0'), ('referrer-policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('content-security-policy', "default-src 'none'"), ('server', 'github.com'), ('x-ratelimit-limit', '5000'), ('x-ratelimit-remaining', '4998'), ('x-ratelimit-reset', '1787218120'), ('x-ratelimit-used', '2'), ('x-ratelimit-resource', 'core'), ('x-github-request-id', 'FAEB:69510:3BB7879:3A0693E:6A86BABA'), ('x-github-edge-region', 'fra')]
{"sha":"56e0c116bc2e43d75418457b4874d20a95c46ff0","node_id":"C_kwDOGpsAJ9oAKDU2ZTBjMTE2YmMyZTQzZDc1NDE4NDU3YjQ4NzRkMjBhOTVjNDZmZjA","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/commits/56e0c116bc2e43d75418457b4874d20a95c46ff0","html_url":"https://github.com/EnricoMi/PyGithub/commit/56e0c116bc2e43d75418457b4874d20a95c46ff0","author":{"name":"Enrico Minack","email":"github@enrico.minack.dev","date":"2026-08-20T08:28:42Z"},"committer":{"name":"Enrico Minack","email":"github@enrico.minack.dev","date":"2026-08-20T08:28:42Z"},"tree":{"sha":"cd35ead57f01b3170fd0e0a67e470b759454dc60","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/trees/cd35ead57f01b3170fd0e0a67e470b759454dc60"},"message":"Add multiple files in one commit","parents":[{"sha":"162ce9d0ed69b9e4950c92e1896ab3539a9cba1a","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/commits/162ce9d0ed69b9e4950c92e1896ab3539a9cba1a","html_url":"https://github.com/EnricoMi/PyGithub/commit/162ce9d0ed69b9e4950c92e1896ab3539a9cba1a"}],"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null,"verified_at":null}}

https
PATCH
api.github.com
None
/repos/EnricoMi/PyGithub/git/refs/heads/commit-with-multiple-files
{'Authorization': 'token private_token_removed', 'User-Agent': 'PyGithub/Python', 'Content-Type': 'application/json'}
{"sha": "56e0c116bc2e43d75418457b4874d20a95c46ff0"}
200
[('date', 'Thu, 20 Aug 2026 08:28:43 GMT'), ('content-type', 'application/json; charset=utf-8'), ('cache-control', 'private, max-age=60, s-maxage=60'), ('vary', 'Accept, Authorization, Cookie, X-GitHub-OTP,Accept-Encoding, Accept, X-Requested-With'), ('etag', 'W/"0fce8bba47b580186ece92b6e4e563502a2994832b227bb85a6a1fe0ab197c76"'), ('github-authentication-token-expiration', '2026-09-19 08:26:39 UTC'), ('x-github-media-type', 'github.v3; format=json'), ('x-accepted-github-permissions', 'contents=write; contents=write,workflows=write'), ('x-github-api-version-selected', '2022-11-28'), ('access-control-expose-headers', 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset, Warning'), ('access-control-allow-origin', '*'), ('strict-transport-security', 'max-age=31536000; includeSubdomains; preload'), ('x-frame-options', 'deny'), ('x-content-type-options', 'nosniff'), ('x-xss-protection', '0'), ('referrer-policy', 'origin-when-cross-origin, strict-origin-when-cross-origin'), ('content-security-policy', "default-src 'none'"), ('content-encoding', 'gzip'), ('server', 'github.com'), ('x-ratelimit-limit', '5000'), ('x-ratelimit-remaining', '4997'), ('x-ratelimit-reset', '1787218120'), ('x-ratelimit-used', '3'), ('x-ratelimit-resource', 'core'), ('x-github-request-id', 'EB62:1EF68:3BD266B:3A21568:6A86BABA'), ('x-github-edge-region', 'fra')]
{"ref":"refs/heads/commit-with-multiple-files","node_id":"REF_kwDOGpsAJ9oAJXJlZnMvaGVhZHMvY29tbWl0LXdpdGgtbXVsdGlwbGUtZmlsZXM","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/refs/heads/commit-with-multiple-files","object":{"sha":"56e0c116bc2e43d75418457b4874d20a95c46ff0","type":"commit","url":"https://api.github.com/repos/EnricoMi/PyGithub/git/commits/56e0c116bc2e43d75418457b4874d20a95c46ff0"}}
