Skip to content

Commit

Permalink
feat: delete_branch_on_merge in responses (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
octokitbot authored and gr2m committed Jan 9, 2020
1 parent 47627ff commit e1e1f59
Show file tree
Hide file tree
Showing 4 changed files with 266 additions and 257 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@
"allow_squash_merge": true,
"allow_merge_commit": true,
"allow_rebase_merge": true,
"delete_branch_on_merge": false,
"organization": {
"login": "octokit-fixture-org",
"id": 1000,
Expand Down Expand Up @@ -140,7 +141,7 @@
"access-control-expose-headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type",
"cache-control": "private, max-age=60, s-maxage=60",
"connection": "close",
"content-length": "6666",
"content-length": "6697",
"content-security-policy": "default-src 'none'",
"content-type": "application/json; charset=utf-8",
"date": "Tue, 10 Oct 2017 16:00:00 GMT",
Expand Down
11 changes: 6 additions & 5 deletions scenarios/api.github.com/get-repository/raw-fixture.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@
"allow_squash_merge": true,
"allow_merge_commit": true,
"allow_rebase_merge": true,
"delete_branch_on_merge": false,
"organization": {
"login": "octokit-fixture-org",
"id": 31898100,
Expand Down Expand Up @@ -134,11 +135,11 @@
"Server",
"GitHub.com",
"Date",
"Fri, 06 Dec 2019 10:23:55 GMT",
"Thu, 09 Jan 2020 10:39:06 GMT",
"Content-Type",
"application/json; charset=utf-8",
"Content-Length",
"6726",
"6757",
"Connection",
"close",
"Status",
Expand All @@ -148,13 +149,13 @@
"X-RateLimit-Remaining",
"4961",
"X-RateLimit-Reset",
"1575631411",
"1578569872",
"Cache-Control",
"private, max-age=60, s-maxage=60",
"Vary",
"Accept, Authorization, Cookie, X-GitHub-OTP",
"ETag",
"\"0704346942d7e348677beb5b05377f36\"",
"\"8ba873a10310f407fa83ccb19bbbfa8e\"",
"Last-Modified",
"Tue, 19 Sep 2017 15:57:54 GMT",
"X-OAuth-Scopes",
Expand All @@ -180,7 +181,7 @@
"Content-Security-Policy",
"default-src 'none'",
"X-GitHub-Request-Id",
"E4CE:110D:93F757:17D89CC:5DEA2C3B"
"C3CE:553B:34BA68:7EF5D5:5E1702C9"
],
"reqheaders": {
"accept": "application/vnd.github.v3+json,application/vnd.github.speedy-preview+json",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@
"allow_squash_merge": true,
"allow_merge_commit": true,
"allow_rebase_merge": true,
"delete_branch_on_merge": false,
"organization": {
"login": "octokit-fixture-org",
"id": 1000,
Expand Down Expand Up @@ -143,7 +144,7 @@
"access-control-expose-headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type",
"cache-control": "private, max-age=60, s-maxage=60",
"connection": "close",
"content-length": "7260",
"content-length": "7291",
"content-security-policy": "default-src 'none'",
"content-type": "application/json; charset=utf-8",
"date": "Tue, 10 Oct 2017 16:00:00 GMT",
Expand Down Expand Up @@ -311,6 +312,7 @@
"allow_squash_merge": true,
"allow_merge_commit": true,
"allow_rebase_merge": true,
"delete_branch_on_merge": false,
"organization": {
"login": "octokit-fixture-org",
"id": 1000,
Expand Down Expand Up @@ -344,7 +346,7 @@
"access-control-expose-headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type",
"cache-control": "private, max-age=60, s-maxage=60",
"connection": "close",
"content-length": "7282",
"content-length": "7313",
"content-security-policy": "default-src 'none'",
"content-type": "application/json; charset=utf-8",
"date": "Tue, 10 Oct 2017 16:00:00 GMT",
Expand Down Expand Up @@ -520,6 +522,7 @@
"allow_squash_merge": true,
"allow_merge_commit": true,
"allow_rebase_merge": true,
"delete_branch_on_merge": false,
"organization": {
"login": "octokit-fixture-org",
"id": 1000,
Expand Down Expand Up @@ -555,7 +558,7 @@
"access-control-expose-headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type",
"cache-control": "private, max-age=60, s-maxage=60",
"connection": "close",
"content-length": "7274",
"content-length": "7305",
"content-security-policy": "default-src 'none'",
"content-type": "application/json; charset=utf-8",
"date": "Tue, 10 Oct 2017 16:00:00 GMT",
Expand Down

0 comments on commit e1e1f59

Please sign in to comment.