diff --git a/data/secret-scanning.yml b/data/secret-scanning.yml index 00b9a434e76c..b0e1fb04d8b7 100644 --- a/data/secret-scanning.yml +++ b/data/secret-scanning.yml @@ -167,6 +167,18 @@ hasPushProtection: true hasValidityCheck: '{% ifversion fpt or ghes %}false{% else %}true{% endif %}' +- provider: 'Anthropic' + supportedSecret: 'Anthropic API Key' + secretType: 'anthropic_api_key' + versions: + fpt: '*' + ghec: '*' + ghes: '>=3.12' + isPublic: false + isPrivateWithGhas: true + hasPushProtection: true + hasValidityCheck: false + - provider: 'Asana' supportedSecret: 'Asana Personal Access Token' secretType: 'asana_personal_access_token' @@ -466,6 +478,18 @@ hasPushProtection: true hasValidityCheck: false +- provider: 'Canva' + supportedSecret: 'Canva Connect API Secret' + secretType: 'canva_connect_api_secret' + versions: + fpt: '*' + ghec: '*' + ghes: '>=3.12' + isPublic: true + isPrivateWithGhas: true + hasPushProtection: true + hasValidityCheck: false + - provider: 'Checkout.com' supportedSecret: 'Checkout.com Production Secret Key' secretType: 'checkout_production_secret_key' @@ -2783,7 +2807,7 @@ isPublic: false isPrivateWithGhas: true hasPushProtection: false - hasValidityCheck: false + hasValidityCheck: '{% ifversion fpt or ghes %}false{% else %}true{% endif %}' - provider: 'Telnyx' supportedSecret: 'Telnyx API V2 Key' @@ -3040,7 +3064,7 @@ ghec: '*' ghes: '*' ghae: '*' - isPublic: true + isPublic: false isPrivateWithGhas: true hasPushProtection: false hasValidityCheck: false @@ -3064,7 +3088,7 @@ ghec: '*' ghes: '*' ghae: '*' - isPublic: true + isPublic: false isPrivateWithGhas: true hasPushProtection: false hasValidityCheck: false @@ -3077,7 +3101,7 @@ ghec: '*' ghes: '*' ghae: '*' - isPublic: true + isPublic: false isPrivateWithGhas: true hasPushProtection: false hasValidityCheck: false diff --git a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json index 7633f9a5d09a..a8031abd4d19 100644 --- a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json @@ -39,6 +39,24 @@ "additional-permissions": [], "access": "read" }, + { + "category": "enterprise-admin", + "slug": "list-enterprise-consumed-licenses", + "subcategory": "license", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/consumed-licenses", + "additional-permissions": [], + "access": "read" + }, + { + "category": "enterprise-admin", + "slug": "get-a-license-sync-status", + "subcategory": "license", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/license-sync-status", + "additional-permissions": [], + "access": "read" + }, { "category": "enterprise-admin", "slug": "get-github-actions-billing-for-an-enterprise", diff --git a/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json index e7beba6940ba..166eea374d22 100644 --- a/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json @@ -47,6 +47,28 @@ "server-to-server": true, "additional-permissions": [] }, + { + "category": "enterprise-admin", + "slug": "list-enterprise-consumed-licenses", + "subcategory": "license", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/consumed-licenses", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": [] + }, + { + "category": "enterprise-admin", + "slug": "get-a-license-sync-status", + "subcategory": "license", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/license-sync-status", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": [] + }, { "category": "enterprise-admin", "slug": "get-github-actions-billing-for-an-enterprise", diff --git a/src/github-apps/lib/config.json b/src/github-apps/lib/config.json index 5afd2079ce11..d8e59e9ecc79 100644 --- a/src/github-apps/lib/config.json +++ b/src/github-apps/lib/config.json @@ -60,5 +60,5 @@ "2022-11-28" ] }, - "sha": "6d0981c022d41b9e6f385d364bd2dfcc5d3b6cab" + "sha": "7ab8592e0e02e3a1f4b89b14078e3ae793b17068" } \ No newline at end of file diff --git a/src/rest/data/fpt-2022-11-28/schema.json b/src/rest/data/fpt-2022-11-28/schema.json index dd8f9f456c3a..e60e9ec66235 100644 --- a/src/rest/data/fpt-2022-11-28/schema.json +++ b/src/rest/data/fpt-2022-11-28/schema.json @@ -158145,7 +158145,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists the codespaces associated to a specified repository and the authenticated user.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have read access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Lists the codespaces associated to a specified repository and the authenticated user.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -161632,7 +161632,7 @@ } ], "previews": [], - "descriptionHTML": "

Creates a codespace owned by the authenticated user in the specified repository.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Creates a codespace owned by the authenticated user in the specified repository.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "201", @@ -162089,7 +162089,7 @@ } ], "previews": [], - "descriptionHTML": "

Gets the default attributes for codespaces created by the user with the repository.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Gets the default attributes for codespaces created by the user with the repository.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -162201,7 +162201,7 @@ } ], "previews": [], - "descriptionHTML": "

Checks whether the permissions defined by a given devcontainer configuration have been accepted by the authenticated user.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Checks whether the permissions defined by a given devcontainer configuration have been accepted by the authenticated user.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -165697,7 +165697,7 @@ } ], "previews": [], - "descriptionHTML": "

Creates a codespace owned by the authenticated user for the specified pull request.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Creates a codespace owned by the authenticated user for the specified pull request.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "201", @@ -167737,7 +167737,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists the authenticated user's codespaces.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have read access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Lists the authenticated user's codespaces.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -171231,7 +171231,7 @@ } ], "previews": [], - "descriptionHTML": "

Creates a new codespace, owned by the authenticated user.

\n

This endpoint requires either a repository_id OR a pull_request but not both.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Creates a new codespace, owned by the authenticated user.

\n

This endpoint requires either a repository_id OR a pull_request but not both.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "201", @@ -172955,7 +172955,7 @@ } ], "previews": [], - "descriptionHTML": "

Gets information about a user's codespace.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have read access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Gets information about a user's codespace.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -174702,7 +174702,7 @@ } ], "previews": [], - "descriptionHTML": "

Updates a codespace owned by the authenticated user. Currently only the codespace's machine type and recent folders can be modified using this endpoint.

\n

If you specify a new machine type it will be applied the next time your codespace is started.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Updates a codespace owned by the authenticated user. Currently only the codespace's machine type and recent folders can be modified using this endpoint.

\n

If you specify a new machine type it will be applied the next time your codespace is started.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -174764,7 +174764,7 @@ } ], "previews": [], - "descriptionHTML": "

Deletes a user's codespace.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Deletes a user's codespace.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "202", @@ -182026,7 +182026,7 @@ } ], "previews": [], - "descriptionHTML": "

Publishes an unpublished codespace, creating a new repository and assigning it to the codespace.

\n

The codespace's token is granted write permissions to the repository, allowing the user to push their changes.

\n

This will fail for a codespace that is already published, meaning it has an associated repository.

\n

You must authenticate using a personal access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Publishes an unpublished codespace, creating a new repository and assigning it to the codespace.

\n

The codespace's token is granted write permissions to the repository, allowing the user to push their changes.

\n

This will fail for a codespace that is already published, meaning it has an associated repository.

\n

You must authenticate using a personal access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "201", @@ -334228,7 +334228,7 @@ } ], "previews": [], - "descriptionHTML": "

Returns a weekly aggregate of the number of additions and deletions pushed to a repository.

", + "descriptionHTML": "

Returns a weekly aggregate of the number of additions and deletions pushed to a repository.

\n

Note: This endpoint can only be used for repositories with fewer than 10,000 commits. If the repository contains\n10,000 or more commits, a 422 status code will be returned.

", "statusCodes": [ { "httpStatusCode": "200", @@ -334241,6 +334241,10 @@ { "httpStatusCode": "204", "description": "

A header with no content is returned.

" + }, + { + "httpStatusCode": "422", + "description": "

Repository contains more than 10,000 commits

" } ] }, @@ -334663,7 +334667,7 @@ } ], "previews": [], - "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", + "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n\n

Note: This endpoint will return 0 values for all addition and deletion counts in repositories with 10,000 or more commits.

", "statusCodes": [ { "httpStatusCode": "200", @@ -367840,6 +367844,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -369589,6 +369597,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -370538,6 +370550,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -372294,6 +372310,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -504115,6 +504135,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -505780,6 +505804,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -506739,6 +506767,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -508411,6 +508443,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { diff --git a/src/rest/data/ghae/schema.json b/src/rest/data/ghae/schema.json index d5b4877645d8..4d5150edc617 100644 --- a/src/rest/data/ghae/schema.json +++ b/src/rest/data/ghae/schema.json @@ -246304,7 +246304,7 @@ } ], "previews": [], - "descriptionHTML": "

Returns a weekly aggregate of the number of additions and deletions pushed to a repository.

", + "descriptionHTML": "

Returns a weekly aggregate of the number of additions and deletions pushed to a repository.

\n

Note: This endpoint can only be used for repositories with fewer than 10,000 commits. If the repository contains\n10,000 or more commits, a 422 status code will be returned.

", "statusCodes": [ { "httpStatusCode": "200", @@ -246317,6 +246317,10 @@ { "httpStatusCode": "204", "description": "

A header with no content is returned.

" + }, + { + "httpStatusCode": "422", + "description": "

Repository contains more than 10,000 commits

" } ] }, @@ -246739,7 +246743,7 @@ } ], "previews": [], - "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", + "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n\n

Note: This endpoint will return 0 values for all addition and deletion counts in repositories with 10,000 or more commits.

", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/data/ghec-2022-11-28/schema.json b/src/rest/data/ghec-2022-11-28/schema.json index caf51b9c45bd..467d31dffb6a 100644 --- a/src/rest/data/ghec-2022-11-28/schema.json +++ b/src/rest/data/ghec-2022-11-28/schema.json @@ -170132,7 +170132,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists the codespaces associated to a specified repository and the authenticated user.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have read access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Lists the codespaces associated to a specified repository and the authenticated user.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -173643,7 +173643,7 @@ } ], "previews": [], - "descriptionHTML": "

Creates a codespace owned by the authenticated user in the specified repository.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Creates a codespace owned by the authenticated user in the specified repository.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "201", @@ -174100,7 +174100,7 @@ } ], "previews": [], - "descriptionHTML": "

Gets the default attributes for codespaces created by the user with the repository.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Gets the default attributes for codespaces created by the user with the repository.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -174212,7 +174212,7 @@ } ], "previews": [], - "descriptionHTML": "

Checks whether the permissions defined by a given devcontainer configuration have been accepted by the authenticated user.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Checks whether the permissions defined by a given devcontainer configuration have been accepted by the authenticated user.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -177732,7 +177732,7 @@ } ], "previews": [], - "descriptionHTML": "

Creates a codespace owned by the authenticated user for the specified pull request.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Creates a codespace owned by the authenticated user for the specified pull request.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "201", @@ -179784,7 +179784,7 @@ } ], "previews": [], - "descriptionHTML": "

Lists the authenticated user's codespaces.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have read access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Lists the authenticated user's codespaces.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -183302,7 +183302,7 @@ } ], "previews": [], - "descriptionHTML": "

Creates a new codespace, owned by the authenticated user.

\n

This endpoint requires either a repository_id OR a pull_request but not both.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Creates a new codespace, owned by the authenticated user.

\n

This endpoint requires either a repository_id OR a pull_request but not both.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "201", @@ -185038,7 +185038,7 @@ } ], "previews": [], - "descriptionHTML": "

Gets information about a user's codespace.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have read access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Gets information about a user's codespace.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -186797,7 +186797,7 @@ } ], "previews": [], - "descriptionHTML": "

Updates a codespace owned by the authenticated user. Currently only the codespace's machine type and recent folders can be modified using this endpoint.

\n

If you specify a new machine type it will be applied the next time your codespace is started.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Updates a codespace owned by the authenticated user. Currently only the codespace's machine type and recent folders can be modified using this endpoint.

\n

If you specify a new machine type it will be applied the next time your codespace is started.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -186859,7 +186859,7 @@ } ], "previews": [], - "descriptionHTML": "

Deletes a user's codespace.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Deletes a user's codespace.

\n

You must authenticate using an access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "202", @@ -194133,7 +194133,7 @@ } ], "previews": [], - "descriptionHTML": "

Publishes an unpublished codespace, creating a new repository and assigning it to the codespace.

\n

The codespace's token is granted write permissions to the repository, allowing the user to push their changes.

\n

This will fail for a codespace that is already published, meaning it has an associated repository.

\n

You must authenticate using a personal access token with the codespace scope to use this endpoint.

\n

GitHub Apps must have write access to the codespaces repository permission to use this endpoint.

", + "descriptionHTML": "

Publishes an unpublished codespace, creating a new repository and assigning it to the codespace.

\n

The codespace's token is granted write permissions to the repository, allowing the user to push their changes.

\n

This will fail for a codespace that is already published, meaning it has an associated repository.

\n

You must authenticate using a personal access token with the codespace scope to use this endpoint.

\n

To use this endpoint with GitHub Apps:

\n", "statusCodes": [ { "httpStatusCode": "201", @@ -353634,7 +353634,7 @@ } ], "previews": [], - "descriptionHTML": "

Returns a weekly aggregate of the number of additions and deletions pushed to a repository.

", + "descriptionHTML": "

Returns a weekly aggregate of the number of additions and deletions pushed to a repository.

\n

Note: This endpoint can only be used for repositories with fewer than 10,000 commits. If the repository contains\n10,000 or more commits, a 422 status code will be returned.

", "statusCodes": [ { "httpStatusCode": "200", @@ -353647,6 +353647,10 @@ { "httpStatusCode": "204", "description": "

A header with no content is returned.

" + }, + { + "httpStatusCode": "422", + "description": "

Repository contains more than 10,000 commits

" } ] }, @@ -354069,7 +354073,7 @@ } ], "previews": [], - "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", + "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n\n

Note: This endpoint will return 0 values for all addition and deletion counts in repositories with 10,000 or more commits.

", "statusCodes": [ { "httpStatusCode": "200", @@ -390815,6 +390819,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -392564,6 +392572,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -393513,6 +393525,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -395269,6 +395285,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -527481,6 +527501,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -529146,6 +529170,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -530105,6 +530133,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -531777,6 +531809,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { diff --git a/src/rest/data/ghes-3.10-2022-11-28/schema.json b/src/rest/data/ghes-3.10-2022-11-28/schema.json index b44d0acfd15e..026d7d8b55b9 100644 --- a/src/rest/data/ghes-3.10-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.10-2022-11-28/schema.json @@ -311645,7 +311645,7 @@ } ], "previews": [], - "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", + "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/data/ghes-3.11-2022-11-28/schema.json b/src/rest/data/ghes-3.11-2022-11-28/schema.json index 6d4ed80e41a1..753adb4abff0 100644 --- a/src/rest/data/ghes-3.11-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.11-2022-11-28/schema.json @@ -311710,7 +311710,7 @@ } ], "previews": [], - "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", + "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", "statusCodes": [ { "httpStatusCode": "200", @@ -345210,6 +345210,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -346959,6 +346963,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -347908,6 +347916,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -349664,6 +349676,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -480473,6 +480489,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -482138,6 +482158,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -483097,6 +483121,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { @@ -484769,6 +484797,10 @@ } ] } + ], + "type": [ + "null", + "object" ] }, "rules": { diff --git a/src/rest/data/ghes-3.8/schema.json b/src/rest/data/ghes-3.8/schema.json index 3ef650c76b4a..929e2fa5963d 100644 --- a/src/rest/data/ghes-3.8/schema.json +++ b/src/rest/data/ghes-3.8/schema.json @@ -306412,7 +306412,7 @@ } ], "previews": [], - "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", + "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/data/ghes-3.9-2022-11-28/schema.json b/src/rest/data/ghes-3.9-2022-11-28/schema.json index 18df0552c18e..912337996bcb 100644 --- a/src/rest/data/ghes-3.9-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.9-2022-11-28/schema.json @@ -309057,7 +309057,7 @@ } ], "previews": [], - "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", + "descriptionHTML": "

Returns the total number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks array) with the following information:

\n", "statusCodes": [ { "httpStatusCode": "200", diff --git a/src/rest/lib/config.json b/src/rest/lib/config.json index bf7688a18966..a799ad4d13f0 100644 --- a/src/rest/lib/config.json +++ b/src/rest/lib/config.json @@ -41,5 +41,5 @@ ] } }, - "sha": "6d0981c022d41b9e6f385d364bd2dfcc5d3b6cab" + "sha": "7ab8592e0e02e3a1f4b89b14078e3ae793b17068" } \ No newline at end of file diff --git a/src/webhooks/data/fpt/schema.json b/src/webhooks/data/fpt/schema.json index 109a454fcc57..01ccf6550da7 100644 --- a/src/webhooks/data/fpt/schema.json +++ b/src/webhooks/data/fpt/schema.json @@ -201398,28 +201398,9 @@ ] }, { - "type": "object", + "type": "null or object", "name": "conditions", - "description": "

Parameters for a repository ruleset ref name condition

", - "childParamsGroups": [ - { - "type": "object", - "name": "ref_name", - "description": "", - "childParamsGroups": [ - { - "type": "array of strings", - "name": "include", - "description": "

Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~DEFAULT_BRANCH to include the default branch or ~ALL to include all branches.

" - }, - { - "type": "array of strings", - "name": "exclude", - "description": "

Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.

" - } - ] - } - ] + "description": "" }, { "type": "array of objects", @@ -202229,28 +202210,9 @@ ] }, { - "type": "object", + "type": "null or object", "name": "conditions", - "description": "

Parameters for a repository ruleset ref name condition

", - "childParamsGroups": [ - { - "type": "object", - "name": "ref_name", - "description": "", - "childParamsGroups": [ - { - "type": "array of strings", - "name": "include", - "description": "

Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~DEFAULT_BRANCH to include the default branch or ~ALL to include all branches.

" - }, - { - "type": "array of strings", - "name": "exclude", - "description": "

Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.

" - } - ] - } - ] + "description": "" }, { "type": "array of objects", @@ -203060,28 +203022,9 @@ ] }, { - "type": "object", + "type": "null or object", "name": "conditions", - "description": "

Parameters for a repository ruleset ref name condition

", - "childParamsGroups": [ - { - "type": "object", - "name": "ref_name", - "description": "", - "childParamsGroups": [ - { - "type": "array of strings", - "name": "include", - "description": "

Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~DEFAULT_BRANCH to include the default branch or ~ALL to include all branches.

" - }, - { - "type": "array of strings", - "name": "exclude", - "description": "

Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.

" - } - ] - } - ] + "description": "" }, { "type": "array of objects", diff --git a/src/webhooks/data/ghec/schema.json b/src/webhooks/data/ghec/schema.json index 0ab045d8412d..debfc3d470d7 100644 --- a/src/webhooks/data/ghec/schema.json +++ b/src/webhooks/data/ghec/schema.json @@ -201462,28 +201462,9 @@ ] }, { - "type": "object", + "type": "null or object", "name": "conditions", - "description": "

Parameters for a repository ruleset ref name condition

", - "childParamsGroups": [ - { - "type": "object", - "name": "ref_name", - "description": "", - "childParamsGroups": [ - { - "type": "array of strings", - "name": "include", - "description": "

Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~DEFAULT_BRANCH to include the default branch or ~ALL to include all branches.

" - }, - { - "type": "array of strings", - "name": "exclude", - "description": "

Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.

" - } - ] - } - ] + "description": "" }, { "type": "array of objects", @@ -202293,28 +202274,9 @@ ] }, { - "type": "object", + "type": "null or object", "name": "conditions", - "description": "

Parameters for a repository ruleset ref name condition

", - "childParamsGroups": [ - { - "type": "object", - "name": "ref_name", - "description": "", - "childParamsGroups": [ - { - "type": "array of strings", - "name": "include", - "description": "

Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~DEFAULT_BRANCH to include the default branch or ~ALL to include all branches.

" - }, - { - "type": "array of strings", - "name": "exclude", - "description": "

Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.

" - } - ] - } - ] + "description": "" }, { "type": "array of objects", @@ -203124,28 +203086,9 @@ ] }, { - "type": "object", + "type": "null or object", "name": "conditions", - "description": "

Parameters for a repository ruleset ref name condition

", - "childParamsGroups": [ - { - "type": "object", - "name": "ref_name", - "description": "", - "childParamsGroups": [ - { - "type": "array of strings", - "name": "include", - "description": "

Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~DEFAULT_BRANCH to include the default branch or ~ALL to include all branches.

" - }, - { - "type": "array of strings", - "name": "exclude", - "description": "

Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.

" - } - ] - } - ] + "description": "" }, { "type": "array of objects", diff --git a/src/webhooks/data/ghes-3.11/schema.json b/src/webhooks/data/ghes-3.11/schema.json index 43d50ba27cf5..a1cfb5ca0ecf 100644 --- a/src/webhooks/data/ghes-3.11/schema.json +++ b/src/webhooks/data/ghes-3.11/schema.json @@ -188159,28 +188159,9 @@ ] }, { - "type": "object", + "type": "null or object", "name": "conditions", - "description": "

Parameters for a repository ruleset ref name condition

", - "childParamsGroups": [ - { - "type": "object", - "name": "ref_name", - "description": "", - "childParamsGroups": [ - { - "type": "array of strings", - "name": "include", - "description": "

Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~DEFAULT_BRANCH to include the default branch or ~ALL to include all branches.

" - }, - { - "type": "array of strings", - "name": "exclude", - "description": "

Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.

" - } - ] - } - ] + "description": "" }, { "type": "array of objects", @@ -188990,28 +188971,9 @@ ] }, { - "type": "object", + "type": "null or object", "name": "conditions", - "description": "

Parameters for a repository ruleset ref name condition

", - "childParamsGroups": [ - { - "type": "object", - "name": "ref_name", - "description": "", - "childParamsGroups": [ - { - "type": "array of strings", - "name": "include", - "description": "

Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~DEFAULT_BRANCH to include the default branch or ~ALL to include all branches.

" - }, - { - "type": "array of strings", - "name": "exclude", - "description": "

Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.

" - } - ] - } - ] + "description": "" }, { "type": "array of objects", @@ -189821,28 +189783,9 @@ ] }, { - "type": "object", + "type": "null or object", "name": "conditions", - "description": "

Parameters for a repository ruleset ref name condition

", - "childParamsGroups": [ - { - "type": "object", - "name": "ref_name", - "description": "", - "childParamsGroups": [ - { - "type": "array of strings", - "name": "include", - "description": "

Array of ref names or patterns to include. One of these patterns must match for the condition to pass. Also accepts ~DEFAULT_BRANCH to include the default branch or ~ALL to include all branches.

" - }, - { - "type": "array of strings", - "name": "exclude", - "description": "

Array of ref names or patterns to exclude. The condition will not pass if any of these patterns match.

" - } - ] - } - ] + "description": "" }, { "type": "array of objects", diff --git a/src/webhooks/lib/config.json b/src/webhooks/lib/config.json index 521c6fc15f1d..61b8ae55a627 100644 --- a/src/webhooks/lib/config.json +++ b/src/webhooks/lib/config.json @@ -1,3 +1,3 @@ { - "sha": "6d0981c022d41b9e6f385d364bd2dfcc5d3b6cab" + "sha": "7ab8592e0e02e3a1f4b89b14078e3ae793b17068" } \ No newline at end of file