Skip to content

Commit

Permalink
feat: Updated OpenAPI spec
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 5, 2024
1 parent 144a2f9 commit 0f3177f
Showing 1 changed file with 9 additions and 21 deletions.
30 changes: 9 additions & 21 deletions src/libs/GitHub/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19958,7 +19958,7 @@ paths:
have recently been set by a particular GitHub App, they will
be required to come from that app in future for the branch
to merge. Use `checks` instead of `contexts` for more fine-grained
control.\n"
control."
items:
type: string
checks:
Expand Down Expand Up @@ -20665,7 +20665,7 @@ paths:
in order to merge into this branch. If any of these checks have
recently been set by a particular GitHub App, they will be required
to come from that app in future for the branch to merge. Use `checks`
instead of `contexts` for more fine-grained control.\n"
instead of `contexts` for more fine-grained control."
items:
type: string
checks:
Expand Down Expand Up @@ -73799,12 +73799,10 @@ components:
actor_id:
type: integer
nullable: true
description: 'The ID of the actor that can bypass a ruleset. If `actor_type`
description: The ID of the actor that can bypass a ruleset. If `actor_type`
is `OrganizationAdmin`, this should be `1`. If `actor_type` is `DeployKey`,
this should be null. `OrganizationAdmin` is not applicable for personal
repositories.

'
actor_type:
type: string
enum:
Expand All @@ -73813,16 +73811,12 @@ components:
- RepositoryRole
- Team
- DeployKey
description: 'The type of actor that can bypass a ruleset.

'
description: The type of actor that can bypass a ruleset.
bypass_mode:
type: string
description: 'When the specified actor can bypass the ruleset. `pull_request`
description: When the specified actor can bypass the ruleset. `pull_request`
means that an actor can only bypass rules on pull requests. `pull_request`
is not applicable for the `DeployKey` actor type.

'
enum:
- always
- pull_request
Expand Down Expand Up @@ -73937,11 +73931,9 @@ components:
org-ruleset-conditions:
title: Organization ruleset conditions
type: object
description: 'Conditions for an organization ruleset. The conditions object
should contain both `repository_name` and `ref_name` properties or both `repository_id`
description: Conditions for an organization ruleset. The conditions object should
contain both `repository_name` and `ref_name` properties or both `repository_id`
and `ref_name` properties.

'
oneOf:
- type: object
title: repository_name_and_ref_name
Expand Down Expand Up @@ -94189,10 +94181,8 @@ components:
merge-group:
type: object
title: Merge Group
description: 'A group of pull requests that the merge queue has grouped together
description: A group of pull requests that the merge queue has grouped together
to be merged.

'
properties:
head_sha:
description: The SHA of the merge group.
Expand Down Expand Up @@ -220314,12 +220304,10 @@ components:
type: string
ref-in-query:
name: ref
description: 'The name of the ref. Cannot contain wildcard characters. Optionally
description: The name of the ref. Cannot contain wildcard characters. Optionally
prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit to
tags. Omit the prefix to search across all refs. When specified, only rule
evaluations triggered for this ref will be returned.

'
in: query
schema:
type: string
Expand Down

0 comments on commit 0f3177f

Please sign in to comment.