Skip to content

Commit

Permalink
feat: RepositoryRulesetBypassActor#deployKey (#938)
Browse files Browse the repository at this point in the history
  • Loading branch information
octokitbot committed Apr 29, 2024
1 parent 518bd2c commit 05ee809
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 3 deletions.
7 changes: 6 additions & 1 deletion schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23106,6 +23106,8 @@ export type RepositoryRulesetBypassActor = Node & {
actor?: Maybe<BypassActor>;
/** The mode for the bypass actor */
bypassMode?: Maybe<RepositoryRulesetBypassActorBypassMode>;
/** This actor represents the ability for a deploy key to bypass */
deployKey: Scalars['Boolean']['output'];
/** The Node ID of the RepositoryRulesetBypassActor object */
id: Scalars['ID']['output'];
/** This actor represents the ability for an organization owner to bypass */
Expand Down Expand Up @@ -23149,13 +23151,16 @@ export type RepositoryRulesetBypassActorEdge = {

/**
* Specifies the attributes for a new or updated ruleset bypass actor. Only one of
* `actor_id`, `repository_role_database_id`, or `organization_admin` should be specified.
* `actor_id`, `repository_role_database_id`, `organization_admin`, or `deploy_key`
* should be specified.
*/
export type RepositoryRulesetBypassActorInput = {
/** For Team and Integration bypasses, the Team or Integration ID */
actorId?: InputMaybe<Scalars['ID']['input']>;
/** The bypass mode for this actor. */
bypassMode: RepositoryRulesetBypassActorBypassMode;
/** For deploy key bypasses, true. Can only use ALWAYS as the bypass mode */
deployKey?: InputMaybe<Scalars['Boolean']['input']>;
/** For organization owner bypasses, true */
organizationAdmin?: InputMaybe<Scalars['Boolean']['input']>;
/** For role bypasses, the role database ID */
Expand Down
13 changes: 12 additions & 1 deletion schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -46303,6 +46303,11 @@ type RepositoryRulesetBypassActor implements Node {
"""
bypassMode: RepositoryRulesetBypassActorBypassMode

"""
This actor represents the ability for a deploy key to bypass
"""
deployKey: Boolean!

"""
The Node ID of the RepositoryRulesetBypassActor object
"""
Expand Down Expand Up @@ -46386,7 +46391,8 @@ type RepositoryRulesetBypassActorEdge {

"""
Specifies the attributes for a new or updated ruleset bypass actor. Only one of
`actor_id`, `repository_role_database_id`, or `organization_admin` should be specified.
`actor_id`, `repository_role_database_id`, `organization_admin`, or `deploy_key`
should be specified.
"""
input RepositoryRulesetBypassActorInput {
"""
Expand All @@ -46399,6 +46405,11 @@ input RepositoryRulesetBypassActorInput {
"""
bypassMode: RepositoryRulesetBypassActorBypassMode!

"""
For deploy key bypasses, true. Can only use ALWAYS as the bypass mode
"""
deployKey: Boolean

"""
For organization owner bypasses, true
"""
Expand Down
28 changes: 27 additions & 1 deletion schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -120397,6 +120397,22 @@
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "deployKey",
"description": "This actor represents the ability for a deploy key to bypass",
"args": [],
"type": {
"kind": "NON_NULL",
"name": null,
"ofType": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
}
},
"isDeprecated": false,
"deprecationReason": null
},
{
"name": "id",
"description": "The Node ID of the RepositoryRulesetBypassActor object",
Expand Down Expand Up @@ -120617,7 +120633,7 @@
{
"kind": "INPUT_OBJECT",
"name": "RepositoryRulesetBypassActorInput",
"description": "Specifies the attributes for a new or updated ruleset bypass actor. Only one of `actor_id`, `repository_role_database_id`, or `organization_admin` should be specified.",
"description": "Specifies the attributes for a new or updated ruleset bypass actor. Only one of `actor_id`, `repository_role_database_id`, `organization_admin`, or `deploy_key` should be specified.",
"fields": null,
"inputFields": [
{
Expand Down Expand Up @@ -120650,6 +120666,16 @@
},
"defaultValue": null
},
{
"name": "deployKey",
"description": "For deploy key bypasses, true. Can only use ALWAYS as the bypass mode",
"type": {
"kind": "SCALAR",
"name": "Boolean",
"ofType": null
},
"defaultValue": null
},
{
"name": "bypassMode",
"description": "The bypass mode for this actor.",
Expand Down

0 comments on commit 05ee809

Please sign in to comment.