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.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
GitHub Apps must have read access to the codespaces
repository permission to use this endpoint.
Lists the codespaces associated to a specified repository and the authenticated user.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
To use this endpoint with GitHub Apps:
\ncodespaces
repository permission.Creates a codespace owned by the authenticated user in the specified repository.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
GitHub Apps must have write access to the codespaces
repository permission to use this endpoint.
Creates a codespace owned by the authenticated user in the specified repository.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
To use this endpoint with GitHub Apps:
\ncodespaces
repository permission.Gets the default attributes for codespaces created by the user with the repository.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
GitHub Apps must have write access to the codespaces
repository permission to use this endpoint.
Gets the default attributes for codespaces created by the user with the repository.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
To use this endpoint with GitHub Apps:
\ncodespaces
repository permission.Checks whether the permissions defined by a given devcontainer configuration have been accepted by the authenticated user.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
GitHub Apps must have write access to the codespaces
repository permission to use this endpoint.
Checks whether the permissions defined by a given devcontainer configuration have been accepted by the authenticated user.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
To use this endpoint with GitHub Apps:
\ncodespaces
repository permission.Creates a codespace owned by the authenticated user for the specified pull request.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
GitHub Apps must have write access to the codespaces
repository permission to use this endpoint.
Creates a codespace owned by the authenticated user for the specified pull request.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
To use this endpoint with GitHub Apps:
\ncodespaces
repository permission.Lists the authenticated user's codespaces.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
GitHub Apps must have read access to the codespaces
repository permission to use this endpoint.
Lists the authenticated user's codespaces.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
To use this endpoint with GitHub Apps:
\ncodespaces
repository permission.Creates a new codespace, owned by the authenticated user.
\nThis endpoint requires either a repository_id
OR a pull_request
but not both.
You must authenticate using an access token with the codespace
scope to use this endpoint.
GitHub Apps must have write access to the codespaces
repository permission to use this endpoint.
Creates a new codespace, owned by the authenticated user.
\nThis endpoint requires either a repository_id
OR a pull_request
but not both.
You must authenticate using an access token with the codespace
scope to use this endpoint.
To use this endpoint with GitHub Apps:
\ncodespaces
repository permission.Gets information about a user's codespace.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
GitHub Apps must have read access to the codespaces
repository permission to use this endpoint.
Gets information about a user's codespace.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
To use this endpoint with GitHub Apps:
\ncodespaces
repository permission.Updates a codespace owned by the authenticated user. Currently only the codespace's machine type and recent folders can be modified using this endpoint.
\nIf you specify a new machine type it will be applied the next time your codespace is started.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
GitHub Apps must have write access to the codespaces
repository permission to use this endpoint.
Updates a codespace owned by the authenticated user. Currently only the codespace's machine type and recent folders can be modified using this endpoint.
\nIf you specify a new machine type it will be applied the next time your codespace is started.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
To use this endpoint with GitHub Apps:
\ncodespaces
repository permission.Deletes a user's codespace.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
GitHub Apps must have write access to the codespaces
repository permission to use this endpoint.
Deletes a user's codespace.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
To use this endpoint with GitHub Apps:
\ncodespaces
repository permission.Publishes an unpublished codespace, creating a new repository and assigning it to the codespace.
\nThe codespace's token is granted write permissions to the repository, allowing the user to push their changes.
\nThis will fail for a codespace that is already published, meaning it has an associated repository.
\nYou must authenticate using a personal access token with the codespace
scope to use this endpoint.
GitHub Apps must have write access to the codespaces
repository permission to use this endpoint.
Publishes an unpublished codespace, creating a new repository and assigning it to the codespace.
\nThe codespace's token is granted write permissions to the repository, allowing the user to push their changes.
\nThis will fail for a codespace that is already published, meaning it has an associated repository.
\nYou must authenticate using a personal access token with the codespace
scope to use this endpoint.
To use this endpoint with GitHub Apps:
\ncodespaces
repository permission.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.
\nNote: 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:
w
- Start of the week, given as a Unix timestamp.a
- Number of additionsd
- Number of deletionsc
- Number of commitsReturns the total
number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks
array) with the following information:
w
- Start of the week, given as a Unix timestamp.a
- Number of additionsd
- Number of deletionsc
- Number of commitsNote: This endpoint will return 0
values for all addition and deletion counts in repositories with 10,000 or more commits.
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.
\nNote: 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:
w
- Start of the week, given as a Unix timestamp.a
- Number of additionsd
- Number of deletionsc
- Number of commitsReturns the total
number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks
array) with the following information:
w
- Start of the week, given as a Unix timestamp.a
- Number of additionsd
- Number of deletionsc
- Number of commitsNote: This endpoint will return 0
values for all addition and deletion counts in repositories with 10,000 or more commits.
Lists the codespaces associated to a specified repository and the authenticated user.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
GitHub Apps must have read access to the codespaces
repository permission to use this endpoint.
Lists the codespaces associated to a specified repository and the authenticated user.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
To use this endpoint with GitHub Apps:
\ncodespaces
repository permission.Creates a codespace owned by the authenticated user in the specified repository.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
GitHub Apps must have write access to the codespaces
repository permission to use this endpoint.
Creates a codespace owned by the authenticated user in the specified repository.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
To use this endpoint with GitHub Apps:
\ncodespaces
repository permission.Gets the default attributes for codespaces created by the user with the repository.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
GitHub Apps must have write access to the codespaces
repository permission to use this endpoint.
Gets the default attributes for codespaces created by the user with the repository.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
To use this endpoint with GitHub Apps:
\ncodespaces
repository permission.Checks whether the permissions defined by a given devcontainer configuration have been accepted by the authenticated user.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
GitHub Apps must have write access to the codespaces
repository permission to use this endpoint.
Checks whether the permissions defined by a given devcontainer configuration have been accepted by the authenticated user.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
To use this endpoint with GitHub Apps:
\ncodespaces
repository permission.Creates a codespace owned by the authenticated user for the specified pull request.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
GitHub Apps must have write access to the codespaces
repository permission to use this endpoint.
Creates a codespace owned by the authenticated user for the specified pull request.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
To use this endpoint with GitHub Apps:
\ncodespaces
repository permission.Lists the authenticated user's codespaces.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
GitHub Apps must have read access to the codespaces
repository permission to use this endpoint.
Lists the authenticated user's codespaces.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
To use this endpoint with GitHub Apps:
\ncodespaces
repository permission.Creates a new codespace, owned by the authenticated user.
\nThis endpoint requires either a repository_id
OR a pull_request
but not both.
You must authenticate using an access token with the codespace
scope to use this endpoint.
GitHub Apps must have write access to the codespaces
repository permission to use this endpoint.
Creates a new codespace, owned by the authenticated user.
\nThis endpoint requires either a repository_id
OR a pull_request
but not both.
You must authenticate using an access token with the codespace
scope to use this endpoint.
To use this endpoint with GitHub Apps:
\ncodespaces
repository permission.Gets information about a user's codespace.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
GitHub Apps must have read access to the codespaces
repository permission to use this endpoint.
Gets information about a user's codespace.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
To use this endpoint with GitHub Apps:
\ncodespaces
repository permission.Updates a codespace owned by the authenticated user. Currently only the codespace's machine type and recent folders can be modified using this endpoint.
\nIf you specify a new machine type it will be applied the next time your codespace is started.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
GitHub Apps must have write access to the codespaces
repository permission to use this endpoint.
Updates a codespace owned by the authenticated user. Currently only the codespace's machine type and recent folders can be modified using this endpoint.
\nIf you specify a new machine type it will be applied the next time your codespace is started.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
To use this endpoint with GitHub Apps:
\ncodespaces
repository permission.Deletes a user's codespace.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
GitHub Apps must have write access to the codespaces
repository permission to use this endpoint.
Deletes a user's codespace.
\nYou must authenticate using an access token with the codespace
scope to use this endpoint.
To use this endpoint with GitHub Apps:
\ncodespaces
repository permission.Publishes an unpublished codespace, creating a new repository and assigning it to the codespace.
\nThe codespace's token is granted write permissions to the repository, allowing the user to push their changes.
\nThis will fail for a codespace that is already published, meaning it has an associated repository.
\nYou must authenticate using a personal access token with the codespace
scope to use this endpoint.
GitHub Apps must have write access to the codespaces
repository permission to use this endpoint.
Publishes an unpublished codespace, creating a new repository and assigning it to the codespace.
\nThe codespace's token is granted write permissions to the repository, allowing the user to push their changes.
\nThis will fail for a codespace that is already published, meaning it has an associated repository.
\nYou must authenticate using a personal access token with the codespace
scope to use this endpoint.
To use this endpoint with GitHub Apps:
\ncodespaces
repository permission.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.
\nNote: 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:
w
- Start of the week, given as a Unix timestamp.a
- Number of additionsd
- Number of deletionsc
- Number of commitsReturns the total
number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks
array) with the following information:
w
- Start of the week, given as a Unix timestamp.a
- Number of additionsd
- Number of deletionsc
- Number of commitsNote: This endpoint will return 0
values for all addition and deletion counts in repositories with 10,000 or more commits.
Returns the total
number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks
array) with the following information:
w
- Start of the week, given as a Unix timestamp.a
- Number of additionsd
- Number of deletionsc
- Number of commitsReturns the total
number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks
array) with the following information:
w
- Start of the week, given as a Unix timestamp.a
- Number of additionsd
- Number of deletionsc
- Number of commitsReturns the total
number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks
array) with the following information:
w
- Start of the week, given as a Unix timestamp.a
- Number of additionsd
- Number of deletionsc
- Number of commitsReturns the total
number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks
array) with the following information:
w
- Start of the week, given as a Unix timestamp.a
- Number of additionsd
- Number of deletionsc
- Number of commitsReturns the total
number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks
array) with the following information:
w
- Start of the week, given as a Unix timestamp.a
- Number of additionsd
- Number of deletionsc
- Number of commitsReturns the total
number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks
array) with the following information:
w
- Start of the week, given as a Unix timestamp.a
- Number of additionsd
- Number of deletionsc
- Number of commitsReturns the total
number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks
array) with the following information:
w
- Start of the week, given as a Unix timestamp.a
- Number of additionsd
- Number of deletionsc
- Number of commitsReturns the total
number of commits authored by the contributor. In addition, the response includes a Weekly Hash (weeks
array) with the following information:
w
- Start of the week, given as a Unix timestamp.a
- Number of additionsd
- Number of deletionsc
- Number of commitsParameters 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.
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.
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.
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.
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.
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.
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.
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.
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.
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