Skip to content

Commit

Permalink
Disable GC and branch protection for read-only repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
idanovo committed Feb 18, 2024
1 parent 51153e6 commit 0518870
Show file tree
Hide file tree
Showing 19 changed files with 232 additions and 2 deletions.
11 changes: 11 additions & 0 deletions api/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2698,6 +2698,7 @@ paths:
description: too many requests
default:
$ref: "#/components/responses/ServerError"

/repositories/{repository}/settings/gc_rules:
parameters:
- in: path
Expand Down Expand Up @@ -2740,6 +2741,8 @@ paths:
description: set garbage collection rules successfully
401:
$ref: "#/components/responses/Unauthorized"
403:
$ref: "#/components/responses/Forbidden"
404:
$ref: "#/components/responses/NotFound"
420:
Expand All @@ -2755,6 +2758,8 @@ paths:
description: deleted garbage collection rules successfully
401:
$ref: "#/components/responses/Unauthorized"
403:
$ref: "#/components/responses/Forbidden"
404:
$ref: "#/components/responses/NotFound"
420:
Expand Down Expand Up @@ -2823,6 +2828,8 @@ paths:
$ref: "#/components/responses/BadRequest"
401:
$ref: "#/components/responses/Unauthorized"
403:
$ref: "#/components/responses/Forbidden"
404:
$ref: "#/components/responses/NotFound"
412:
Expand Down Expand Up @@ -5074,6 +5081,8 @@ paths:
$ref: "#/components/schemas/GarbageCollectionPrepareResponse"
401:
$ref: "#/components/responses/Unauthorized"
403:
$ref: "#/components/responses/Forbidden"
404:
$ref: "#/components/responses/NotFound"
420:
Expand Down Expand Up @@ -5109,6 +5118,8 @@ paths:
$ref: "#/components/responses/ValidationError"
401:
$ref: "#/components/responses/Unauthorized"
403:
$ref: "#/components/responses/Forbidden"
404:
$ref: "#/components/responses/NotFound"
420:
Expand Down
30 changes: 30 additions & 0 deletions clients/java-legacy/api/openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions clients/java-legacy/docs/InternalApi.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions clients/java-legacy/docs/RepositoriesApi.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions clients/java/api/openapi.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0518870

Please sign in to comment.