diff --git a/CHANGELOG.md b/CHANGELOG.md index 8faa174523df..a5ccef7e9cdd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ # Docs changelog +**23 April 2026** + +We added documentation for the new `gh skill` command (public preview), which you can use to discover, install, update, and publish agent skills directly from GitHub CLI. + +See [Adding agent skills for GitHub Copilot](https://docs.github.com/en/copilot/how-tos/use-copilot-agents/cloud-agent/add-skills#managing-skills-with-github-cli). + +
+ +**21 April 2026** + +We reorganized the Copilot how-tos for GitHub.com into a new [Copilot on GitHub](https://docs.github.com/en/copilot/how-tos/copilot-on-github) category, structured around five task-based map topics that follow the way people actually use Copilot on GitHub: + +* [Set up Copilot](https://docs.github.com/en/copilot/how-tos/copilot-on-github/set-up-copilot): Enable Copilot, configure AI models, and set up code review. +* [Chat with Copilot](https://docs.github.com/en/copilot/how-tos/copilot-on-github/chat-with-copilot): A streamlined [quickstart](https://docs.github.com/en/copilot/how-tos/copilot-on-github/chat-with-copilot/get-started-with-chat) with example prompts, plus focused articles for chat on GitHub and chat on GitHub Mobile. +* [Customize Copilot](https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot): Add custom instructions, customize coding agents (MCP, hooks, skills, firewall), and curate context with Spaces and content exclusions. A new [quickstart](https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview) walks through a scenario that ties these features together. +* [Copilot for GitHub tasks](https://docs.github.com/en/copilot/how-tos/copilot-on-github/copilot-for-github-tasks): Create issues, generate PR summaries, and use the GitHub MCP server from the web UI. +* [Use Copilot agents](https://docs.github.com/en/copilot/how-tos/copilot-on-github/use-copilot-agents) — Six articles following the agent workflow end-to-end: kick off a task, research and iterate, monitor sessions, request code review, and review output. Includes a new [hands-on quickstart](https://docs.github.com/en/copilot/how-tos/copilot-on-github/use-copilot-agents/overview) you can complete in about ten minutes. + +Every article was revised for plain language, scannable structure, and value-focused intros. Web-specific content was separated from IDE and CLI content so you see only what's relevant to GitHub.com. + +
+ **21 April 2026** We recently published two new guides for organizations adopting Copilot cloud agent. diff --git a/content/actions/how-tos/manage-runners/use-actions-runner-controller/deploy-runner-scale-sets.md b/content/actions/how-tos/manage-runners/use-actions-runner-controller/deploy-runner-scale-sets.md index c4cbabb746e3..1ad78f440d72 100644 --- a/content/actions/how-tos/manage-runners/use-actions-runner-controller/deploy-runner-scale-sets.md +++ b/content/actions/how-tos/manage-runners/use-actions-runner-controller/deploy-runner-scale-sets.md @@ -35,6 +35,9 @@ You can deploy runner scale sets with ARC's Helm charts or by deploying the nece * Update the `NAMESPACE` value to the location you want the runner pods to be created. * Set the `GITHUB_CONFIG_URL` value to the URL of your repository, organization, or enterprise. This is the entity that the runners will belong to. * This example command installs the latest version of the Helm chart. To install a specific version, you can pass the `--version` argument with the version of the chart you want to install. You can find the list of releases in the [`actions-runner-controller`](https://github.com/actions/actions-runner-controller/pkgs/container/actions-runner-controller-charts%2Fgha-runner-scale-set) repository. + + > [!NOTE] + > This example uses a {% data variables.product.pat_generic %} to keep the initial setup short. If you are registering runners at the repository or organization level, we recommend authenticating with a {% data variables.product.prodname_github_app %} instead. For more information, see [AUTOTITLE](/actions/hosting-your-own-runners/managing-self-hosted-runners-with-actions-runner-controller/authenticating-to-the-github-api). Enterprise-level runners require {% data variables.product.pat_v1 %} authentication. {% ifversion not ghes %} ```bash copy diff --git a/content/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-aws.md b/content/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-aws.md index 23c4a26bcaa3..0031fe057e89 100644 --- a/content/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-aws.md +++ b/content/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-aws.md @@ -70,17 +70,6 @@ Edit the trust policy, adding the `sub` field to the validation conditions. For } ``` -For repositories created after June 18, 2026, or that have opted in to immutable subject claims, the `sub` claim includes immutable owner and repository IDs (not available on {% data variables.product.prodname_ghe_server %}). Make sure your trust policy matches the format your repository uses. For more information, see [AUTOTITLE](/actions/reference/openid-connect-reference#immutable-subject-claims). - -```json copy -"Condition": { - "StringEquals": { - "token.actions.githubusercontent.com:aud": "sts.amazonaws.com", - "token.actions.githubusercontent.com:sub": "repo:octo-org-123456/octo-repo-456789:ref:refs/heads/octo-branch" - } -} -``` - If you use a workflow with an environment, the `sub` field must reference the environment name: `repo:ORG-NAME/REPO-NAME:environment:ENVIRONMENT-NAME`. For more information, see [AUTOTITLE](/actions/reference/openid-connect-reference#filtering-for-a-specific-environment). {% data reusables.actions.oidc-deployment-protection-rules %} diff --git a/content/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-azure.md b/content/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-azure.md index 78d21474c93c..bb00ccd24be8 100644 --- a/content/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-azure.md +++ b/content/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-azure.md @@ -32,8 +32,6 @@ This guide gives an overview of how to configure Azure to trust {% data variable {% data reusables.actions.oidc-on-ghecom %} -For repositories created after June 18, 2026, and repository renames or transfers after that date, use an immutable default OIDC `sub` claim that includes owner and repository IDs (not available on {% data variables.product.prodname_ghe_server %}). Existing repositories keep the previous format unless they opt in. For more information, see [AUTOTITLE](/actions/reference/openid-connect-reference#immutable-subject-claims). - {% ifversion ghes %} {% data reusables.actions.oidc-endpoints %} diff --git a/content/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-google-cloud-platform.md b/content/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-google-cloud-platform.md index 567f42167f3f..1875e63e43e9 100644 --- a/content/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-google-cloud-platform.md +++ b/content/actions/how-tos/secure-your-work/security-harden-deployments/oidc-in-google-cloud-platform.md @@ -31,8 +31,6 @@ This guide gives an overview of how to configure GCP to trust {% data variables. {% data reusables.actions.oidc-on-ghecom %} -For repositories created after June 18, 2026, and repository renames or transfers after that date, use an immutable default OIDC `sub` claim that includes owner and repository IDs (not available on {% data variables.product.prodname_ghe_server %}). Existing repositories keep the previous format unless they opt in. For more information, see [AUTOTITLE](/actions/reference/openid-connect-reference#immutable-subject-claims). - {% ifversion ghes %} {% data reusables.actions.oidc-endpoints %} diff --git a/content/actions/reference/security/oidc.md b/content/actions/reference/security/oidc.md index a35412b618f8..c598a05a8491 100644 --- a/content/actions/reference/security/oidc.md +++ b/content/actions/reference/security/oidc.md @@ -26,7 +26,7 @@ The OIDC token includes the following claims. | ----------- | -----| ---------------------- | | `aud`| Audience | By default, this is the URL of the repository owner, such as the organization that owns the repository. You can set a custom audience with a toolkit command: [`core.getIDToken(audience)`](https://www.npmjs.com/package/@actions/core/v/1.6.0) | | `iss`| Issuer | The issuer of the OIDC token: {% ifversion ghes %}`https://HOSTNAME/_services/token`{% else %}`https://token.actions.githubusercontent.com`{% endif %} | -| `sub`| Subject | Defines the subject claim that is to be validated by the cloud provider. This setting is essential for making sure that access tokens are only allocated in a predictable way. For repositories using immutable subject claims, the `sub` format includes immutable owner and repository IDs (not available on {% data variables.product.prodname_ghe_server %}). | +| `sub`| Subject | Defines the subject claim that is to be validated by the cloud provider. This setting is essential for making sure that access tokens are only allocated in a predictable way. | ### Additional standard JOSE header parameters and claims @@ -163,22 +163,6 @@ You can configure a subject that includes metadata containing colons. In this ex {% endif %} -## Immutable subject claims - -The OpenID Connect (OIDC) specification requires subject (`sub`) claims to be locally unique and never reassigned. Previously, the default `sub` format used only organization and repository names. If a namespace was recycled, a different owner could create the same subject value. - -To help prevent this scenario, repositories created after June 18, 2026 now use an immutable default subject format that includes both the owner ID and repository ID. This rollout does not include {% data variables.product.prodname_ghe_server %}. - -* Syntax: `repo:OWNER-ID/REPO-ID:ref:refs/heads/BRANCH` -* Previous format example: `repo:octo-org/octo-repo:ref:refs/heads/main` -* Immutable format example: `repo:octo-org-123456/octo-repo-456789:ref:refs/heads/main` - -The `-` separator is used between names and IDs because `-` cannot appear in {% data variables.product.github %} usernames or repository names. - -Repositories created before June 18, 2026 keep the previous format unless you opt in to immutable subject claims. You can opt in at the organization or repository level by using the OIDC settings UI or REST API. - -Repository renames and transfers after June 18, 2026 also move to the immutable subject format. - ## Configuring the subject in your cloud provider To configure the subject in your cloud provider's trust relationship, you must add the subject string to its trust configuration. The following examples demonstrate how various cloud providers can accept the same `repo:octo-org/octo-repo:ref:refs/heads/demo-branch` subject in different ways: @@ -190,15 +174,6 @@ To configure the subject in your cloud provider's trust relationship, you must a | Google Cloud Platform| `(assertion.sub=='repo:octo-org/octo-repo:ref:refs/heads/demo-branch')` | | HashiCorp Vault| `bound_subject="repo:octo-org/octo-repo:ref:refs/heads/demo-branch"` | -For repositories created after June 18, 2026, or that have opted in to immutable subject claims, the `sub` claim includes `owner_id` and `repo_id` as shown in the immutable examples. Update your trust policies to match the format your repository uses. Immutable subject claims are not available on {% data variables.product.prodname_ghe_server %}. - -| Cloud provider | Immutable format example | -| ------ | ----------- | -| Amazon Web Services | `"token.actions.githubusercontent.com:sub": "repo:octo-org-123456/octo-repo-456789:ref:refs/heads/demo-branch"` | -| Azure| `repo:octo-org-123456/octo-repo-456789:ref:refs/heads/demo-branch` | -| Google Cloud Platform| `(assertion.sub=='repo:octo-org-123456/octo-repo#456789:ref:refs/heads/demo-branch')` | -| HashiCorp Vault| `bound_subject="repo:octo-org-123456/octo-repo-456789:ref:refs/heads/demo-branch"` | - For more information about configuring specific cloud providers, see the guides listed in [AUTOTITLE](/actions/how-tos/security-for-github-actions/security-hardening-your-deployments). ## Customizing the token claims @@ -340,7 +315,6 @@ Customizing the claims results in a new format for the entire `sub` claim, which > [!NOTE] > The `sub` claim uses the shortened form `repo` (for example, `repo:ORG-NAME/REPO-NAME`) instead of `repository` to reference the repository. {% ifversion fpt or ghec or ghes > 3.15 %} > Any `:` within the context value will be replaced with `%3A`. {% endif %} -> For repositories using immutable subject claims (not available on {% data variables.product.prodname_ghe_server %}), `owner_id` and `repo_id` are always included in the `repo` segment of the `sub` claim, even when you customize claims with `include_claim_keys`. You can't remove these IDs from the immutable format. The following example templates demonstrate various ways to customize the subject claim. To configure these settings on {% data variables.product.prodname_dotcom %}, admins use the REST API to specify a list of claims that must be included in the subject (`sub`) claim. diff --git a/content/admin/data-residency/feature-overview-for-github-enterprise-cloud-with-data-residency.md b/content/admin/data-residency/feature-overview-for-github-enterprise-cloud-with-data-residency.md index c9cb90d4bfc5..c36108cd7bb9 100644 --- a/content/admin/data-residency/feature-overview-for-github-enterprise-cloud-with-data-residency.md +++ b/content/admin/data-residency/feature-overview-for-github-enterprise-cloud-with-data-residency.md @@ -31,6 +31,7 @@ The following features are currently unavailable on {% data variables.enterprise | Some features currently in {% data variables.release-phases.public_preview %} or {% data variables.release-phases.private_preview %} | Certain features that are in a preview phase on {% data variables.product.prodname_dotcom_the_website %} may not be available on {% data variables.enterprise.data_residency_site %} until GA. | | | Migrations REST API | Currently unavailable. | [AUTOTITLE](/rest/migrations) | | Streaming audit logs to Amazon S3 with OpenID Connect (OIDC) | Currently unavailable. | [AUTOTITLE](/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/streaming-the-audit-log-for-your-enterprise) | +| Organization-level dependency insights | Currently unavailable. | [AUTOTITLE](/organizations/collaborating-with-groups-in-organizations/viewing-insights-for-dependencies-in-your-organization) | ## Permanently unavailable features diff --git a/content/code-security/concepts/supply-chain-security/dependency-graph-data.md b/content/code-security/concepts/supply-chain-security/dependency-graph-data.md index e72bb1c04c13..3b21b2bbe40a 100644 --- a/content/code-security/concepts/supply-chain-security/dependency-graph-data.md +++ b/content/code-security/concepts/supply-chain-security/dependency-graph-data.md @@ -54,10 +54,18 @@ To enable automatic dependency submission, see [AUTOTITLE](/code-security/supply ## {% data variables.product.prodname_dependabot %} graph jobs -This method uses a special type of {% data variables.product.prodname_dependabot %} job that builds a dependency snapshot and uploads it to the dependency submission API. This is currently only supported for **Go** dependencies. +{% data variables.product.prodname_dependabot %} graph jobs use a special type of {% data variables.product.prodname_dependabot %} job to build a dependency snapshot and upload it to the dependency submission API. {% data variables.product.prodname_dependabot %} graph jobs are currently supported for **Go** and **Python** dependencies. + +For supported ecosystems, {% data variables.product.prodname_dependabot %} graph jobs provide: + +* Full transitive dependency coverage, which means {% data variables.product.prodname_dependabot %} can alert you to vulnerabilities in indirect dependencies that static analysis may miss. +* Private registry access through {% data variables.product.prodname_dependabot %} secrets configured at the organization or repository level. For more information, see [AUTOTITLE](/code-security/how-tos/secure-your-supply-chain/manage-your-dependency-security/configuring-access-to-private-registries-for-dependabot). +* Private packages that are not accessible through configured {% data variables.product.prodname_dependabot %} secrets are gracefully omitted from the dependency graph without causing a failure. This approach is similar to automatic dependency submission, but does not incur charges for {% data variables.product.prodname_actions %} minutes. It can also access organization-wide configurations for private registries you've set up for {% data variables.product.prodname_dependabot %}. +> [!NOTE] {% data variables.product.prodname_dependabot %} graph jobs take precedence over automatic dependency submission. For example, if your Python repository previously used automatic dependency submission, those jobs will no longer run once {% data variables.product.prodname_dependabot %} graph jobs are active. The only requirement is that the dependency graph is enabled for your repository. + {% endif %} ## The {% data variables.dependency-submission-api.name %} diff --git a/content/code-security/how-tos/secure-your-supply-chain/secure-your-dependencies/configuring-automatic-dependency-submission-for-your-repository.md b/content/code-security/how-tos/secure-your-supply-chain/secure-your-dependencies/configuring-automatic-dependency-submission-for-your-repository.md index c1194900b138..b3eef74d017e 100644 --- a/content/code-security/how-tos/secure-your-supply-chain/secure-your-dependencies/configuring-automatic-dependency-submission-for-your-repository.md +++ b/content/code-security/how-tos/secure-your-supply-chain/secure-your-dependencies/configuring-automatic-dependency-submission-for-your-repository.md @@ -19,6 +19,9 @@ Dependency graph must be enabled for the repository for you to enable automatic You must also enable {% data variables.product.prodname_actions %} for the repository in order to use automatic dependency submission. For more information, see [AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository). +> [!NOTE] +> For ecosystems that support {% data variables.product.prodname_dependabot %} graph jobs, you do not need to enable automatic dependency submission. {% data variables.product.prodname_dependabot %} graph jobs run automatically when the dependency graph is enabled for your repository, and they take precedence over automatic dependency submission. See [AUTOTITLE](/code-security/concepts/supply-chain-security/dependency-graph-data#dependabot-graph-jobs). + ## Enabling automatic dependency submission Repository administrators can enable or disable automatic dependency submission for a repository by following the steps outlined in this procedure. @@ -39,14 +42,24 @@ You can view details about the automatic workflows run by viewing the **Actions* > [!NOTE] After you enable automatic dependency submission, we'll automatically trigger a run of the action. Once enabled, it'll run each time a commit to the default branch updates a manifest. -## Accessing private registries with self-hosted runners +## Accessing private registries + +### Using {% data variables.product.prodname_dependabot %} secrets + +For ecosystems that support {% data variables.product.prodname_dependabot %} graph jobs, you can configure access to private registries using {% data variables.product.prodname_dependabot %} secrets at the organization or repository level. + +When {% data variables.product.prodname_dependabot %} graph jobs encounter private packages that are not accessible through configured secrets, those packages are gracefully omitted from the dependency graph without causing a failure. + +For more information on configuring private registry access, see [AUTOTITLE](/code-security/how-tos/secure-your-supply-chain/manage-your-dependency-security/configuring-access-to-private-registries-for-dependabot). + +### Using self-hosted runners -You can configure self-hosted runners to run automatic dependency submission jobs, instead of using the {% data variables.product.prodname_actions %} infrastructure. This is necessary to access private Maven registries. The self-hosted runners must be running on Linux or macOS. For .NET and Python auto-submission, they must have access to the public internet in order to download the latest component-detection release. +You can configure **self-hosted runners** to run automatic dependency submission jobs, instead of using the {% data variables.product.prodname_actions %} infrastructure. This is necessary to access private registries for ecosystems that do not support {% data variables.product.prodname_dependabot %} graph jobs, or when your registries are only reachable from within your network. The self-hosted runners must be running on Linux or macOS. For .NET and Python auto-submission, they must have access to the public internet in order to download the latest component-detection release. 1. Provision one or more self-hosted runners, at the repository or organization level. For more information, see [AUTOTITLE](/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners) and [AUTOTITLE](/actions/hosting-your-own-runners/managing-self-hosted-runners/adding-self-hosted-runners). 1. Assign a `dependency-submission` label to each runner you want automatic dependency submission to use. For more information, see [AUTOTITLE](/actions/hosting-your-own-runners/managing-self-hosted-runners/using-labels-with-self-hosted-runners#assigning-a-label-to-a-self-hosted-runner). {% data reusables.repositories.navigate-to-code-security-and-analysis %} -1. Under "Dependency graph", click the dropdown menu next to “Automatic dependency submission”, then select **Enabled for labeled runners**. +1. Under "Dependency graph", click the dropdown menu next to "Automatic dependency submission", then select **Enabled for labeled runners**. Once enabled, automatic dependency submission jobs will run on the self-hosted runners, unless: * The self-hosted runners are unavailable. diff --git a/content/code-security/reference/supply-chain-security/automatic-dependency-submission.md b/content/code-security/reference/supply-chain-security/automatic-dependency-submission.md index eead392fa978..8977c0e8aa34 100644 --- a/content/code-security/reference/supply-chain-security/automatic-dependency-submission.md +++ b/content/code-security/reference/supply-chain-security/automatic-dependency-submission.md @@ -94,7 +94,9 @@ The .NET autosubmission action uses the open source [component-detection](https: ### Python projects -Python uses the open source [component-detection](https://github.com/microsoft/component-detection/) project as its underlying graph generation engine. The autosubmission action for Python will only run if there is a `requirements.txt` file in the root directory of the repository. Python autosubmission does not currently support private packages; packages referenced in `requirements.txt` which are not publicly available will cause the autosubmission action to fail. +Python repositories with the dependency graph enabled use {% data variables.product.prodname_dependabot %} graph jobs to generate dependency graphs. {% data variables.product.prodname_dependabot %} graph jobs take precedence over automatic dependency submissions, and the autosubmission workflow described below will no longer run for Python projects. For more information, see [AUTOTITLE](/code-security/concepts/supply-chain-security/dependency-graph-data#dependabot-graph-jobs). + +Automatic dependency submission for Python uses the open source [component-detection](https://github.com/microsoft/component-detection/) project as its underlying graph generation engine. The autosubmission action will only run if there is a `requirements.txt` file in the root directory of the repository. Python autosubmission does not currently support private packages; packages referenced in `requirements.txt` which are not publicly available will cause the autosubmission action to fail. > [!NOTE] > This action uses [actions/setup-python](https://github.com/actions/setup-python) to install Python. You must include a .python-version file in your repository to specify the Python version to be installed. diff --git a/content/code-security/reference/supply-chain-security/dependency-graph-supported-package-ecosystems.md b/content/code-security/reference/supply-chain-security/dependency-graph-supported-package-ecosystems.md index 6e181f685eeb..d367d0fd0c99 100644 --- a/content/code-security/reference/supply-chain-security/dependency-graph-supported-package-ecosystems.md +++ b/content/code-security/reference/supply-chain-security/dependency-graph-supported-package-ecosystems.md @@ -20,38 +20,39 @@ The dependency graph supports different methods of submitting data for direct an In the table below: -* The **Static transitive dependencies** and **Automatic dependency submission** show you supported methods for submitting data. +* The **Static transitive dependencies**, **{% data variables.product.prodname_dependabot %} graph jobs** (currently not available for {% data variables.product.prodname_ghe_server %}), and **Automatic dependency submission** columns show you supported methods for submitting data. * The **Static transitive dependencies** column also indicates whether static analysis will add `direct` and `transitive` labels for dependent packages in that ecosystem. +* The **{% data variables.product.prodname_dependabot %} graph jobs** column indicates whether {% data variables.product.prodname_dependabot %} can generate dependency graphs using its own job infrastructure. Where supported, this method takes precedence over automatic dependency submission. See [AUTOTITLE](/code-security/concepts/supply-chain-security/dependency-graph-data#dependabot-graph-jobs). * The **Recommended files** column suggests formats that explicitly define which versions are used for all direct and all indirect dependencies. These files lock the package versions to those included in the build and enable Dependabot to find vulnerable versions in both direct and indirect dependencies. ## Supported package ecosystems -| Package manager | Languages | Static transitive dependencies | Automatic dependency submission | Recommended files | Additional files | -| --- | --- | --- | --- | --- | ---| +| Package manager | Languages | Static transitive dependencies | {% data variables.product.prodname_dependabot %} graph jobs | Automatic dependency submission | Recommended files | Additional files | +| --- | --- | --- | --- | --- | --- | --- | | {% ifversion dependabot-bazel-support %} | -| Bazel | Starlark | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | `MODULE.bazel`, `WORKSPACE` | `MODULE.bazel.lock`, `maven_install.json`, `*.MODULE.bazel` | +| Bazel | Starlark | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | `MODULE.bazel`, `WORKSPACE` | `MODULE.bazel.lock`, `maven_install.json`, `*.MODULE.bazel` | | {% endif %} | -| Cargo | Rust | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | `Cargo.lock` | `Cargo.toml` | -| Composer | PHP | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | `composer.lock` | `composer.json` | -| NuGet | .NET languages (C#, F#, VB), C++ | {% octicon "x" aria-label="Not supported" %} | {% octicon "check" aria-label="Supported" %} | `.csproj`, `.vbproj`, `.nuspec`, `.vcxproj`, `.fsproj` | `packages.config` | -| {% data variables.product.prodname_actions %} workflows | YAML | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | `.yml`, `.yaml` | {% octicon "x" aria-label="None" %} | -| Go modules | Go | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | `go.mod`| {% octicon "x" aria-label="None" %} | -| Gradle | Java | {% octicon "x" aria-label="Not supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "x" aria-label="None" %} | {% octicon "x" aria-label="None" %} | +| Cargo | Rust | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | `Cargo.lock` | `Cargo.toml` | +| Composer | PHP | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | `composer.lock` | `composer.json` | +| NuGet | .NET languages (C#, F#, VB), C++ | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | {% octicon "check" aria-label="Supported" %} | `.csproj`, `.vbproj`, `.nuspec`, `.vcxproj`, `.fsproj` | `packages.config` | +| {% data variables.product.prodname_actions %} workflows | YAML | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | `.yml`, `.yaml` | {% octicon "x" aria-label="None" %} | +| Go modules | Go | {% octicon "x" aria-label="Not supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "x" aria-label="Not supported" %} | `go.mod`| {% octicon "x" aria-label="None" %} | +| Gradle | Java | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "x" aria-label="None" %} | {% octicon "x" aria-label="None" %} | | {% ifversion dependabot-julia-support %} | -| Julia | Julia | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | `Manifest.toml` | `Project.toml` | +| Julia | Julia | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | `Manifest.toml` | `Project.toml` | | {% endif %} | -| Maven | Java, Scala | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | `pom.xml` | {% octicon "x" aria-label="None" %} | -| npm | JavaScript | {% octicon "check" aria-label="Supported" %} | {% octicon "x" aria-label="Not supported" %} | `package-lock.json` | `package.json`| +| Maven | Java, Scala | {% octicon "check" aria-label="Supported" %} | {% octicon "x" aria-label="Not supported" %} | {% octicon "check" aria-label="Supported" %} | `pom.xml` | {% octicon "x" aria-label="None" %} | +| npm | JavaScript | {% octicon "check" aria-label="Supported" %} | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | `package-lock.json` | `package.json`| | {% ifversion dependabot-opentofu-support %} | -| OpenTofu | HCL | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | `.terraform.lock.hcl` | `.tf`, `.tofu` | +| OpenTofu | HCL | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | `.terraform.lock.hcl` | `.tf`, `.tofu` | | {% endif %} | -| pip | Python | {% octicon "x" aria-label="Not supported" %} | {% octicon "check" aria-label="Supported" %} | `requirements.txt`, `pipfile.lock` | `pipfile`, `setup.py` | -| pnpm | JavaScript | {% octicon "check" aria-label="Supported" %} | {% octicon "x" aria-label="Not supported" %} | `pnpm-lock.yaml` | `package.json` | -| pub | Dart | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | `pubspec.lock` | `pubspec.yaml` | -| Poetry | Python | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | `poetry.lock` | `pyproject.toml` | -| RubyGems | Ruby | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | `Gemfile.lock` | `Gemfile`, `*.gemspec` | -| Swift Package Manager | Swift | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | `Package.resolved` | {% octicon "x" aria-label="None" %} | -| Yarn | JavaScript | {% octicon "check" aria-label="Supported" %} | {% octicon "x" aria-label="Not supported" %} | `yarn.lock` | `package.json` | +| pip | Python | {% octicon "x" aria-label="Not supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | `requirements.txt`, `pipfile.lock` | `pipfile`, `setup.py` | +| pnpm | JavaScript | {% octicon "check" aria-label="Supported" %} | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | `pnpm-lock.yaml` | `package.json` | +| pub | Dart | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | `pubspec.lock` | `pubspec.yaml` | +| Poetry | Python | {% octicon "x" aria-label="Not supported" %} | {% octicon "check" aria-label="Supported" %} | {% octicon "check" aria-label="Supported" %} | `poetry.lock` | `pyproject.toml` | +| RubyGems | Ruby | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | `Gemfile.lock` | `Gemfile`, `*.gemspec` | +| Swift Package Manager | Swift | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | `Package.resolved` | {% octicon "x" aria-label="None" %} | +| Yarn | JavaScript | {% octicon "check" aria-label="Supported" %} | {% octicon "x" aria-label="Not supported" %} | {% octicon "x" aria-label="Not supported" %} | `yarn.lock` | `package.json` | > [!NOTE] > * If you list your Python dependencies within a `setup.py` file, we may not be able to parse and list every dependency in your project. diff --git a/content/copilot/how-tos/copilot-cli/cli-best-practices.md b/content/copilot/how-tos/copilot-cli/cli-best-practices.md index d9cbd8723bc9..bcadf9d14700 100644 --- a/content/copilot/how-tos/copilot-cli/cli-best-practices.md +++ b/content/copilot/how-tos/copilot-cli/cli-best-practices.md @@ -416,7 +416,7 @@ This multi-repository capability enables: ### Using images for UI work -{% data variables.product.prodname_copilot_short %} can work with visual references. Simply **drag and drop** images directly into the CLI input, or reference image files: +{% data variables.product.prodname_copilot_short %} can work with visual references. Simply **drag and drop** images directly into the CLI input, paste an image from the clipboard by using Ctrl+V, or reference image files in your prompt: ```copilot Implement this design: @mockup.png diff --git a/content/copilot/how-tos/provide-context/use-copilot-spaces/use-copilot-spaces.md b/content/copilot/how-tos/provide-context/use-copilot-spaces/use-copilot-spaces.md index 676de7eebbc7..c6b7d169b3f5 100644 --- a/content/copilot/how-tos/provide-context/use-copilot-spaces/use-copilot-spaces.md +++ b/content/copilot/how-tos/provide-context/use-copilot-spaces/use-copilot-spaces.md @@ -31,7 +31,7 @@ Once you've accessed space context from your IDE: To use {% data variables.copilot.copilot_spaces_short %} in your IDE, you need to: * Set up the remote {% data variables.product.github %} MCP server for your IDE. For more information, see [AUTOTITLE](/copilot/how-tos/provide-context/use-mcp/set-up-the-github-mcp-server) and [Remote {% data variables.product.github %} MCP Server](https://github.com/github/github-mcp-server/blob/main/docs/remote-server.md) in the {% data variables.product.github %} MCP server documentation. -* Configure the set up of the remote {% data variables.product.github %} MCP server so that the {% data variables.copilot.copilot_spaces_short %} toolset is enabled. +* Configure the remote {% data variables.product.github %} MCP server so that the {% data variables.copilot.copilot_spaces_short %} toolset is enabled. The {% data variables.copilot.copilot_spaces_short %} toolset is not included in the default configuration, so you must explicitly enable it using the `X-MCP-Toolsets` header. The following example configuration enables both the default tools and {% data variables.copilot.copilot_spaces_short %}: diff --git a/content/copilot/how-tos/use-copilot-agents/cloud-agent/integrate-cloud-agent-with-jira.md b/content/copilot/how-tos/use-copilot-agents/cloud-agent/integrate-cloud-agent-with-jira.md index bc09fce9d3b8..6d75b3ebfcf5 100644 --- a/content/copilot/how-tos/use-copilot-agents/cloud-agent/integrate-cloud-agent-with-jira.md +++ b/content/copilot/how-tos/use-copilot-agents/cloud-agent/integrate-cloud-agent-with-jira.md @@ -16,7 +16,7 @@ category: > [!NOTE] > * This feature is currently in {% data variables.release-phases.public_preview %} and subject to change. > * {% data variables.product.prodname_copilot %} uses AI. Check for mistakes. See [AUTOTITLE](/copilot/responsible-use/copilot-cloud-agent). -> * You can provide feedback about the {% data variables.product.prodname_copilot %} for Jira integration in the [{% data variables.product.github %} survey](https://www.surveymonkey.com/r/CCAforJira). +> * You can provide feedback about the {% data variables.product.prodname_copilot %} for Jira integration in the [{% data variables.product.github %} survey](https://survey.alchemer.com/s3/8816096/GC4Jira). The {% data variables.product.prodname_copilot %} integration in Jira allows you to invoke {% data variables.copilot.copilot_cloud_agent %} without leaving your Jira workspace. From within a Jira work item you can initiate {% data variables.copilot.copilot_cloud_agent_short %} sessions and open pull requests, using the context of the work item's title, description, labels, comments, and any Atlassian custom fields such as acceptance criteria. diff --git a/content/copilot/reference/ai-models/supported-models.md b/content/copilot/reference/ai-models/supported-models.md index d2b701ae61bf..cf7312bce35a 100644 --- a/content/copilot/reference/ai-models/supported-models.md +++ b/content/copilot/reference/ai-models/supported-models.md @@ -47,7 +47,7 @@ This table lists the AI models available in {% data variables.product.prodname_c ## Supported AI models in {% data variables.copilot.copilot_auto_model_selection_short_cap_a %} -This table lists the AI models available in {% data variables.copilot.copilot_auto_model_selection_short_cap_a %}. +This table lists the supported AI models for {% data variables.copilot.copilot_auto_model_selection_short_cap_a %}. Available models may be limited by model policies, including policies restricting {% data variables.product.prodname_copilot_short %} to data-resident or FedRAMP-compliant models. {% rowheaders %} diff --git a/content/copilot/reference/copilot-allowlist-reference.md b/content/copilot/reference/copilot-allowlist-reference.md index f09147b49cf8..de8d15584267 100644 --- a/content/copilot/reference/copilot-allowlist-reference.md +++ b/content/copilot/reference/copilot-allowlist-reference.md @@ -21,6 +21,7 @@ If your company employs security measures like a firewall or proxy server, you s | Domain and/or URL | Purpose | |:------------------------------------------------------------| :--------------------------------- | | `https://github.com/login/*` | Authentication | +| `https://github.com/copilot/*` | {% data variables.product.prodname_copilot_short %} on {% data variables.product.github %} | | `https://github.com/enterprises/YOUR-ENTERPRISE/*` | Authentication for {% data variables.enterprise.prodname_managed_users %}, only required with {% data variables.product.prodname_emus %} | | `https://api.github.com/user` | User Management | | `https://api.github.com/copilot_internal/*` | User Management | diff --git a/content/copilot/reference/copilot-cli-reference/cli-command-reference.md b/content/copilot/reference/copilot-cli-reference/cli-command-reference.md index 4a1dd20b8dac..66aae9a15272 100644 --- a/content/copilot/reference/copilot-cli-reference/cli-command-reference.md +++ b/content/copilot/reference/copilot-cli-reference/cli-command-reference.md @@ -322,67 +322,7 @@ copilot --allow-tool='MyMCP' ## Configuration file settings -Settings cascade from user to repository to local, with more specific scopes overriding more general ones. Command-line flags and environment variables always take the highest precedence. - -| Scope | Location | Purpose | -|-------|----------|---------| -| User | `~/.copilot/config.json` | Global defaults for all repositories. Use the `COPILOT_HOME` environment variable to specify an alternative path. | -| Repository | `.github/copilot/settings.json` | Shared repository configuration (committed to the repository). | -| Local | `.github/copilot/settings.local.json` | Personal overrides (add this to `.gitignore`). | - -### User settings (`~/.copilot/config.json`) - -| Key | Type | Default | Description | -|-----|------|---------|-------------| -| `allowedUrls` | `string[]` | `[]` | URLs or domains allowed without prompting. | -| `autoUpdate` | `boolean` | `true` | Automatically download CLI updates. | -| `banner` | `"always"` \| `"once"` \| `"never"` | `"once"` | Animated banner display frequency. | -| `bashEnv` | `boolean` | `false` | Enable `BASH_ENV` support for bash shells. | -| `beep` | `boolean` | `true` | Play an audible beep when attention is required. | -| `compactPaste` | `boolean` | `true` | Collapse large pastes into compact tokens. | -| `custom_agents.default_local_only` | `boolean` | `false` | Only use local custom agents. | -| `denied_urls` | `string[]` | `[]` | URLs or domains blocked (takes precedence over `allowed_urls`). | -| `experimental` | `boolean` | `false` | Enable experimental features. | -| `includeCoAuthoredBy` | `boolean` | `true` | Add a `Co-authored-by` trailer to git commits made by the agent. | -| `companyAnnouncements` | `string[]` | `[]` | Custom messages shown randomly on startup. | -| `logLevel` | `"none"` \| `"error"` \| `"warning"` \| `"info"` \| `"debug"` \| `"all"` \| `"default"` | `"default"` | Logging verbosity. | -| `model` | `string` | varies | AI model to use (see the `/model` command). Set to `"auto"` to let {% data variables.product.prodname_copilot_short %} pick the best available model automatically. | -| `powershellFlags` | `string[]` | `["-NoProfile", "-NoLogo"]` | Flags passed to PowerShell (`pwsh`) on startup. Windows only. | -| `effortLevel` | `string` | `"medium"` | Reasoning effort level for extended thinking (e.g., `"low"`, `"medium"`, `"high"`, `"xhigh"`). Higher levels use more compute. | -| `mergeStrategy` | `"rebase"` \| `"merge"` | — | Conflict resolution strategy for `/pr fix conflicts`. When set to `"rebase"`, conflicts are resolved by rebasing onto the base branch. When set to `"merge"`, the base branch is merged into the feature branch. If not configured, a picker dialog is shown. | -| `renderMarkdown` | `boolean` | `true` | Render Markdown in terminal output. | -| `screenReader` | `boolean` | `false` | Enable screen reader optimizations. | -| `stream` | `boolean` | `true` | Enable streaming responses. | -| `storeTokenPlaintext` | `boolean` | `false` | Store authentication tokens in plain text in the configuration file when no system keychain is available. | -| `streamerMode` | `boolean` | `false` | Hide preview model names and quota details (useful when demonstrating {% data variables.copilot.copilot_cli_short %}). | -| `theme` | `"auto"` \| `"dark"` \| `"light"` | `"auto"` | Terminal color theme. | -| `mouse` | `boolean` | `true` | Enable mouse support in alt screen mode. | -| `respectGitignore` | `boolean` | `true` | Exclude gitignored files from the `@` file picker. | -| `disableAllHooks` | `boolean` | `false` | Disable all hooks. | -| `hooks` | `object` | — | Inline user-level hook definitions. | -| `copyOnSelect` | `boolean` | `true` (macOS), `false` (other) | Automatically copy mouse-selected text to the system clipboard in alt screen mode. | -| `statusLine` | `object` | — | Custom status line display. `type`: must be `"command"`. `command`: path to a script that receives session JSON on stdin and prints status content to stdout. `padding`: optional left-padding spaces. | -| `suppress_init_folders` | `string[]` | `[]` | Folders where the `/init` suggestion has been dismissed. Managed automatically by `/init suppress`. | -| `updateTerminalTitle` | `boolean` | `true` | Show the current intent in the terminal title. | - -### Repository settings (`.github/copilot/settings.json`) - -Repository settings apply to everyone who works in the repository. Only the keys listed in the following table are supported at the repository level. Any other keys—including keys that are valid in the user configuration file—are silently ignored. - -| Key | Type | Merge behavior | Description | -|-----|------|---------------|-------------| -| `companyAnnouncements` | `string[]` | Replaced—repository takes precedence | Messages shown randomly on startup. | -| `disableAllHooks` | `boolean` | Repository takes precedence | Disable all hooks. | -| `enabledPlugins` | `Record` | Merged—repository overrides user for same key | Declarative plugin auto-install. | -| `extraKnownMarketplaces` | `Record` | Merged—repository overrides user for same key | Plugin marketplaces available in this repository. | -| `hooks` | `object` | Concatenated—repository hooks run after user hooks | Hook definitions scoped to this repository. See [Hooks reference](#hooks-reference). | -| `mergeStrategy` | `"rebase"` \| `"merge"` | Repository takes precedence | Conflict resolution strategy for `/pr fix conflicts`. | - -### Local settings (`.github/copilot/settings.local.json`) - -Create `.github/copilot/settings.local.json` in the repository, for personal overrides that should not be committed. Add this file to `.gitignore`. - -The local configuration file uses the same schema as the repository configuration file (`.github/copilot/settings.json`) and takes precedence over it. +For detailed information about configuration file settings—including the full list of user settings, repository settings, local settings, and how they cascade—see [AUTOTITLE](/copilot/reference/copilot-cli-reference/cli-config-dir-reference#configuration-file-settings). ## Project initialization for {% data variables.product.prodname_copilot_short %} @@ -402,7 +342,7 @@ The CLI looks for the `copilot-instructions.md` file on startup, and if it's mis > 💡 No copilot instructions found. Run /init to generate a copilot-instructions.md file for this project. -If you don't want to create this file, you can permanently hide this startup message by using the `/init suppress` slash command, which adds a `suppress_init_folders` setting for this repository to your {% data variables.product.prodname_copilot_short %} configuration file. +If you don't want to create this file, you can permanently hide this startup message for the current repository by using the `/init suppress` slash command. For more information, see [AUTOTITLE](/copilot/how-tos/configure-custom-instructions/add-repository-instructions). diff --git a/content/copilot/reference/copilot-cli-reference/cli-config-dir-reference.md b/content/copilot/reference/copilot-cli-reference/cli-config-dir-reference.md index eb1e976572ab..f38583eb411a 100644 --- a/content/copilot/reference/copilot-cli-reference/cli-config-dir-reference.md +++ b/content/copilot/reference/copilot-cli-reference/cli-config-dir-reference.md @@ -24,7 +24,10 @@ The `~/.copilot` directory contains the following top-level items. | Path | Type | Description | |------|------|-------------| | `config.json` | File | Your personal configuration settings | +| `copilot-instructions.md` | File | Personal custom instructions (applied to all sessions) | +| `instructions/` | Directory | Additional personal `*.instructions.md` files | | `mcp-config.json` | File | User-level MCP server definitions | +| `lsp-config.json` | File | User-level LSP server definitions | | `permissions-config.json` | File | Saved tool and directory permissions per project | | `agents/` | Directory | Personal custom agent definitions | | `skills/` | Directory | Personal custom skill definitions | @@ -33,6 +36,7 @@ The `~/.copilot` directory contains the following top-level items. | `session-state/` | Directory | Session history and workspace data | | `session-store.db` | File | SQLite database for cross-session data | | `installed-plugins/` | Directory | Installed plugin files | +| `plugin-data/` | Directory | Persistent data for installed plugins | | `ide/` | Directory | IDE integration state | > [!NOTE] @@ -46,31 +50,20 @@ The following files are designed to be edited by you directly, or managed throug This is the primary configuration file for {% data variables.copilot.copilot_cli_short %}. You can edit it directly in a text editor, or use interactive commands like `/model` and `/theme` to change specific values from within a session. The file supports JSON with comments (JSONC). -Common settings include: - -| Key | Type | Description | -|-----|------|-------------| -| `model` | string | AI model to use (for example, `"gpt-5.2"`, `"claude-sonnet-4.6"`). Set to `Auto` to let {% data variables.product.prodname_copilot_short %} pick the best available model automatically. | -| `effortLevel` | string | Reasoning effort level for models that support it | -| `theme` | string | Color theme: `"auto"`, `"dark"`, or `"light"` | -| `mouse` | boolean | Enable mouse support in alt screen mode (default: `true`) | -| `banner` | string | Animated banner frequency: `"always"`, `"once"`, or `"never"` (default: `"once"`) | -| `renderMarkdown` | boolean | Render Markdown in responses (default: `true`) | -| `screenReader` | boolean | Enable screen reader optimizations (default: `false`) | -| `autoUpdate` | boolean | Automatically download CLI updates (default: `true`) | -| `stream` | boolean | Stream responses token by token (default: `true`) | -| `includeCoAuthoredBy` | boolean | Add Co-authored-by to agent-created commits (default: `true`) | -| `respectGitignore` | boolean | Exclude gitignored files from the `@` file picker (default: `true`) | -| `allowedUrls` | string[] | URLs or domains allowed without prompting | -| `deniedUrls` | string[] | URLs or domains that are always denied | -| `logLevel` | string | Log verbosity: `"none"`, `"error"`, `"warning"`, `"info"`, `"debug"`, `"all"`, or `"default"` (default: `"default"`) | -| `disableAllHooks` | boolean | Disable all hooks (default: `false`) | -| `hooks` | object | Inline user-level hook definitions | - -For a full list of configuration settings, enter `copilot help config` in your terminal. +For the full list of settings and how they interact with repository-level configuration, see [Configuration file settings](#configuration-file-settings) later in this article. > [!TIP] -> Some settings can also be set using command-line flags. For example, the `/model` slash command writes your model selection to this file so it persists across sessions. +> Run `copilot help config` in your terminal for a quick reference. + +### `copilot-instructions.md` + +Personal custom instructions that apply to all your sessions, regardless of which project you're working in. This file works the same way as a repository-level `copilot-instructions.md` but applies globally. + +For more information, see [AUTOTITLE](/copilot/how-tos/configure-custom-instructions/add-repository-instructions). + +### `instructions/` + +Store additional personal instruction files here as `*.instructions.md` files. These are loaded alongside `copilot-instructions.md` and apply to all your sessions. You can organize instructions by topic—for example, `~/.copilot/instructions/code-style.instructions.md`. ### `mcp-config.json` @@ -78,6 +71,12 @@ Defines MCP (Model Context Protocol) servers available at the user level. These For more information, see [AUTOTITLE](/copilot/how-tos/copilot-cli/customize-copilot/add-mcp-servers). +### `lsp-config.json` + +Defines Language Server Protocol (LSP) servers available at the user level. These servers provide language intelligence (diagnostics, completions, etc.) to the agent. Manage this file using the `/lsp` slash command, or edit it directly. + +For more information, see [AUTOTITLE](/copilot/how-tos/copilot-cli/set-up-copilot-cli/add-lsp-servers). + ### `agents/` Store personal custom agent definitions here as `.agent.md` files. Agents placed in this directory are available in all your sessions. Project-level agents (in `.github/agents/`) take precedence over personal agents if they share the same name. @@ -128,6 +127,10 @@ Contains the files for plugins you have installed. Plugins installed from a mark For more information, see [AUTOTITLE](/copilot/reference/copilot-cli-reference/cli-plugin-reference). +### `plugin-data/` + +Contains persistent data for installed plugins, organized by marketplace and plugin name. This data is managed by the plugins themselves and should not be edited manually. + ### `ide/` Contains lock files and state for IDE integrations (for example, when {% data variables.copilot.copilot_cli_short %} connects to {% data variables.product.prodname_vscode %}). This directory is automatically managed. @@ -166,14 +169,97 @@ The `--config-dir` option takes precedence over `COPILOT_HOME`, which in turn ta | Item | Safe to delete? | Effect | |------|-----------------|--------| | `logs/` | Yes | Log files are re-created each session. Deleting them has no functional impact. | +| `plugin-data/` | Yes | Plugin persistent data is re-created as needed. | | `session-state/` | With caution | Deleting removes session history. You will no longer be able to resume past sessions. | | `session-store.db` | With caution | Deleting removes cross-session data. The file is re-created automatically. | -| `config.json` | With caution | Resets all configuration to defaults. You will need to reconfigure your preferences. | +| `config.json` | With caution | Resets all configuration to defaults. You will need to reconfigure your preferences and re-authenticate. | | `permissions-config.json` | With caution | Resets all saved permissions. The CLI will prompt you again for tool and directory approvals. | | `installed-plugins/` | Not recommended | Use `copilot plugin uninstall` instead, to ensure plugin metadata in `config.json` stays consistent. | | `mcp-config.json` | Not recommended | You will lose your user-level MCP server definitions. Back up first. | +| `lsp-config.json` | Not recommended | You will lose your user-level LSP server definitions. Back up first. | +| `copilot-instructions.md`, `instructions/` | Not recommended | You will lose your personal custom instructions. Back up first. | | `agents/`, `skills/`, `hooks/` | Not recommended | You will lose your personal customizations. Back up first. | +## Configuration file settings + +Settings cascade from user to repository to local, with more specific scopes overriding more general ones. Command-line options and environment variables always take the highest precedence. + +| Scope | Location | Purpose | +|-------|----------|---------| +| User | `~/.copilot/config.json` | Global defaults for all repositories. Use the `COPILOT_HOME` environment variable to specify an alternative path. | +| Repository | `.github/copilot/settings.json` | Shared repository configuration (committed to the repository). | +| Local | `.github/copilot/settings.local.json` | Personal overrides (add this to `.gitignore`). | + +### User settings (`~/.copilot/config.json`) + +These settings apply across all your sessions and repositories. You can edit this file directly, or use slash commands to update individual values. + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| `allowedUrls` | `string[]` | `[]` | URLs or domains allowed without prompting. Supports exact URLs, domain patterns, and wildcard subdomains (for example, `"*.github.com"`). | +| `askUser` | `boolean` | `true` | Allow the agent to ask clarifying questions. Set to `false` for fully autonomous operation. Can also be set with `--no-ask-user`. | +| `autoUpdate` | `boolean` | `true` | Automatically download CLI updates. | +| `autoUpdatesChannel` | `"stable"` \| `"prerelease"` | `"stable"` | Update channel. Set to `"prerelease"` to receive pre-release updates. | +| `banner` | `"always"` \| `"once"` \| `"never"` | `"once"` | Animated banner display frequency. | +| `bashEnv` | `boolean` | `false` | Enable `BASH_ENV` support for bash shells. Can also be set with `--bash-env` or `--no-bash-env`. | +| `beep` | `boolean` | `true` | Play an audible beep when attention is required. | +| `colorMode` | `"default"` \| `"dim"` \| `"high-contrast"` \| `"colorblind"` | `"default"` | Color contrast mode. Managed by the `/theme` slash command. | +| `compactPaste` | `boolean` | `true` | Collapse large pastes (more than 10 lines) into compact tokens. | +| `companyAnnouncements` | `string[]` | `[]` | Custom messages shown randomly on startup. One message is randomly selected each time the CLI starts. Useful for team announcements or reminders. | +| `continueOnAutoMode` | `boolean` | `false` | Automatically switch to auto mode when rate-limited. When `true`, eligible rate limit errors trigger an automatic switch to auto mode and retry. Does not apply to global rate limits or BYOK providers. | +| `copyOnSelect` | `boolean` | `true` (macOS), `false` (other) | Automatically copy mouse-selected text to the system clipboard in alt screen mode. | +| `customAgents.defaultLocalOnly` | `boolean` | `false` | Only use local custom agents (no remote organization or enterprise agents). | +| `deniedUrls` | `string[]` | `[]` | URLs or domains that are always denied. Denial rules take precedence over allow rules. | +| `disableAllHooks` | `boolean` | `false` | Disable all hooks (both repository-level and user-level). | +| `disabledMcpServers` | `string[]` | `[]` | MCP server names to disable. Listed servers are configured but not started. | +| `disabledSkills` | `string[]` | `[]` | Skill names to disable. Listed skills are discovered but not loaded. | +| `effortLevel` | `string` | `"medium"` | Reasoning effort level for extended thinking: `"low"`, `"medium"`, `"high"`, or `"xhigh"`. Higher levels use more compute. | +| `enabledMcpServers` | `string[]` | `[]` | Enable built-in MCP servers that are disabled by default (for example, `"computer-use"`). | +| `enabledPlugins` | `Record` | `{}` | Declarative plugin auto-install. Keys are plugin specs; values are `true` (enabled) or `false` (disabled). | +| `experimental` | `boolean` | `false` | Enable experimental features. Can also be enabled with the `--experimental` command-line option or the `/experimental` slash command. | +| `extraKnownMarketplaces` | `Record` | `{}` | Additional plugin marketplaces. Each key is a marketplace name; the value specifies the source (`"directory"`, `"git"`, or `"github"`). | +| `footer` | `object` | — | Controls which items appear in the status line. Sub-keys: `showModelEffort`, `showDirectory`, `showBranch`, `showContextWindow`, `showQuota`, `showAgent` (all `boolean`). Managed by the `/statusline` slash command. | +| `hooks` | `object` | — | Inline user-level hook definitions, keyed by event name. Uses the same schema as `.github/hooks/*.json` files. See [AUTOTITLE](/copilot/how-tos/copilot-cli/customize-copilot/use-hooks). | +| `ide.autoConnect` | `boolean` | `true` | Automatically connect to an IDE workspace on startup. When `false`, you can still connect manually using the `/ide` command. | +| `ide.openDiffOnEdit` | `boolean` | `true` | Open file edit diffs in the connected IDE for approval. When `false`, file edit approvals are shown only in the terminal. | +| `includeCoAuthoredBy` | `boolean` | `true` | Add a `Co-authored-by` trailer to git commits made by the agent. | +| `logLevel` | `"none"` \| `"error"` \| `"warning"` \| `"info"` \| `"debug"` \| `"all"` \| `"default"` | `"default"` | Logging verbosity. | +| `mergeStrategy` | `"rebase"` \| `"merge"` | — | Conflict resolution strategy for `/pr fix conflicts`. When set to `"rebase"`, conflicts are resolved by rebasing onto the base branch. When set to `"merge"`, the base branch is merged into the feature branch. If not configured, a picker dialog is shown. | +| `model` | `string` | varies | AI model to use. Set to `"auto"` to let {% data variables.product.prodname_copilot_short %} pick the best available model automatically. Managed by the `/model` slash command. | +| `mouse` | `boolean` | `true` | Enable mouse support in alt screen mode. Can also be set with `--mouse` or `--no-mouse`. | +| `powershellFlags` | `string[]` | `["-NoProfile", "-NoLogo"]` | Flags passed to PowerShell (`pwsh`) on startup. Windows only. | +| `renderMarkdown` | `boolean` | `true` | Render Markdown in terminal output. | +| `respectGitignore` | `boolean` | `true` | Exclude gitignored files from the `@` file mention picker. When `false`, the picker includes files normally excluded by `.gitignore`. | +| `screenReader` | `boolean` | `false` | Enable screen reader optimizations. | +| `skillDirectories` | `string[]` | `[]` | Additional directories to search for custom skill definitions (in addition to `~/.copilot/skills/`). | +| `statusLine` | `object` | — | Custom status line display. `type`: must be `"command"`. `command`: path to an executable script that receives session JSON on stdin and prints status content to stdout. `padding`: optional number of left-padding spaces. | +| `storeTokenPlaintext` | `boolean` | `false` | Store authentication tokens in plain text in the configuration file when no system keychain is available. | +| `stream` | `boolean` | `true` | Enable streaming responses. | +| `streamerMode` | `boolean` | `false` | Hide preview model names and quota details. Useful when demonstrating {% data variables.copilot.copilot_cli_short %} or screen sharing. | +| `theme` | `"auto"` \| `"dark"` \| `"light"` | `"auto"` | Terminal color theme. `"auto"` detects the terminal background and chooses accordingly. | +| `updateTerminalTitle` | `boolean` | `true` | Show the current intent in the terminal tab or window title. | + +### Repository settings (`.github/copilot/settings.json`) + +Repository settings apply to everyone who works in the repository. They are committed to the repository and shared with collaborators. + +Only the keys listed in the following table are supported at the repository level. Any other keys—including keys that are valid in the user configuration file—are silently ignored. + +| Key | Type | Merge behavior | Description | +|-----|------|---------------|-------------| +| `companyAnnouncements` | `string[]` | Replaced—repository takes precedence | Messages shown randomly on startup. | +| `disableAllHooks` | `boolean` | Repository takes precedence | Disable all hooks. | +| `enabledPlugins` | `Record` | Merged—repository overrides user for same key | Declarative plugin auto-install. | +| `extraKnownMarketplaces` | `Record` | Merged—repository overrides user for same key | Plugin marketplaces available in this repository. | +| `hooks` | `object` | Concatenated—repository hooks run after user hooks | Hook definitions scoped to this repository. See [AUTOTITLE](/copilot/how-tos/copilot-cli/customize-copilot/use-hooks). | +| `mergeStrategy` | `"rebase"` \| `"merge"` | Repository takes precedence | Conflict resolution strategy for `/pr fix conflicts`. | + +### Local settings (`.github/copilot/settings.local.json`) + +Create `.github/copilot/settings.local.json` in the repository for personal overrides that should not be committed. Add this file to `.gitignore`. + +The local configuration file uses the same schema as the repository configuration file (`.github/copilot/settings.json`) and takes precedence over it. + ## Further reading * [AUTOTITLE](/copilot/how-tos/copilot-cli) diff --git a/data/reusables/dependency-graph/deduplication.md b/data/reusables/dependency-graph/deduplication.md index 3f2c07db2778..7bed3bceff94 100644 --- a/data/reusables/dependency-graph/deduplication.md +++ b/data/reusables/dependency-graph/deduplication.md @@ -4,6 +4,7 @@ Dependency graph displays only one instance of each manifest file using the foll 1. **User submissions** take the highest priority, because they are usually created during artifact builds they have the most complete information. * If there are multiple manual snapshots from different detectors, they are sorted alphabetically by correlator and the first one used. - * If there are two correlators with the same detector, the resolved dependencies are merged. For more information about correlators and detectors, see [AUTOTITLE](/rest/dependency-graph/dependency-submission). -1. **Automatic submissions** have the second-highest priority since they are also created during artifact builds, but are not submitted by users. + * If there are two correlators with the same detector, the resolved dependencies are merged. For more information about correlators and detectors, see [AUTOTITLE](/rest/dependency-graph/dependency-submission).{% ifversion fpt or ghec %} +1. **{% data variables.product.prodname_dependabot %} graph jobs** have the second-highest priority. For ecosystems where {% data variables.product.prodname_dependabot %} graph jobs are available (currently Go and Python), they take precedence over automatic dependency submission.{% endif %} +1. **Automatic submissions** have the next priority since they are also created during artifact builds, but are not submitted by users. 1. **Static analysis results** are used when no other data is available. diff --git a/data/reusables/saml/about-saml-enterprise-accounts.md b/data/reusables/saml/about-saml-enterprise-accounts.md index 56c2d4b69ee4..13df46ece0f1 100644 --- a/data/reusables/saml/about-saml-enterprise-accounts.md +++ b/data/reusables/saml/about-saml-enterprise-accounts.md @@ -1 +1 @@ -Enterprise owners can enable SAML SSO and centralized authentication through a SAML IdP across all organizations owned by an enterprise account. After you enable SAML SSO for your enterprise account, SAML SSO is enforced for all organizations owned by your enterprise account. All members will be required to authenticate using SAML SSO to gain access to the organizations where they are a member, and enterprise owners will be required to authenticate using SAML SSO when accessing an enterprise account. +Enterprise owners can enable SAML SSO and centralized authentication through a SAML IdP across all organizations owned by an enterprise account. After you enable SAML SSO for your enterprise account, SAML SSO is enforced as a requirement for all enterprise members and all organizations owned by your enterprise account. All members will be required to authenticate using SAML SSO to gain access to the organizations where they are a member, and enterprise owners will be required to authenticate using SAML SSO when accessing an enterprise account. diff --git a/src/content-pipelines/config.yml b/src/content-pipelines/config.yml index 01d357911c3c..bf8aab4a6b9a 100644 --- a/src/content-pipelines/config.yml +++ b/src/content-pipelines/config.yml @@ -30,6 +30,7 @@ copilot-cli: - COPILOT_CLI_ENABLED_FEATURE_FLAGS environment variable content-mapping: | cli-plugin-reference.md covers only plugin-specific content. + All information relating to files in the ~/.copilot configuration directory, and settings in those files, should go in cli-config-dir-reference.md. All other CLI topics (hooks, MCP, skills, agents, permissions, etc.) belong in cli-command-reference.md even when they mention plugins. # TODO diff --git a/src/early-access/scripts/what-docs-early-access-branch.ts b/src/early-access/scripts/what-docs-early-access-branch.ts index 02df44ffc4c5..fd69e85f1c1c 100644 --- a/src/early-access/scripts/what-docs-early-access-branch.ts +++ b/src/early-access/scripts/what-docs-early-access-branch.ts @@ -1,6 +1,14 @@ import { getOctokit } from '@actions/github' import { setOutput } from '@actions/core' +const MAX_RETRIES = 3 +const RETRY_DELAY_MS = 5000 +const RETRY_DELAY_SECONDS = RETRY_DELAY_MS / 1000 + +async function sleep(ms: number): Promise { + return new Promise((resolve) => setTimeout(resolve, ms)) +} + async function main(): Promise { const { BRANCH_NAME, GITHUB_TOKEN } = process.env if (!BRANCH_NAME) throw new Error("'BRANCH_NAME' env var not set") @@ -12,22 +20,34 @@ async function main(): Promise { // If run on main, with the `workflow_dispatch` action for // example, the value becomes 'main'. const github = getOctokit(GITHUB_TOKEN) - try { - await github.rest.repos.getBranch({ - owner: 'github', - repo: 'docs-early-access', - branch: BRANCH_NAME, - }) - console.log(`Using docs-early-access branch called '${BRANCH_NAME}'.`) - setOutput(OUTPUT_KEY, BRANCH_NAME) - } catch (err) { - if (err instanceof Error && 'status' in err && (err as { status: number }).status === 404) { - console.log( - `There is no docs-early-access branch called '${BRANCH_NAME}' so checking out 'main' instead.`, - ) - setOutput(OUTPUT_KEY, 'main') - } else { - throw err + + for (let attempt = 1; attempt <= MAX_RETRIES; attempt++) { + try { + await github.rest.repos.getBranch({ + owner: 'github', + repo: 'docs-early-access', + branch: BRANCH_NAME, + }) + console.log(`Using docs-early-access branch called '${BRANCH_NAME}'.`) + setOutput(OUTPUT_KEY, BRANCH_NAME) + return + } catch (err) { + if (err instanceof Error && 'status' in err && (err as { status: number }).status === 404) { + console.log( + `There is no docs-early-access branch called '${BRANCH_NAME}' so checking out 'main' instead.`, + ) + setOutput(OUTPUT_KEY, 'main') + return + } + // Retry on network/server errors (5xx, timeouts, etc.) + if (attempt < MAX_RETRIES) { + console.warn( + `Attempt ${attempt}/${MAX_RETRIES} failed with error: ${err instanceof Error ? err.message : String(err)}. Retrying in ${RETRY_DELAY_SECONDS}s...`, + ) + await sleep(RETRY_DELAY_MS) + } else { + throw err + } } } } diff --git a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json index bf549d15752d..1484fecf9c7d 100644 --- a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json @@ -2260,6 +2260,24 @@ } ], "dependabot": [ + { + "slug": "lists-the-repositories-dependabot-can-access-in-an-enterprise", + "subcategory": "repository-access", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access" + }, + { + "slug": "updates-dependabots-repository-access-list-for-an-enterprise", + "subcategory": "repository-access", + "verb": "patch", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access" + }, + { + "slug": "set-the-default-repository-access-level-for-dependabot-in-an-enterprise", + "subcategory": "repository-access", + "verb": "put", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access/default-level" + }, { "slug": "list-dependabot-alerts-for-an-organization", "subcategory": "alerts", diff --git a/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json b/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json index a753ceb2d27c..ae4a83e934b0 100644 --- a/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json @@ -2272,6 +2272,24 @@ } ], "dependabot": [ + { + "slug": "lists-the-repositories-dependabot-can-access-in-an-enterprise", + "subcategory": "repository-access", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access" + }, + { + "slug": "updates-dependabots-repository-access-list-for-an-enterprise", + "subcategory": "repository-access", + "verb": "patch", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access" + }, + { + "slug": "set-the-default-repository-access-level-for-dependabot-in-an-enterprise", + "subcategory": "repository-access", + "verb": "put", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access/default-level" + }, { "slug": "list-dependabot-alerts-for-an-organization", "subcategory": "alerts", diff --git a/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json b/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json index 8d6193e38bc7..07ae50a3a345 100644 --- a/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json @@ -2538,6 +2538,24 @@ } ], "dependabot": [ + { + "slug": "lists-the-repositories-dependabot-can-access-in-an-enterprise", + "subcategory": "repository-access", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access" + }, + { + "slug": "updates-dependabots-repository-access-list-for-an-enterprise", + "subcategory": "repository-access", + "verb": "patch", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access" + }, + { + "slug": "set-the-default-repository-access-level-for-dependabot-in-an-enterprise", + "subcategory": "repository-access", + "verb": "put", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access/default-level" + }, { "slug": "list-dependabot-alerts-for-an-organization", "subcategory": "alerts", diff --git a/src/github-apps/data/fpt-2026-03-10/fine-grained-pat.json b/src/github-apps/data/fpt-2026-03-10/fine-grained-pat.json index bf549d15752d..1484fecf9c7d 100644 --- a/src/github-apps/data/fpt-2026-03-10/fine-grained-pat.json +++ b/src/github-apps/data/fpt-2026-03-10/fine-grained-pat.json @@ -2260,6 +2260,24 @@ } ], "dependabot": [ + { + "slug": "lists-the-repositories-dependabot-can-access-in-an-enterprise", + "subcategory": "repository-access", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access" + }, + { + "slug": "updates-dependabots-repository-access-list-for-an-enterprise", + "subcategory": "repository-access", + "verb": "patch", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access" + }, + { + "slug": "set-the-default-repository-access-level-for-dependabot-in-an-enterprise", + "subcategory": "repository-access", + "verb": "put", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access/default-level" + }, { "slug": "list-dependabot-alerts-for-an-organization", "subcategory": "alerts", diff --git a/src/github-apps/data/fpt-2026-03-10/server-to-server-rest.json b/src/github-apps/data/fpt-2026-03-10/server-to-server-rest.json index a753ceb2d27c..ae4a83e934b0 100644 --- a/src/github-apps/data/fpt-2026-03-10/server-to-server-rest.json +++ b/src/github-apps/data/fpt-2026-03-10/server-to-server-rest.json @@ -2272,6 +2272,24 @@ } ], "dependabot": [ + { + "slug": "lists-the-repositories-dependabot-can-access-in-an-enterprise", + "subcategory": "repository-access", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access" + }, + { + "slug": "updates-dependabots-repository-access-list-for-an-enterprise", + "subcategory": "repository-access", + "verb": "patch", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access" + }, + { + "slug": "set-the-default-repository-access-level-for-dependabot-in-an-enterprise", + "subcategory": "repository-access", + "verb": "put", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access/default-level" + }, { "slug": "list-dependabot-alerts-for-an-organization", "subcategory": "alerts", diff --git a/src/github-apps/data/fpt-2026-03-10/user-to-server-rest.json b/src/github-apps/data/fpt-2026-03-10/user-to-server-rest.json index 8d6193e38bc7..07ae50a3a345 100644 --- a/src/github-apps/data/fpt-2026-03-10/user-to-server-rest.json +++ b/src/github-apps/data/fpt-2026-03-10/user-to-server-rest.json @@ -2538,6 +2538,24 @@ } ], "dependabot": [ + { + "slug": "lists-the-repositories-dependabot-can-access-in-an-enterprise", + "subcategory": "repository-access", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access" + }, + { + "slug": "updates-dependabots-repository-access-list-for-an-enterprise", + "subcategory": "repository-access", + "verb": "patch", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access" + }, + { + "slug": "set-the-default-repository-access-level-for-dependabot-in-an-enterprise", + "subcategory": "repository-access", + "verb": "put", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access/default-level" + }, { "slug": "list-dependabot-alerts-for-an-organization", "subcategory": "alerts", diff --git a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json index eaa648de6c2d..f6533cbb7832 100644 --- a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json @@ -2268,6 +2268,24 @@ } ], "dependabot": [ + { + "slug": "lists-the-repositories-dependabot-can-access-in-an-enterprise", + "subcategory": "repository-access", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access" + }, + { + "slug": "updates-dependabots-repository-access-list-for-an-enterprise", + "subcategory": "repository-access", + "verb": "patch", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access" + }, + { + "slug": "set-the-default-repository-access-level-for-dependabot-in-an-enterprise", + "subcategory": "repository-access", + "verb": "put", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access/default-level" + }, { "slug": "list-dependabot-alerts-for-an-organization", "subcategory": "alerts", diff --git a/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json b/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json index cef36c18c00e..509fb1c9ddaf 100644 --- a/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json @@ -2346,6 +2346,24 @@ } ], "dependabot": [ + { + "slug": "lists-the-repositories-dependabot-can-access-in-an-enterprise", + "subcategory": "repository-access", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access" + }, + { + "slug": "updates-dependabots-repository-access-list-for-an-enterprise", + "subcategory": "repository-access", + "verb": "patch", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access" + }, + { + "slug": "set-the-default-repository-access-level-for-dependabot-in-an-enterprise", + "subcategory": "repository-access", + "verb": "put", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access/default-level" + }, { "slug": "list-dependabot-alerts-for-an-organization", "subcategory": "alerts", diff --git a/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json b/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json index 443d05ac95b3..3db3b14ea98d 100644 --- a/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json @@ -2594,6 +2594,24 @@ } ], "dependabot": [ + { + "slug": "lists-the-repositories-dependabot-can-access-in-an-enterprise", + "subcategory": "repository-access", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access" + }, + { + "slug": "updates-dependabots-repository-access-list-for-an-enterprise", + "subcategory": "repository-access", + "verb": "patch", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access" + }, + { + "slug": "set-the-default-repository-access-level-for-dependabot-in-an-enterprise", + "subcategory": "repository-access", + "verb": "put", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access/default-level" + }, { "slug": "list-dependabot-alerts-for-an-organization", "subcategory": "alerts", diff --git a/src/github-apps/data/ghec-2026-03-10/fine-grained-pat.json b/src/github-apps/data/ghec-2026-03-10/fine-grained-pat.json index eaa648de6c2d..f6533cbb7832 100644 --- a/src/github-apps/data/ghec-2026-03-10/fine-grained-pat.json +++ b/src/github-apps/data/ghec-2026-03-10/fine-grained-pat.json @@ -2268,6 +2268,24 @@ } ], "dependabot": [ + { + "slug": "lists-the-repositories-dependabot-can-access-in-an-enterprise", + "subcategory": "repository-access", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access" + }, + { + "slug": "updates-dependabots-repository-access-list-for-an-enterprise", + "subcategory": "repository-access", + "verb": "patch", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access" + }, + { + "slug": "set-the-default-repository-access-level-for-dependabot-in-an-enterprise", + "subcategory": "repository-access", + "verb": "put", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access/default-level" + }, { "slug": "list-dependabot-alerts-for-an-organization", "subcategory": "alerts", diff --git a/src/github-apps/data/ghec-2026-03-10/server-to-server-rest.json b/src/github-apps/data/ghec-2026-03-10/server-to-server-rest.json index cef36c18c00e..509fb1c9ddaf 100644 --- a/src/github-apps/data/ghec-2026-03-10/server-to-server-rest.json +++ b/src/github-apps/data/ghec-2026-03-10/server-to-server-rest.json @@ -2346,6 +2346,24 @@ } ], "dependabot": [ + { + "slug": "lists-the-repositories-dependabot-can-access-in-an-enterprise", + "subcategory": "repository-access", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access" + }, + { + "slug": "updates-dependabots-repository-access-list-for-an-enterprise", + "subcategory": "repository-access", + "verb": "patch", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access" + }, + { + "slug": "set-the-default-repository-access-level-for-dependabot-in-an-enterprise", + "subcategory": "repository-access", + "verb": "put", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access/default-level" + }, { "slug": "list-dependabot-alerts-for-an-organization", "subcategory": "alerts", diff --git a/src/github-apps/data/ghec-2026-03-10/user-to-server-rest.json b/src/github-apps/data/ghec-2026-03-10/user-to-server-rest.json index 443d05ac95b3..3db3b14ea98d 100644 --- a/src/github-apps/data/ghec-2026-03-10/user-to-server-rest.json +++ b/src/github-apps/data/ghec-2026-03-10/user-to-server-rest.json @@ -2594,6 +2594,24 @@ } ], "dependabot": [ + { + "slug": "lists-the-repositories-dependabot-can-access-in-an-enterprise", + "subcategory": "repository-access", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access" + }, + { + "slug": "updates-dependabots-repository-access-list-for-an-enterprise", + "subcategory": "repository-access", + "verb": "patch", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access" + }, + { + "slug": "set-the-default-repository-access-level-for-dependabot-in-an-enterprise", + "subcategory": "repository-access", + "verb": "put", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access/default-level" + }, { "slug": "list-dependabot-alerts-for-an-organization", "subcategory": "alerts", diff --git a/src/github-apps/lib/config.json b/src/github-apps/lib/config.json index aff2fe432734..e991c8b6432b 100644 --- a/src/github-apps/lib/config.json +++ b/src/github-apps/lib/config.json @@ -60,5 +60,5 @@ "2022-11-28" ] }, - "sha": "f36e195596ae01265fd31528bad607aa2bffd1c8" + "sha": "ed0da17e9a4a1937de02bc311a9286009ccb7e2b" } \ No newline at end of file diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index d44f1dc8cbbf..b13623c09d0c 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,17 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Input field id of type String was added to input object type 'ProjectV2SingleSelectFieldOptionInput'

" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [], + "date": "2026-04-23" + }, { "schemaChanges": [ { diff --git a/src/graphql/data/fpt/schema.docs.graphql b/src/graphql/data/fpt/schema.docs.graphql index 9a460f9be87e..5e2e270c40dd 100644 --- a/src/graphql/data/fpt/schema.docs.graphql +++ b/src/graphql/data/fpt/schema.docs.graphql @@ -40966,6 +40966,12 @@ input ProjectV2SingleSelectFieldOptionInput { """ description: String! + """ + The ID of an existing single select option. Include this to preserve the + option's identity during updates, preventing item field values from being cleared. + """ + id: String + """ The name of the option """ diff --git a/src/graphql/data/fpt/schema.json b/src/graphql/data/fpt/schema.json index 8028d98d0ced..57ef4167297f 100644 --- a/src/graphql/data/fpt/schema.json +++ b/src/graphql/data/fpt/schema.json @@ -97195,6 +97195,13 @@ "id": "string", "href": "/graphql/reference/scalars#string" }, + { + "name": "id", + "description": "

The ID of an existing single select option. Include this to preserve the\noption's identity during updates, preventing item field values from being cleared.

", + "type": "String", + "id": "string", + "href": "/graphql/reference/scalars#string" + }, { "name": "name", "description": "

The name of the option.

", diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index 9a460f9be87e..5e2e270c40dd 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -40966,6 +40966,12 @@ input ProjectV2SingleSelectFieldOptionInput { """ description: String! + """ + The ID of an existing single select option. Include this to preserve the + option's identity during updates, preventing item field values from being cleared. + """ + id: String + """ The name of the option """ diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 8028d98d0ced..57ef4167297f 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -97195,6 +97195,13 @@ "id": "string", "href": "/graphql/reference/scalars#string" }, + { + "name": "id", + "description": "

The ID of an existing single select option. Include this to preserve the\noption's identity during updates, preventing item field values from being cleared.

", + "type": "String", + "id": "string", + "href": "/graphql/reference/scalars#string" + }, { "name": "name", "description": "

The name of the option.

", diff --git a/src/rest/data/fpt-2022-11-28/code-security.json b/src/rest/data/fpt-2022-11-28/code-security.json index 0ea9d7e35590..b62aa5041e83 100644 --- a/src/rest/data/fpt-2022-11-28/code-security.json +++ b/src/rest/data/fpt-2022-11-28/code-security.json @@ -5540,7 +5540,8 @@ { "type": "array of integers", "name": "selected_repository_ids", - "description": "

An array of repository IDs to detach from configurations. Up to 250 IDs can be provided.

" + "description": "

An array of repository IDs to detach from configurations. Up to 250 IDs can be provided.

", + "isRequired": true } ], "descriptionHTML": "

Detach code security configuration(s) from a set of repositories.\nRepositories will retain their settings but will no longer be associated with the configuration.

\n

The authenticated user must be an administrator or security manager for the organization to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the write:org scope to use this endpoint.

", diff --git a/src/rest/data/fpt-2022-11-28/dependabot.json b/src/rest/data/fpt-2022-11-28/dependabot.json index 4630ed28c98d..20d1deb2df0d 100644 --- a/src/rest/data/fpt-2022-11-28/dependabot.json +++ b/src/rest/data/fpt-2022-11-28/dependabot.json @@ -7461,6 +7461,711 @@ } ], "repository-access": [ + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access", + "title": "Lists the repositories Dependabot can access in an enterprise", + "category": "dependabot", + "subcategory": "repository-access", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page", + "in": "query", + "description": "

The page number of results to fetch.

", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "

Number of results per page.

", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } + } + ], + "bodyParameters": [], + "descriptionHTML": "

Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise.

\n

The authenticated user must be an enterprise owner to use this endpoint.

", + "codeExamples": [ + { + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "enterprise": "ENTERPRISE" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "

Response

", + "example": { + "default_level": "public", + "accessible_repositories": [ + { + "id": 123456, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", + "name": "example-repo", + "full_name": "octocat/example-repo", + "owner": { + "name": "octocat", + "email": "octo@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", + "gravatar_id": 1, + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat/example-repo", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false, + "starred_at": "\"2020-07-09T00:17:55Z\"", + "user_view_type": "default" + }, + "private": false, + "html_url": "https://github.com/octocat/example-repo", + "description": "This is an example repository.", + "fork": false, + "url": "https://api.github.com/repos/octocat/example-repo", + "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", + "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/example-repo/events", + "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", + "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" + } + ] + }, + "schema": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": [ + "string", + "null" + ], + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal", + null + ] + }, + "accessible_repositories": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "A unique identifier of the repository." + }, + "node_id": { + "type": "string", + "description": "The GraphQL identifier of the repository." + }, + "name": { + "type": "string", + "description": "The name of the repository." + }, + "full_name": { + "type": "string", + "description": "The full, globally unique, name of the repository." + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "avatar_url": { + "type": "string", + "format": "uri" + }, + "gravatar_id": { + "type": [ + "string", + "null" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The URL to view the repository on GitHub.com." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The repository description." + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL to get more information about the repository from the GitHub API." + }, + "archive_url": { + "type": "string", + "description": "A template for the API URL to download the repository as an archive." + }, + "assignees_url": { + "type": "string", + "description": "A template for the API URL to list the available assignees for issues in the repository." + }, + "blobs_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." + }, + "branches_url": { + "type": "string", + "description": "A template for the API URL to get information about branches in the repository." + }, + "collaborators_url": { + "type": "string", + "description": "A template for the API URL to get information about collaborators of the repository." + }, + "comments_url": { + "type": "string", + "description": "A template for the API URL to get information about comments on the repository." + }, + "commits_url": { + "type": "string", + "description": "A template for the API URL to get information about commits on the repository." + }, + "compare_url": { + "type": "string", + "description": "A template for the API URL to compare two commits or refs." + }, + "contents_url": { + "type": "string", + "description": "A template for the API URL to get the contents of the repository." + }, + "contributors_url": { + "type": "string", + "format": "uri", + "description": "A template for the API URL to list the contributors to the repository." + }, + "deployments_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the deployments of the repository." + }, + "downloads_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the downloads on the repository." + }, + "events_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the events of the repository." + }, + "forks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the forks of the repository." + }, + "git_commits_url": { + "type": "string", + "description": "A template for the API URL to get information about Git commits of the repository." + }, + "git_refs_url": { + "type": "string", + "description": "A template for the API URL to get information about Git refs of the repository." + }, + "git_tags_url": { + "type": "string", + "description": "A template for the API URL to get information about Git tags of the repository." + }, + "issue_comment_url": { + "type": "string", + "description": "A template for the API URL to get information about issue comments on the repository." + }, + "issue_events_url": { + "type": "string", + "description": "A template for the API URL to get information about issue events on the repository." + }, + "issues_url": { + "type": "string", + "description": "A template for the API URL to get information about issues on the repository." + }, + "keys_url": { + "type": "string", + "description": "A template for the API URL to get information about deploy keys on the repository." + }, + "labels_url": { + "type": "string", + "description": "A template for the API URL to get information about labels of the repository." + }, + "languages_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about the languages of the repository." + }, + "merges_url": { + "type": "string", + "format": "uri", + "description": "The API URL to merge branches in the repository." + }, + "milestones_url": { + "type": "string", + "description": "A template for the API URL to get information about milestones of the repository." + }, + "notifications_url": { + "type": "string", + "description": "A template for the API URL to get information about notifications on the repository." + }, + "pulls_url": { + "type": "string", + "description": "A template for the API URL to get information about pull requests on the repository." + }, + "releases_url": { + "type": "string", + "description": "A template for the API URL to get information about releases on the repository." + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the stargazers on the repository." + }, + "statuses_url": { + "type": "string", + "description": "A template for the API URL to get information about statuses of a commit." + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the subscribers on the repository." + }, + "subscription_url": { + "type": "string", + "format": "uri", + "description": "The API URL to subscribe to notifications for this repository." + }, + "tags_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about tags on the repository." + }, + "teams_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the teams on the repository." + }, + "trees_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." + }, + "hooks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the hooks on the repository." + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ] + } + ] + } + } + }, + "additionalProperties": false + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "

OK

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

Forbidden

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

Resource not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Enterprise administration\" enterprise permissions": "read" + } + ] + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "patch", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access", + "title": "Updates Dependabot's repository access list for an enterprise", + "category": "dependabot", + "subcategory": "repository-access", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [ + { + "type": "array of integers", + "name": "repository_ids_to_add", + "description": "

List of repository IDs to add.

" + }, + { + "type": "array of integers", + "name": "repository_ids_to_remove", + "description": "

List of repository IDs to remove.

" + } + ], + "descriptionHTML": "

Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise.

\n

The authenticated user must be an enterprise owner to use this endpoint.

\n

Example request body:

\n
{\n  \"repository_ids_to_add\": [123, 456],\n  \"repository_ids_to_remove\": [789]\n}\n
", + "codeExamples": [ + { + "request": { + "contentType": "application/json", + "description": "Example with a 'succeeded' status.", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "enterprise": "ENTERPRISE" + } + }, + "response": { + "statusCode": "204", + "description": "

Response

" + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "204", + "description": "

No Content

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

Forbidden

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

Resource not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Enterprise administration\" enterprise permissions": "write" + } + ] + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "put", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access/default-level", + "title": "Set the default repository access level for Dependabot in an enterprise", + "category": "dependabot", + "subcategory": "repository-access", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [ + { + "type": "string", + "name": "default_level", + "description": "

The default repository access level for Dependabot updates.

", + "isRequired": true, + "enum": [ + "public", + "internal" + ] + } + ], + "descriptionHTML": "

Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are:

\n
    \n
  • 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.
  • \n
  • 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.
  • \n
\n

The authenticated user must be an enterprise owner to use this endpoint.

", + "codeExamples": [ + { + "request": { + "contentType": "application/json", + "description": "Example with a 'succeeded' status.", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "default_level": "public" + }, + "parameters": { + "enterprise": "ENTERPRISE" + } + }, + "response": { + "statusCode": "204", + "description": "

Response

" + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "204", + "description": "

No Content

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

Forbidden

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

Resource not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Enterprise administration\" enterprise permissions": "write" + } + ] + } + }, { "serverUrl": "https://api.github.com", "verb": "get", diff --git a/src/rest/data/fpt-2026-03-10/code-security.json b/src/rest/data/fpt-2026-03-10/code-security.json index 0ea9d7e35590..b62aa5041e83 100644 --- a/src/rest/data/fpt-2026-03-10/code-security.json +++ b/src/rest/data/fpt-2026-03-10/code-security.json @@ -5540,7 +5540,8 @@ { "type": "array of integers", "name": "selected_repository_ids", - "description": "

An array of repository IDs to detach from configurations. Up to 250 IDs can be provided.

" + "description": "

An array of repository IDs to detach from configurations. Up to 250 IDs can be provided.

", + "isRequired": true } ], "descriptionHTML": "

Detach code security configuration(s) from a set of repositories.\nRepositories will retain their settings but will no longer be associated with the configuration.

\n

The authenticated user must be an administrator or security manager for the organization to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the write:org scope to use this endpoint.

", diff --git a/src/rest/data/fpt-2026-03-10/dependabot.json b/src/rest/data/fpt-2026-03-10/dependabot.json index cfed61fe0528..39ceb917e15e 100644 --- a/src/rest/data/fpt-2026-03-10/dependabot.json +++ b/src/rest/data/fpt-2026-03-10/dependabot.json @@ -7321,6 +7321,711 @@ } ], "repository-access": [ + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access", + "title": "Lists the repositories Dependabot can access in an enterprise", + "category": "dependabot", + "subcategory": "repository-access", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page", + "in": "query", + "description": "

The page number of results to fetch.

", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "

Number of results per page.

", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } + } + ], + "bodyParameters": [], + "descriptionHTML": "

Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise.

\n

The authenticated user must be an enterprise owner to use this endpoint.

", + "codeExamples": [ + { + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "enterprise": "ENTERPRISE" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "

Response

", + "example": { + "default_level": "public", + "accessible_repositories": [ + { + "id": 123456, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", + "name": "example-repo", + "full_name": "octocat/example-repo", + "owner": { + "name": "octocat", + "email": "octo@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", + "gravatar_id": 1, + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat/example-repo", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false, + "starred_at": "\"2020-07-09T00:17:55Z\"", + "user_view_type": "default" + }, + "private": false, + "html_url": "https://github.com/octocat/example-repo", + "description": "This is an example repository.", + "fork": false, + "url": "https://api.github.com/repos/octocat/example-repo", + "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", + "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/example-repo/events", + "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", + "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" + } + ] + }, + "schema": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": [ + "string", + "null" + ], + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal", + null + ] + }, + "accessible_repositories": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "A unique identifier of the repository." + }, + "node_id": { + "type": "string", + "description": "The GraphQL identifier of the repository." + }, + "name": { + "type": "string", + "description": "The name of the repository." + }, + "full_name": { + "type": "string", + "description": "The full, globally unique, name of the repository." + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "avatar_url": { + "type": "string", + "format": "uri" + }, + "gravatar_id": { + "type": [ + "string", + "null" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The URL to view the repository on GitHub.com." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The repository description." + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL to get more information about the repository from the GitHub API." + }, + "archive_url": { + "type": "string", + "description": "A template for the API URL to download the repository as an archive." + }, + "assignees_url": { + "type": "string", + "description": "A template for the API URL to list the available assignees for issues in the repository." + }, + "blobs_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." + }, + "branches_url": { + "type": "string", + "description": "A template for the API URL to get information about branches in the repository." + }, + "collaborators_url": { + "type": "string", + "description": "A template for the API URL to get information about collaborators of the repository." + }, + "comments_url": { + "type": "string", + "description": "A template for the API URL to get information about comments on the repository." + }, + "commits_url": { + "type": "string", + "description": "A template for the API URL to get information about commits on the repository." + }, + "compare_url": { + "type": "string", + "description": "A template for the API URL to compare two commits or refs." + }, + "contents_url": { + "type": "string", + "description": "A template for the API URL to get the contents of the repository." + }, + "contributors_url": { + "type": "string", + "format": "uri", + "description": "A template for the API URL to list the contributors to the repository." + }, + "deployments_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the deployments of the repository." + }, + "downloads_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the downloads on the repository." + }, + "events_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the events of the repository." + }, + "forks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the forks of the repository." + }, + "git_commits_url": { + "type": "string", + "description": "A template for the API URL to get information about Git commits of the repository." + }, + "git_refs_url": { + "type": "string", + "description": "A template for the API URL to get information about Git refs of the repository." + }, + "git_tags_url": { + "type": "string", + "description": "A template for the API URL to get information about Git tags of the repository." + }, + "issue_comment_url": { + "type": "string", + "description": "A template for the API URL to get information about issue comments on the repository." + }, + "issue_events_url": { + "type": "string", + "description": "A template for the API URL to get information about issue events on the repository." + }, + "issues_url": { + "type": "string", + "description": "A template for the API URL to get information about issues on the repository." + }, + "keys_url": { + "type": "string", + "description": "A template for the API URL to get information about deploy keys on the repository." + }, + "labels_url": { + "type": "string", + "description": "A template for the API URL to get information about labels of the repository." + }, + "languages_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about the languages of the repository." + }, + "merges_url": { + "type": "string", + "format": "uri", + "description": "The API URL to merge branches in the repository." + }, + "milestones_url": { + "type": "string", + "description": "A template for the API URL to get information about milestones of the repository." + }, + "notifications_url": { + "type": "string", + "description": "A template for the API URL to get information about notifications on the repository." + }, + "pulls_url": { + "type": "string", + "description": "A template for the API URL to get information about pull requests on the repository." + }, + "releases_url": { + "type": "string", + "description": "A template for the API URL to get information about releases on the repository." + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the stargazers on the repository." + }, + "statuses_url": { + "type": "string", + "description": "A template for the API URL to get information about statuses of a commit." + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the subscribers on the repository." + }, + "subscription_url": { + "type": "string", + "format": "uri", + "description": "The API URL to subscribe to notifications for this repository." + }, + "tags_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about tags on the repository." + }, + "teams_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the teams on the repository." + }, + "trees_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." + }, + "hooks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the hooks on the repository." + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ] + } + ] + } + } + }, + "additionalProperties": false + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "

OK

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

Forbidden

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

Resource not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Enterprise administration\" enterprise permissions": "read" + } + ] + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "patch", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access", + "title": "Updates Dependabot's repository access list for an enterprise", + "category": "dependabot", + "subcategory": "repository-access", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [ + { + "type": "array of integers", + "name": "repository_ids_to_add", + "description": "

List of repository IDs to add.

" + }, + { + "type": "array of integers", + "name": "repository_ids_to_remove", + "description": "

List of repository IDs to remove.

" + } + ], + "descriptionHTML": "

Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise.

\n

The authenticated user must be an enterprise owner to use this endpoint.

\n

Example request body:

\n
{\n  \"repository_ids_to_add\": [123, 456],\n  \"repository_ids_to_remove\": [789]\n}\n
", + "codeExamples": [ + { + "request": { + "contentType": "application/json", + "description": "Example with a 'succeeded' status.", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "enterprise": "ENTERPRISE" + } + }, + "response": { + "statusCode": "204", + "description": "

Response

" + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "204", + "description": "

No Content

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

Forbidden

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

Resource not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Enterprise administration\" enterprise permissions": "write" + } + ] + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "put", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access/default-level", + "title": "Set the default repository access level for Dependabot in an enterprise", + "category": "dependabot", + "subcategory": "repository-access", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [ + { + "type": "string", + "name": "default_level", + "description": "

The default repository access level for Dependabot updates.

", + "isRequired": true, + "enum": [ + "public", + "internal" + ] + } + ], + "descriptionHTML": "

Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are:

\n
    \n
  • 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.
  • \n
  • 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.
  • \n
\n

The authenticated user must be an enterprise owner to use this endpoint.

", + "codeExamples": [ + { + "request": { + "contentType": "application/json", + "description": "Example with a 'succeeded' status.", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "default_level": "public" + }, + "parameters": { + "enterprise": "ENTERPRISE" + } + }, + "response": { + "statusCode": "204", + "description": "

Response

" + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "204", + "description": "

No Content

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

Forbidden

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

Resource not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Enterprise administration\" enterprise permissions": "write" + } + ] + } + }, { "serverUrl": "https://api.github.com", "verb": "get", diff --git a/src/rest/data/ghec-2022-11-28/code-security.json b/src/rest/data/ghec-2022-11-28/code-security.json index a368c04b2211..0a3480e5a2f5 100644 --- a/src/rest/data/ghec-2022-11-28/code-security.json +++ b/src/rest/data/ghec-2022-11-28/code-security.json @@ -5540,7 +5540,8 @@ { "type": "array of integers", "name": "selected_repository_ids", - "description": "

An array of repository IDs to detach from configurations. Up to 250 IDs can be provided.

" + "description": "

An array of repository IDs to detach from configurations. Up to 250 IDs can be provided.

", + "isRequired": true } ], "descriptionHTML": "

Detach code security configuration(s) from a set of repositories.\nRepositories will retain their settings but will no longer be associated with the configuration.

\n

The authenticated user must be an administrator or security manager for the organization to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the write:org scope to use this endpoint.

", diff --git a/src/rest/data/ghec-2022-11-28/dependabot.json b/src/rest/data/ghec-2022-11-28/dependabot.json index ec969b68e554..fd27b35ce09f 100644 --- a/src/rest/data/ghec-2022-11-28/dependabot.json +++ b/src/rest/data/ghec-2022-11-28/dependabot.json @@ -9167,6 +9167,711 @@ } ], "repository-access": [ + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access", + "title": "Lists the repositories Dependabot can access in an enterprise", + "category": "dependabot", + "subcategory": "repository-access", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page", + "in": "query", + "description": "

The page number of results to fetch.

", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "

Number of results per page.

", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } + } + ], + "bodyParameters": [], + "descriptionHTML": "

Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise.

\n

The authenticated user must be an enterprise owner to use this endpoint.

", + "codeExamples": [ + { + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "enterprise": "ENTERPRISE" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "

Response

", + "example": { + "default_level": "public", + "accessible_repositories": [ + { + "id": 123456, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", + "name": "example-repo", + "full_name": "octocat/example-repo", + "owner": { + "name": "octocat", + "email": "octo@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", + "gravatar_id": 1, + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat/example-repo", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false, + "starred_at": "\"2020-07-09T00:17:55Z\"", + "user_view_type": "default" + }, + "private": false, + "html_url": "https://github.com/octocat/example-repo", + "description": "This is an example repository.", + "fork": false, + "url": "https://api.github.com/repos/octocat/example-repo", + "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", + "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/example-repo/events", + "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", + "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" + } + ] + }, + "schema": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": [ + "string", + "null" + ], + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal", + null + ] + }, + "accessible_repositories": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "A unique identifier of the repository." + }, + "node_id": { + "type": "string", + "description": "The GraphQL identifier of the repository." + }, + "name": { + "type": "string", + "description": "The name of the repository." + }, + "full_name": { + "type": "string", + "description": "The full, globally unique, name of the repository." + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "avatar_url": { + "type": "string", + "format": "uri" + }, + "gravatar_id": { + "type": [ + "string", + "null" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The URL to view the repository on GitHub.com." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The repository description." + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL to get more information about the repository from the GitHub API." + }, + "archive_url": { + "type": "string", + "description": "A template for the API URL to download the repository as an archive." + }, + "assignees_url": { + "type": "string", + "description": "A template for the API URL to list the available assignees for issues in the repository." + }, + "blobs_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." + }, + "branches_url": { + "type": "string", + "description": "A template for the API URL to get information about branches in the repository." + }, + "collaborators_url": { + "type": "string", + "description": "A template for the API URL to get information about collaborators of the repository." + }, + "comments_url": { + "type": "string", + "description": "A template for the API URL to get information about comments on the repository." + }, + "commits_url": { + "type": "string", + "description": "A template for the API URL to get information about commits on the repository." + }, + "compare_url": { + "type": "string", + "description": "A template for the API URL to compare two commits or refs." + }, + "contents_url": { + "type": "string", + "description": "A template for the API URL to get the contents of the repository." + }, + "contributors_url": { + "type": "string", + "format": "uri", + "description": "A template for the API URL to list the contributors to the repository." + }, + "deployments_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the deployments of the repository." + }, + "downloads_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the downloads on the repository." + }, + "events_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the events of the repository." + }, + "forks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the forks of the repository." + }, + "git_commits_url": { + "type": "string", + "description": "A template for the API URL to get information about Git commits of the repository." + }, + "git_refs_url": { + "type": "string", + "description": "A template for the API URL to get information about Git refs of the repository." + }, + "git_tags_url": { + "type": "string", + "description": "A template for the API URL to get information about Git tags of the repository." + }, + "issue_comment_url": { + "type": "string", + "description": "A template for the API URL to get information about issue comments on the repository." + }, + "issue_events_url": { + "type": "string", + "description": "A template for the API URL to get information about issue events on the repository." + }, + "issues_url": { + "type": "string", + "description": "A template for the API URL to get information about issues on the repository." + }, + "keys_url": { + "type": "string", + "description": "A template for the API URL to get information about deploy keys on the repository." + }, + "labels_url": { + "type": "string", + "description": "A template for the API URL to get information about labels of the repository." + }, + "languages_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about the languages of the repository." + }, + "merges_url": { + "type": "string", + "format": "uri", + "description": "The API URL to merge branches in the repository." + }, + "milestones_url": { + "type": "string", + "description": "A template for the API URL to get information about milestones of the repository." + }, + "notifications_url": { + "type": "string", + "description": "A template for the API URL to get information about notifications on the repository." + }, + "pulls_url": { + "type": "string", + "description": "A template for the API URL to get information about pull requests on the repository." + }, + "releases_url": { + "type": "string", + "description": "A template for the API URL to get information about releases on the repository." + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the stargazers on the repository." + }, + "statuses_url": { + "type": "string", + "description": "A template for the API URL to get information about statuses of a commit." + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the subscribers on the repository." + }, + "subscription_url": { + "type": "string", + "format": "uri", + "description": "The API URL to subscribe to notifications for this repository." + }, + "tags_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about tags on the repository." + }, + "teams_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the teams on the repository." + }, + "trees_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." + }, + "hooks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the hooks on the repository." + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ] + } + ] + } + } + }, + "additionalProperties": false + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "

OK

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

Forbidden

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

Resource not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Enterprise administration\" enterprise permissions": "read" + } + ] + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "patch", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access", + "title": "Updates Dependabot's repository access list for an enterprise", + "category": "dependabot", + "subcategory": "repository-access", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [ + { + "type": "array of integers", + "name": "repository_ids_to_add", + "description": "

List of repository IDs to add.

" + }, + { + "type": "array of integers", + "name": "repository_ids_to_remove", + "description": "

List of repository IDs to remove.

" + } + ], + "descriptionHTML": "

Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise.

\n

The authenticated user must be an enterprise owner to use this endpoint.

\n

Example request body:

\n
{\n  \"repository_ids_to_add\": [123, 456],\n  \"repository_ids_to_remove\": [789]\n}\n
", + "codeExamples": [ + { + "request": { + "contentType": "application/json", + "description": "Example with a 'succeeded' status.", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "enterprise": "ENTERPRISE" + } + }, + "response": { + "statusCode": "204", + "description": "

Response

" + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "204", + "description": "

No Content

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

Forbidden

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

Resource not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Enterprise administration\" enterprise permissions": "write" + } + ] + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "put", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access/default-level", + "title": "Set the default repository access level for Dependabot in an enterprise", + "category": "dependabot", + "subcategory": "repository-access", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [ + { + "type": "string", + "name": "default_level", + "description": "

The default repository access level for Dependabot updates.

", + "isRequired": true, + "enum": [ + "public", + "internal" + ] + } + ], + "descriptionHTML": "

Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are:

\n
    \n
  • 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.
  • \n
  • 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.
  • \n
\n

The authenticated user must be an enterprise owner to use this endpoint.

", + "codeExamples": [ + { + "request": { + "contentType": "application/json", + "description": "Example with a 'succeeded' status.", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "default_level": "public" + }, + "parameters": { + "enterprise": "ENTERPRISE" + } + }, + "response": { + "statusCode": "204", + "description": "

Response

" + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "204", + "description": "

No Content

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

Forbidden

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

Resource not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Enterprise administration\" enterprise permissions": "write" + } + ] + } + }, { "serverUrl": "https://api.github.com", "verb": "get", diff --git a/src/rest/data/ghec-2026-03-10/code-security.json b/src/rest/data/ghec-2026-03-10/code-security.json index a368c04b2211..0a3480e5a2f5 100644 --- a/src/rest/data/ghec-2026-03-10/code-security.json +++ b/src/rest/data/ghec-2026-03-10/code-security.json @@ -5540,7 +5540,8 @@ { "type": "array of integers", "name": "selected_repository_ids", - "description": "

An array of repository IDs to detach from configurations. Up to 250 IDs can be provided.

" + "description": "

An array of repository IDs to detach from configurations. Up to 250 IDs can be provided.

", + "isRequired": true } ], "descriptionHTML": "

Detach code security configuration(s) from a set of repositories.\nRepositories will retain their settings but will no longer be associated with the configuration.

\n

The authenticated user must be an administrator or security manager for the organization to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the write:org scope to use this endpoint.

", diff --git a/src/rest/data/ghec-2026-03-10/dependabot.json b/src/rest/data/ghec-2026-03-10/dependabot.json index 725299dba9cc..2c3c9f1e5e49 100644 --- a/src/rest/data/ghec-2026-03-10/dependabot.json +++ b/src/rest/data/ghec-2026-03-10/dependabot.json @@ -9027,6 +9027,711 @@ } ], "repository-access": [ + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access", + "title": "Lists the repositories Dependabot can access in an enterprise", + "category": "dependabot", + "subcategory": "repository-access", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "page", + "in": "query", + "description": "

The page number of results to fetch.

", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "default": 1 + } + }, + { + "name": "per_page", + "in": "query", + "description": "

Number of results per page.

", + "required": false, + "schema": { + "type": "integer", + "minimum": 1, + "maximum": 100, + "default": 30 + } + } + ], + "bodyParameters": [], + "descriptionHTML": "

Lists repositories that enterprise admins have allowed Dependabot to access when updating dependencies across organizations in the enterprise.

\n

The authenticated user must be an enterprise owner to use this endpoint.

", + "codeExamples": [ + { + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "enterprise": "ENTERPRISE" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "

Response

", + "example": { + "default_level": "public", + "accessible_repositories": [ + { + "id": 123456, + "node_id": "MDEwOlJlcG9zaXRvcnkxMjM0NTY=", + "name": "example-repo", + "full_name": "octocat/example-repo", + "owner": { + "name": "octocat", + "email": "octo@github.com", + "login": "octocat", + "id": 1, + "node_id": "MDQ6VXNlcjE=", + "avatar_url": "https://avatars.githubusercontent.com/u/1?v=4", + "gravatar_id": 1, + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat/example-repo", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": false, + "starred_at": "\"2020-07-09T00:17:55Z\"", + "user_view_type": "default" + }, + "private": false, + "html_url": "https://github.com/octocat/example-repo", + "description": "This is an example repository.", + "fork": false, + "url": "https://api.github.com/repos/octocat/example-repo", + "archive_url": "https://api.github.com/repos/octocat/example-repo/{archive_format}{/ref}", + "assignees_url": "https://api.github.com/repos/octocat/example-repo/assignees{/user}", + "blobs_url": "https://api.github.com/repos/octocat/example-repo/git/blobs{/sha}", + "branches_url": "https://api.github.com/repos/octocat/example-repo/branches{/branch}", + "collaborators_url": "https://api.github.com/repos/octocat/example-repo/collaborators{/collaborator}", + "comments_url": "https://api.github.com/repos/octocat/example-repo/comments{/number}", + "commits_url": "https://api.github.com/repos/octocat/example-repo/commits{/sha}", + "compare_url": "https://api.github.com/repos/octocat/example-repo/compare/{base}...{head}", + "contents_url": "https://api.github.com/repos/octocat/example-repo/contents/{+path}", + "contributors_url": "https://api.github.com/repos/octocat/example-repo/contributors", + "deployments_url": "https://api.github.com/repos/octocat/example-repo/deployments", + "downloads_url": "https://api.github.com/repos/octocat/example-repo/downloads", + "events_url": "https://api.github.com/repos/octocat/example-repo/events", + "forks_url": "https://api.github.com/repos/octocat/example-repo/forks", + "git_commits_url": "https://api.github.com/repos/octocat/example-repo/git/commits{/sha}", + "git_refs_url": "https://api.github.com/repos/octocat/example-repo/git/refs{/sha}", + "git_tags_url": "https://api.github.com/repos/octocat/example-repo/git/tags{/sha}", + "issue_comment_url": "https://api.github.com/repos/octocat/example-repo/issues/comments{/number}", + "issue_events_url": "https://api.github.com/repos/octocat/example-repo/issues/events{/number}", + "issues_url": "https://api.github.com/repos/octocat/example-repo/issues{/number}", + "keys_url": "https://api.github.com/repos/octocat/example-repo/keys{/key_id}", + "labels_url": "https://api.github.com/repos/octocat/example-repo/labels{/name}", + "languages_url": "https://api.github.com/repos/octocat/example-repo/languages", + "merges_url": "https://api.github.com/repos/octocat/example-repo/merges", + "milestones_url": "https://api.github.com/repos/octocat/example-repo/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octocat/example-repo/notifications{?since,all,participating}", + "pulls_url": "https://api.github.com/repos/octocat/example-repo/pulls{/number}", + "releases_url": "https://api.github.com/repos/octocat/example-repo/releases{/id}", + "stargazers_url": "https://api.github.com/repos/octocat/example-repo/stargazers", + "statuses_url": "https://api.github.com/repos/octocat/example-repo/statuses/{sha}", + "subscribers_url": "https://api.github.com/repos/octocat/example-repo/subscribers", + "subscription_url": "https://api.github.com/repos/octocat/example-repo/subscription", + "tags_url": "https://api.github.com/repos/octocat/example-repo/tags", + "teams_url": "https://api.github.com/repos/octocat/example-repo/teams", + "trees_url": "https://api.github.com/repos/octocat/example-repo/git/trees{/sha}", + "hooks_url": "https://api.github.com/repos/octocat/example-repo/hooks" + } + ] + }, + "schema": { + "title": "Dependabot Repository Access Details", + "description": "Information about repositories that Dependabot is able to access in an organization", + "type": "object", + "properties": { + "default_level": { + "type": [ + "string", + "null" + ], + "description": "The default repository access level for Dependabot updates.", + "enum": [ + "public", + "internal", + null + ] + }, + "accessible_repositories": { + "type": "array", + "items": { + "anyOf": [ + { + "type": "null" + }, + { + "title": "Simple Repository", + "description": "A GitHub repository.", + "type": "object", + "properties": { + "id": { + "type": "integer", + "format": "int64", + "description": "A unique identifier of the repository." + }, + "node_id": { + "type": "string", + "description": "The GraphQL identifier of the repository." + }, + "name": { + "type": "string", + "description": "The name of the repository." + }, + "full_name": { + "type": "string", + "description": "The full, globally unique, name of the repository." + }, + "owner": { + "title": "Simple User", + "description": "A GitHub user.", + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ] + }, + "email": { + "type": [ + "string", + "null" + ] + }, + "login": { + "type": "string" + }, + "id": { + "type": "integer", + "format": "int64" + }, + "node_id": { + "type": "string" + }, + "avatar_url": { + "type": "string", + "format": "uri" + }, + "gravatar_id": { + "type": [ + "string", + "null" + ] + }, + "url": { + "type": "string", + "format": "uri" + }, + "html_url": { + "type": "string", + "format": "uri" + }, + "followers_url": { + "type": "string", + "format": "uri" + }, + "following_url": { + "type": "string" + }, + "gists_url": { + "type": "string" + }, + "starred_url": { + "type": "string" + }, + "subscriptions_url": { + "type": "string", + "format": "uri" + }, + "organizations_url": { + "type": "string", + "format": "uri" + }, + "repos_url": { + "type": "string", + "format": "uri" + }, + "events_url": { + "type": "string" + }, + "received_events_url": { + "type": "string", + "format": "uri" + }, + "type": { + "type": "string" + }, + "site_admin": { + "type": "boolean" + }, + "starred_at": { + "type": "string" + }, + "user_view_type": { + "type": "string" + } + }, + "required": [ + "avatar_url", + "events_url", + "followers_url", + "following_url", + "gists_url", + "gravatar_id", + "html_url", + "id", + "node_id", + "login", + "organizations_url", + "received_events_url", + "repos_url", + "site_admin", + "starred_url", + "subscriptions_url", + "type", + "url" + ] + }, + "private": { + "type": "boolean", + "description": "Whether the repository is private." + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The URL to view the repository on GitHub.com." + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "The repository description." + }, + "fork": { + "type": "boolean", + "description": "Whether the repository is a fork." + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL to get more information about the repository from the GitHub API." + }, + "archive_url": { + "type": "string", + "description": "A template for the API URL to download the repository as an archive." + }, + "assignees_url": { + "type": "string", + "description": "A template for the API URL to list the available assignees for issues in the repository." + }, + "blobs_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git blob in the repository." + }, + "branches_url": { + "type": "string", + "description": "A template for the API URL to get information about branches in the repository." + }, + "collaborators_url": { + "type": "string", + "description": "A template for the API URL to get information about collaborators of the repository." + }, + "comments_url": { + "type": "string", + "description": "A template for the API URL to get information about comments on the repository." + }, + "commits_url": { + "type": "string", + "description": "A template for the API URL to get information about commits on the repository." + }, + "compare_url": { + "type": "string", + "description": "A template for the API URL to compare two commits or refs." + }, + "contents_url": { + "type": "string", + "description": "A template for the API URL to get the contents of the repository." + }, + "contributors_url": { + "type": "string", + "format": "uri", + "description": "A template for the API URL to list the contributors to the repository." + }, + "deployments_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the deployments of the repository." + }, + "downloads_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the downloads on the repository." + }, + "events_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the events of the repository." + }, + "forks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the forks of the repository." + }, + "git_commits_url": { + "type": "string", + "description": "A template for the API URL to get information about Git commits of the repository." + }, + "git_refs_url": { + "type": "string", + "description": "A template for the API URL to get information about Git refs of the repository." + }, + "git_tags_url": { + "type": "string", + "description": "A template for the API URL to get information about Git tags of the repository." + }, + "issue_comment_url": { + "type": "string", + "description": "A template for the API URL to get information about issue comments on the repository." + }, + "issue_events_url": { + "type": "string", + "description": "A template for the API URL to get information about issue events on the repository." + }, + "issues_url": { + "type": "string", + "description": "A template for the API URL to get information about issues on the repository." + }, + "keys_url": { + "type": "string", + "description": "A template for the API URL to get information about deploy keys on the repository." + }, + "labels_url": { + "type": "string", + "description": "A template for the API URL to get information about labels of the repository." + }, + "languages_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about the languages of the repository." + }, + "merges_url": { + "type": "string", + "format": "uri", + "description": "The API URL to merge branches in the repository." + }, + "milestones_url": { + "type": "string", + "description": "A template for the API URL to get information about milestones of the repository." + }, + "notifications_url": { + "type": "string", + "description": "A template for the API URL to get information about notifications on the repository." + }, + "pulls_url": { + "type": "string", + "description": "A template for the API URL to get information about pull requests on the repository." + }, + "releases_url": { + "type": "string", + "description": "A template for the API URL to get information about releases on the repository." + }, + "stargazers_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the stargazers on the repository." + }, + "statuses_url": { + "type": "string", + "description": "A template for the API URL to get information about statuses of a commit." + }, + "subscribers_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the subscribers on the repository." + }, + "subscription_url": { + "type": "string", + "format": "uri", + "description": "The API URL to subscribe to notifications for this repository." + }, + "tags_url": { + "type": "string", + "format": "uri", + "description": "The API URL to get information about tags on the repository." + }, + "teams_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the teams on the repository." + }, + "trees_url": { + "type": "string", + "description": "A template for the API URL to create or retrieve a raw Git tree of the repository." + }, + "hooks_url": { + "type": "string", + "format": "uri", + "description": "The API URL to list the hooks on the repository." + } + }, + "required": [ + "archive_url", + "assignees_url", + "blobs_url", + "branches_url", + "collaborators_url", + "comments_url", + "commits_url", + "compare_url", + "contents_url", + "contributors_url", + "deployments_url", + "description", + "downloads_url", + "events_url", + "fork", + "forks_url", + "full_name", + "git_commits_url", + "git_refs_url", + "git_tags_url", + "hooks_url", + "html_url", + "id", + "node_id", + "issue_comment_url", + "issue_events_url", + "issues_url", + "keys_url", + "labels_url", + "languages_url", + "merges_url", + "milestones_url", + "name", + "notifications_url", + "owner", + "private", + "pulls_url", + "releases_url", + "stargazers_url", + "statuses_url", + "subscribers_url", + "subscription_url", + "tags_url", + "teams_url", + "trees_url", + "url" + ] + } + ] + } + } + }, + "additionalProperties": false + } + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "

OK

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

Forbidden

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

Resource not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Enterprise administration\" enterprise permissions": "read" + } + ] + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "patch", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access", + "title": "Updates Dependabot's repository access list for an enterprise", + "category": "dependabot", + "subcategory": "repository-access", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [ + { + "type": "array of integers", + "name": "repository_ids_to_add", + "description": "

List of repository IDs to add.

" + }, + { + "type": "array of integers", + "name": "repository_ids_to_remove", + "description": "

List of repository IDs to remove.

" + } + ], + "descriptionHTML": "

Updates repositories according to the list of repositories that enterprise admins have given Dependabot access to when they've updated dependencies across organizations in the enterprise.

\n

The authenticated user must be an enterprise owner to use this endpoint.

\n

Example request body:

\n
{\n  \"repository_ids_to_add\": [123, 456],\n  \"repository_ids_to_remove\": [789]\n}\n
", + "codeExamples": [ + { + "request": { + "contentType": "application/json", + "description": "Example with a 'succeeded' status.", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "enterprise": "ENTERPRISE" + } + }, + "response": { + "statusCode": "204", + "description": "

Response

" + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "204", + "description": "

No Content

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

Forbidden

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

Resource not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Enterprise administration\" enterprise permissions": "write" + } + ] + } + }, + { + "serverUrl": "https://api.github.com", + "verb": "put", + "requestPath": "/enterprises/{enterprise}/dependabot/repository-access/default-level", + "title": "Set the default repository access level for Dependabot in an enterprise", + "category": "dependabot", + "subcategory": "repository-access", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [ + { + "type": "string", + "name": "default_level", + "description": "

The default repository access level for Dependabot updates.

", + "isRequired": true, + "enum": [ + "public", + "internal" + ] + } + ], + "descriptionHTML": "

Sets the default level of repository access Dependabot will have while performing an update across organizations in the enterprise. Available values are:

\n
    \n
  • 'public' - Dependabot will only have access to public repositories, unless access is explicitly granted to non-public repositories.
  • \n
  • 'internal' - Dependabot will only have access to public and internal repositories, unless access is explicitly granted to private repositories.
  • \n
\n

The authenticated user must be an enterprise owner to use this endpoint.

", + "codeExamples": [ + { + "request": { + "contentType": "application/json", + "description": "Example with a 'succeeded' status.", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "default_level": "public" + }, + "parameters": { + "enterprise": "ENTERPRISE" + } + }, + "response": { + "statusCode": "204", + "description": "

Response

" + } + } + ], + "statusCodes": [ + { + "httpStatusCode": "204", + "description": "

No Content

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

Forbidden

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

Resource not found

" + } + ], + "previews": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Enterprise administration\" enterprise permissions": "write" + } + ] + } + }, { "serverUrl": "https://api.github.com", "verb": "get", diff --git a/src/rest/data/ghes-3.15-2022-11-28/code-security.json b/src/rest/data/ghes-3.15-2022-11-28/code-security.json index cdba40a91e76..e16fda2b812c 100644 --- a/src/rest/data/ghes-3.15-2022-11-28/code-security.json +++ b/src/rest/data/ghes-3.15-2022-11-28/code-security.json @@ -1099,7 +1099,8 @@ { "type": "array of integers", "name": "selected_repository_ids", - "description": "

An array of repository IDs to detach from configurations.

" + "description": "

An array of repository IDs to detach from configurations.

", + "isRequired": true } ], "descriptionHTML": "

Detach code security configuration(s) from a set of repositories.\nRepositories will retain their settings but will no longer be associated with the configuration.

\n

The authenticated user must be an administrator or security manager for the organization to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the write:org scope to use this endpoint.

", diff --git a/src/rest/data/ghes-3.16-2022-11-28/code-security.json b/src/rest/data/ghes-3.16-2022-11-28/code-security.json index 4c8beea43580..56f9db3e5a89 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/code-security.json +++ b/src/rest/data/ghes-3.16-2022-11-28/code-security.json @@ -4157,7 +4157,8 @@ { "type": "array of integers", "name": "selected_repository_ids", - "description": "

An array of repository IDs to detach from configurations.

" + "description": "

An array of repository IDs to detach from configurations.

", + "isRequired": true } ], "descriptionHTML": "

Detach code security configuration(s) from a set of repositories.\nRepositories will retain their settings but will no longer be associated with the configuration.

\n

The authenticated user must be an administrator or security manager for the organization to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the write:org scope to use this endpoint.

", diff --git a/src/rest/data/ghes-3.17-2022-11-28/code-security.json b/src/rest/data/ghes-3.17-2022-11-28/code-security.json index e1eb713eefc0..c1bca965a628 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/code-security.json +++ b/src/rest/data/ghes-3.17-2022-11-28/code-security.json @@ -4541,7 +4541,8 @@ { "type": "array of integers", "name": "selected_repository_ids", - "description": "

An array of repository IDs to detach from configurations.

" + "description": "

An array of repository IDs to detach from configurations.

", + "isRequired": true } ], "descriptionHTML": "

Detach code security configuration(s) from a set of repositories.\nRepositories will retain their settings but will no longer be associated with the configuration.

\n

The authenticated user must be an administrator or security manager for the organization to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the write:org scope to use this endpoint.

", diff --git a/src/rest/data/ghes-3.18-2022-11-28/code-security.json b/src/rest/data/ghes-3.18-2022-11-28/code-security.json index e9e7fb6cdaa7..4028491cb548 100644 --- a/src/rest/data/ghes-3.18-2022-11-28/code-security.json +++ b/src/rest/data/ghes-3.18-2022-11-28/code-security.json @@ -4541,7 +4541,8 @@ { "type": "array of integers", "name": "selected_repository_ids", - "description": "

An array of repository IDs to detach from configurations.

" + "description": "

An array of repository IDs to detach from configurations.

", + "isRequired": true } ], "descriptionHTML": "

Detach code security configuration(s) from a set of repositories.\nRepositories will retain their settings but will no longer be associated with the configuration.

\n

The authenticated user must be an administrator or security manager for the organization to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the write:org scope to use this endpoint.

", diff --git a/src/rest/data/ghes-3.19-2022-11-28/code-security.json b/src/rest/data/ghes-3.19-2022-11-28/code-security.json index 190db86b8cd2..99b928b55960 100644 --- a/src/rest/data/ghes-3.19-2022-11-28/code-security.json +++ b/src/rest/data/ghes-3.19-2022-11-28/code-security.json @@ -4775,7 +4775,8 @@ { "type": "array of integers", "name": "selected_repository_ids", - "description": "

An array of repository IDs to detach from configurations. Up to 250 IDs can be provided.

" + "description": "

An array of repository IDs to detach from configurations. Up to 250 IDs can be provided.

", + "isRequired": true } ], "descriptionHTML": "

Detach code security configuration(s) from a set of repositories.\nRepositories will retain their settings but will no longer be associated with the configuration.

\n

The authenticated user must be an administrator or security manager for the organization to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the write:org scope to use this endpoint.

", diff --git a/src/rest/data/ghes-3.20-2022-11-28/code-security.json b/src/rest/data/ghes-3.20-2022-11-28/code-security.json index 45823a357ecf..3e45483efa07 100644 --- a/src/rest/data/ghes-3.20-2022-11-28/code-security.json +++ b/src/rest/data/ghes-3.20-2022-11-28/code-security.json @@ -4775,7 +4775,8 @@ { "type": "array of integers", "name": "selected_repository_ids", - "description": "

An array of repository IDs to detach from configurations. Up to 250 IDs can be provided.

" + "description": "

An array of repository IDs to detach from configurations. Up to 250 IDs can be provided.

", + "isRequired": true } ], "descriptionHTML": "

Detach code security configuration(s) from a set of repositories.\nRepositories will retain their settings but will no longer be associated with the configuration.

\n

The authenticated user must be an administrator or security manager for the organization to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the write:org scope to use this endpoint.

", diff --git a/src/rest/lib/config.json b/src/rest/lib/config.json index ee9c22a1ad7d..efa87951b6c4 100644 --- a/src/rest/lib/config.json +++ b/src/rest/lib/config.json @@ -55,5 +55,5 @@ ] } }, - "sha": "f36e195596ae01265fd31528bad607aa2bffd1c8" + "sha": "ed0da17e9a4a1937de02bc311a9286009ccb7e2b" } \ No newline at end of file diff --git a/src/webhooks/data/fpt/check_run.json b/src/webhooks/data/fpt/check_run.json index e5146e83133a..9ad8c71f01f6 100644 --- a/src/webhooks/data/fpt/check_run.json +++ b/src/webhooks/data/fpt/check_run.json @@ -1360,11 +1360,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -1719,6 +1714,16 @@ "TEAM", "ROLE" ] + }, + { + "type": "string", + "name": "mode", + "description": "

The bypass mode for the reviewer

", + "enum": [ + "ALWAYS", + "EXEMPT" + ], + "default": "ALWAYS" } ] } @@ -3496,11 +3501,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -3855,6 +3855,16 @@ "TEAM", "ROLE" ] + }, + { + "type": "string", + "name": "mode", + "description": "

The bypass mode for the reviewer

", + "enum": [ + "ALWAYS", + "EXEMPT" + ], + "default": "ALWAYS" } ] } @@ -5633,11 +5643,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -5992,6 +5997,16 @@ "TEAM", "ROLE" ] + }, + { + "type": "string", + "name": "mode", + "description": "

The bypass mode for the reviewer

", + "enum": [ + "ALWAYS", + "EXEMPT" + ], + "default": "ALWAYS" } ] } @@ -7781,11 +7796,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -8140,6 +8150,16 @@ "TEAM", "ROLE" ] + }, + { + "type": "string", + "name": "mode", + "description": "

The bypass mode for the reviewer

", + "enum": [ + "ALWAYS", + "EXEMPT" + ], + "default": "ALWAYS" } ] } diff --git a/src/webhooks/data/fpt/dependabot_alert.json b/src/webhooks/data/fpt/dependabot_alert.json index cde395b3ad3c..5d4ca0571ce4 100644 --- a/src/webhooks/data/fpt/dependabot_alert.json +++ b/src/webhooks/data/fpt/dependabot_alert.json @@ -85,6 +85,7 @@ "unknown", "direct", "transitive", + "inconclusive", null ] } @@ -192,6 +193,15 @@ "critical" ] }, + { + "type": "string", + "name": "classification", + "description": "

The classification of the advisory.

", + "enum": [ + "general", + "malware" + ] + }, { "type": "object", "name": "cvss", @@ -923,6 +933,7 @@ "unknown", "direct", "transitive", + "inconclusive", null ] } @@ -1030,6 +1041,15 @@ "critical" ] }, + { + "type": "string", + "name": "classification", + "description": "

The classification of the advisory.

", + "enum": [ + "general", + "malware" + ] + }, { "type": "object", "name": "cvss", @@ -1761,6 +1781,7 @@ "unknown", "direct", "transitive", + "inconclusive", null ] } @@ -1868,6 +1889,15 @@ "critical" ] }, + { + "type": "string", + "name": "classification", + "description": "

The classification of the advisory.

", + "enum": [ + "general", + "malware" + ] + }, { "type": "object", "name": "cvss", @@ -2599,6 +2629,7 @@ "unknown", "direct", "transitive", + "inconclusive", null ] } @@ -2706,6 +2737,15 @@ "critical" ] }, + { + "type": "string", + "name": "classification", + "description": "

The classification of the advisory.

", + "enum": [ + "general", + "malware" + ] + }, { "type": "object", "name": "cvss", @@ -3437,6 +3477,7 @@ "unknown", "direct", "transitive", + "inconclusive", null ] } @@ -3544,6 +3585,15 @@ "critical" ] }, + { + "type": "string", + "name": "classification", + "description": "

The classification of the advisory.

", + "enum": [ + "general", + "malware" + ] + }, { "type": "object", "name": "cvss", @@ -4275,6 +4325,7 @@ "unknown", "direct", "transitive", + "inconclusive", null ] } @@ -4382,6 +4433,15 @@ "critical" ] }, + { + "type": "string", + "name": "classification", + "description": "

The classification of the advisory.

", + "enum": [ + "general", + "malware" + ] + }, { "type": "object", "name": "cvss", @@ -5113,6 +5173,7 @@ "unknown", "direct", "transitive", + "inconclusive", null ] } @@ -5220,6 +5281,15 @@ "critical" ] }, + { + "type": "string", + "name": "classification", + "description": "

The classification of the advisory.

", + "enum": [ + "general", + "malware" + ] + }, { "type": "object", "name": "cvss", @@ -5951,6 +6021,7 @@ "unknown", "direct", "transitive", + "inconclusive", null ] } @@ -6058,6 +6129,15 @@ "critical" ] }, + { + "type": "string", + "name": "classification", + "description": "

The classification of the advisory.

", + "enum": [ + "general", + "malware" + ] + }, { "type": "object", "name": "cvss", diff --git a/src/webhooks/data/fpt/deployment_protection_rule.json b/src/webhooks/data/fpt/deployment_protection_rule.json index ecb85f914c20..383604aeb781 100644 --- a/src/webhooks/data/fpt/deployment_protection_rule.json +++ b/src/webhooks/data/fpt/deployment_protection_rule.json @@ -2016,12 +2016,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -3004,12 +2998,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/fpt/discussion.json b/src/webhooks/data/fpt/discussion.json index 488ca3d086a3..e44cdc1820a7 100644 --- a/src/webhooks/data/fpt/discussion.json +++ b/src/webhooks/data/fpt/discussion.json @@ -8073,12 +8073,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/fpt/issue_dependencies.json b/src/webhooks/data/fpt/issue_dependencies.json index f32daf30409e..9d0253a6265f 100644 --- a/src/webhooks/data/fpt/issue_dependencies.json +++ b/src/webhooks/data/fpt/issue_dependencies.json @@ -1686,12 +1686,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -4192,12 +4186,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -5665,12 +5653,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -7573,12 +7555,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -10079,12 +10055,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -11552,12 +11522,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -13460,12 +13424,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -14933,12 +14891,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -16791,12 +16743,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -19347,12 +19293,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -20820,12 +20760,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -22678,12 +22612,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/fpt/issues.json b/src/webhooks/data/fpt/issues.json index 7eaae8ec0adb..eee08b7a5a3e 100644 --- a/src/webhooks/data/fpt/issues.json +++ b/src/webhooks/data/fpt/issues.json @@ -9543,6 +9543,4165 @@ "action": "edited", "category": "issues" }, + "field_added": { + "descriptionHtml": "

An issue field value was set or updated on an issue.

", + "summaryHtml": "

This event occurs when there is activity relating to an issue. For more information about issues, see \"About issues.\" For information about the APIs to manage issues, see the GraphQL documentation or \"Issues\" in the REST API documentation.

\n

For activity relating to a comment on an issue, use the issue_comment event.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.

", + "bodyParameters": [ + { + "type": "string", + "name": "action", + "description": "", + "isRequired": true, + "enum": [ + "field_added" + ], + "childParamsGroups": [] + }, + { + "type": "object", + "name": "enterprise", + "description": "

An enterprise on GitHub. Webhook payloads contain the enterprise property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"About enterprise accounts.\"

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "installation", + "description": "

The GitHub App installation. Webhook payloads contain the installation property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"Using webhooks with GitHub Apps.\"

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "issue", + "description": "

The issue itself.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string or null", + "name": "active_lock_reason", + "description": "", + "isRequired": true, + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + { + "type": "object or null", + "name": "assignee", + "description": "", + "childParamsGroups": [ + { + "type": "string", + "name": "avatar_url", + "description": "" + }, + { + "type": "boolean", + "name": "deleted", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "followers_url", + "description": "" + }, + { + "type": "string", + "name": "following_url", + "description": "" + }, + { + "type": "string", + "name": "gists_url", + "description": "" + }, + { + "type": "string", + "name": "gravatar_id", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "organizations_url", + "description": "" + }, + { + "type": "string", + "name": "received_events_url", + "description": "" + }, + { + "type": "string", + "name": "repos_url", + "description": "" + }, + { + "type": "boolean", + "name": "site_admin", + "description": "" + }, + { + "type": "string", + "name": "starred_url", + "description": "" + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "" + }, + { + "type": "string", + "name": "type", + "description": "", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + { + "type": "string", + "name": "url", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + }, + { + "type": "array of object,nulls", + "name": "assignees", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "author_association", + "description": "

How the author is associated with the repository.

", + "isRequired": true, + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + { + "type": "string or null", + "name": "body", + "description": "

Contents of the issue

", + "isRequired": true + }, + { + "type": "string or null", + "name": "closed_at", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "comments", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "comments_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "created_at", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "draft", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "string", + "name": "color", + "description": "

6-character hex code, without the leading #, identifying the color

", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "

The name of the label.

", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "

URL for the label

", + "isRequired": true + } + ] + }, + { + "type": "string", + "name": "labels_url", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "locked", + "description": "" + }, + { + "type": "object or null", + "name": "milestone", + "description": "

A collection of related issues and pull requests.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string or null", + "name": "closed_at", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "closed_issues", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "created_at", + "description": "", + "isRequired": true + }, + { + "type": "object or null", + "name": "creator", + "description": "", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string", + "name": "avatar_url", + "description": "" + }, + { + "type": "boolean", + "name": "deleted", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "followers_url", + "description": "" + }, + { + "type": "string", + "name": "following_url", + "description": "" + }, + { + "type": "string", + "name": "gists_url", + "description": "" + }, + { + "type": "string", + "name": "gravatar_id", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "organizations_url", + "description": "" + }, + { + "type": "string", + "name": "received_events_url", + "description": "" + }, + { + "type": "string", + "name": "repos_url", + "description": "" + }, + { + "type": "boolean", + "name": "site_admin", + "description": "" + }, + { + "type": "string", + "name": "starred_url", + "description": "" + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "" + }, + { + "type": "string", + "name": "type", + "description": "", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + { + "type": "string", + "name": "url", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + }, + { + "type": "string or null", + "name": "description", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "due_on", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "labels_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "number", + "description": "

The number of the milestone.

", + "isRequired": true + }, + { + "type": "integer", + "name": "open_issues", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "state", + "description": "

The state of the milestone.

", + "isRequired": true, + "enum": [ + "open", + "closed" + ] + }, + { + "type": "string", + "name": "title", + "description": "

The title of the milestone.

", + "isRequired": true + }, + { + "type": "string", + "name": "updated_at", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + } + ] + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "number", + "description": "", + "isRequired": true + }, + { + "type": "object or null", + "name": "performed_via_github_app", + "description": "

GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.

", + "childParamsGroups": [ + { + "type": "string or null", + "name": "created_at", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "", + "isRequired": true + }, + { + "type": "array of strings", + "name": "events", + "description": "

The list of events for the GitHub app\nSupported values are: branch_protection_rule, check_run, check_suite, code_scanning_alert, commit_comment, content_reference, create, delete, deployment, deployment_review, deployment_status, deploy_key, discussion, discussion_comment, fork, gollum, issues, issue_comment, label, member, membership, milestone, organization, org_block, page_build, project, project_card, project_column, public, pull_request, pull_request_review, pull_request_review_comment, push, registry_package, release, repository, repository_dispatch, secret_scanning_alert, star, status, team, team_add, watch, workflow_dispatch, workflow_run, reminder, pull_request_review_thread

" + }, + { + "type": "string or null", + "name": "external_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "integer or null", + "name": "id", + "description": "

Unique identifier of the GitHub app

", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "

The name of the GitHub app

", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "object or null", + "name": "owner", + "description": "", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string", + "name": "avatar_url", + "description": "" + }, + { + "type": "boolean", + "name": "deleted", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "followers_url", + "description": "" + }, + { + "type": "string", + "name": "following_url", + "description": "" + }, + { + "type": "string", + "name": "gists_url", + "description": "" + }, + { + "type": "string", + "name": "gravatar_id", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "organizations_url", + "description": "" + }, + { + "type": "string", + "name": "received_events_url", + "description": "" + }, + { + "type": "string", + "name": "repos_url", + "description": "" + }, + { + "type": "boolean", + "name": "site_admin", + "description": "" + }, + { + "type": "string", + "name": "starred_url", + "description": "" + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "" + }, + { + "type": "string", + "name": "type", + "description": "", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + { + "type": "string", + "name": "url", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + }, + { + "type": "object", + "name": "permissions", + "description": "

The set of permissions for the GitHub app

", + "childParamsGroups": [ + { + "type": "string", + "name": "actions", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "administration", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "checks", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "content_references", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "contents", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "deployments", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "discussions", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "emails", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "environments", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "issues", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "keys", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "members", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "metadata", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_administration", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_hooks", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_packages", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_plan", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_projects", + "description": "", + "enum": [ + "read", + "write", + "admin" + ] + }, + { + "type": "string", + "name": "organization_secrets", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_self_hosted_runners", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_user_blocking", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "packages", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "pages", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "pull_requests", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "repository_hooks", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "repository_projects", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "secret_scanning_alerts", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "secrets", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "security_events", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "security_scanning_alert", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "single_file", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "statuses", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "vulnerability_alerts", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "workflows", + "description": "", + "enum": [ + "read", + "write" + ] + } + ] + }, + { + "type": "string", + "name": "slug", + "description": "

The slug name of the GitHub app

" + }, + { + "type": "string or null", + "name": "updated_at", + "description": "", + "isRequired": true + } + ] + }, + { + "type": "object", + "name": "pull_request", + "description": "", + "childParamsGroups": [ + { + "type": "string", + "name": "diff_url", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "string or null", + "name": "merged_at", + "description": "" + }, + { + "type": "string", + "name": "patch_url", + "description": "" + }, + { + "type": "string", + "name": "url", + "description": "" + } + ] + }, + { + "type": "object", + "name": "reactions", + "description": "", + "isRequired": true, + "childParamsGroups": [ + { + "type": "integer", + "name": "+1", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "-1", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "confused", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "eyes", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "heart", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "hooray", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "laugh", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "rocket", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "total_count", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + } + ] + }, + { + "type": "string", + "name": "repository_url", + "description": "", + "isRequired": true + }, + { + "type": "object or null", + "name": "pinned_comment", + "description": "

Comments provide a way for people to collaborate on an issue.

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

Unique identifier of the issue comment

", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "

URL for the issue comment

", + "isRequired": true + }, + { + "type": "string", + "name": "body", + "description": "

Contents of the issue comment

" + }, + { + "type": "string", + "name": "body_text", + "description": "" + }, + { + "type": "string", + "name": "body_html", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "object or null", + "name": "user", + "description": "

A GitHub user.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + }, + { + "type": "string", + "name": "created_at", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "updated_at", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "issue_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "author_association", + "description": "

How the author is associated with the repository.

", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + { + "type": "null", + "name": "performed_via_github_app", + "description": "" + }, + { + "type": "object", + "name": "reactions", + "description": "", + "childParamsGroups": [ + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "total_count", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "+1", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "-1", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "laugh", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "confused", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "heart", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "hooray", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "eyes", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "rocket", + "description": "", + "isRequired": true + } + ] + }, + { + "type": "object or null", + "name": "pin", + "description": "

Context around who pinned an issue comment and when it was pinned.

", + "childParamsGroups": [ + { + "type": "string", + "name": "pinned_at", + "description": "", + "isRequired": true + }, + { + "type": "object or null", + "name": "pinned_by", + "description": "

A GitHub user.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + } + ] + } + ] + }, + { + "type": "object", + "name": "sub_issues_summary", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "total", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "completed", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "percent_completed", + "description": "", + "isRequired": true + } + ] + }, + { + "type": "object", + "name": "issue_dependencies_summary", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "blocked_by", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "blocking", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "total_blocked_by", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "total_blocking", + "description": "", + "isRequired": true + } + ] + }, + { + "type": "array of objects", + "name": "issue_field_values", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "issue_field_id", + "description": "

Unique identifier for the issue field.

", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "data_type", + "description": "

The data type of the issue field

", + "isRequired": true, + "enum": [ + "text", + "single_select", + "number", + "date" + ] + }, + { + "type": "null or string or number or integer", + "name": "value", + "description": "

The value of the issue field

", + "isRequired": true + }, + { + "type": "object or null", + "name": "single_select_option", + "description": "

Details about the selected option (only present for single_select fields)

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

Unique identifier for the option.

", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "

The name of the option

", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "

The color of the option

", + "isRequired": true + } + ] + } + ] + }, + { + "type": "string", + "name": "state", + "description": "

State of the issue; either 'open' or 'closed'

", + "enum": [ + "open", + "closed" + ] + }, + { + "type": "string or null", + "name": "state_reason", + "description": "" + }, + { + "type": "string", + "name": "timeline_url", + "description": "" + }, + { + "type": "string", + "name": "title", + "description": "

Title of the issue

", + "isRequired": true + }, + { + "type": "object or null", + "name": "type", + "description": "

The type of issue.

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

The unique identifier of the issue type.

", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "

The node identifier of the issue type.

", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "

The name of the issue type.

", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "

The description of the issue type.

", + "isRequired": true + }, + { + "type": "string or null", + "name": "color", + "description": "

The color of the issue type.

", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + { + "type": "string", + "name": "created_at", + "description": "

The time the issue type created.

" + }, + { + "type": "string", + "name": "updated_at", + "description": "

The time the issue type last updated.

" + }, + { + "type": "boolean", + "name": "is_enabled", + "description": "

The enabled state of the issue type.

" + } + ] + }, + { + "type": "string", + "name": "updated_at", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "

URL for the issue

", + "isRequired": true + }, + { + "type": "object or null", + "name": "user", + "description": "", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string", + "name": "avatar_url", + "description": "" + }, + { + "type": "boolean", + "name": "deleted", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "followers_url", + "description": "" + }, + { + "type": "string", + "name": "following_url", + "description": "" + }, + { + "type": "string", + "name": "gists_url", + "description": "" + }, + { + "type": "string", + "name": "gravatar_id", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "organizations_url", + "description": "" + }, + { + "type": "string", + "name": "received_events_url", + "description": "" + }, + { + "type": "string", + "name": "repos_url", + "description": "" + }, + { + "type": "boolean", + "name": "site_admin", + "description": "" + }, + { + "type": "string", + "name": "starred_url", + "description": "" + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "" + }, + { + "type": "string", + "name": "type", + "description": "", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + { + "type": "string", + "name": "url", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + } + ] + }, + { + "type": "object", + "name": "issue_field", + "description": "

The issue field whose value was set or updated on the issue.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

The unique identifier of the issue field.

", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "

The name of the issue field.

", + "isRequired": true + }, + { + "type": "string", + "name": "field_type", + "description": "

The data type of the issue field.

", + "isRequired": true, + "enum": [ + "text", + "date", + "single_select", + "number" + ] + } + ] + }, + { + "type": "object", + "name": "issue_field_value", + "description": "

The value that was set or updated for the issue field. When updating an existing value, the previous value is available in changes.

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

The unique identifier of the issue field value.

", + "isRequired": true + }, + { + "type": "null or string or number or integer", + "name": "value", + "description": "

The value of the field. Present for text, date, and number field types.

" + }, + { + "type": "integer", + "name": "value_id", + "description": "

The identifier of the selected option. Present for single_select field types.

" + }, + { + "type": "object", + "name": "option", + "description": "

The selected option details. Present for single_select field types.

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "" + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "color", + "description": "" + }, + { + "type": "string or null", + "name": "description", + "description": "" + } + ] + } + ] + }, + { + "type": "object", + "name": "changes", + "description": "

The previous field value, present when an existing value was updated.

", + "childParamsGroups": [ + { + "type": "object", + "name": "issue_field_value", + "description": "

The previous issue field value data.

", + "childParamsGroups": [ + { + "type": "object", + "name": "from", + "description": "

The previous value of the issue field before the update.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

The unique identifier of the issue field value.

", + "isRequired": true + }, + { + "type": "null or string or number or integer", + "name": "value", + "description": "

The previous value. Present for text, date, and number field types.

" + }, + { + "type": "integer", + "name": "value_id", + "description": "

The identifier of the previously selected option. Present for single_select field types.

" + }, + { + "type": "object", + "name": "option", + "description": "

The previously selected option details. Present for single_select field types.

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "" + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "color", + "description": "" + }, + { + "type": "string or null", + "name": "description", + "description": "" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "object", + "name": "organization", + "description": "

A GitHub organization. Webhook payloads contain the organization property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "repository", + "description": "

The repository on GitHub where the event occurred. Webhook payloads contain the repository property\nwhen the event occurs from activity in a repository.

", + "isRequired": true, + "childParamsGroups": [] + }, + { + "type": "object", + "name": "sender", + "description": "

A GitHub user.

", + "isRequired": true, + "childParamsGroups": [] + } + ], + "availability": [ + "repository", + "organization", + "app" + ], + "action": "field_added", + "category": "issues" + }, + "field_removed": { + "descriptionHtml": "

An issue field value was cleared from an issue.

", + "summaryHtml": "

This event occurs when there is activity relating to an issue. For more information about issues, see \"About issues.\" For information about the APIs to manage issues, see the GraphQL documentation or \"Issues\" in the REST API documentation.

\n

For activity relating to a comment on an issue, use the issue_comment event.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.

", + "bodyParameters": [ + { + "type": "string", + "name": "action", + "description": "", + "isRequired": true, + "enum": [ + "field_removed" + ], + "childParamsGroups": [] + }, + { + "type": "object", + "name": "enterprise", + "description": "

An enterprise on GitHub. Webhook payloads contain the enterprise property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"About enterprise accounts.\"

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "installation", + "description": "

The GitHub App installation. Webhook payloads contain the installation property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"Using webhooks with GitHub Apps.\"

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "issue", + "description": "

The issue itself.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string or null", + "name": "active_lock_reason", + "description": "", + "isRequired": true, + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + { + "type": "object or null", + "name": "assignee", + "description": "", + "childParamsGroups": [ + { + "type": "string", + "name": "avatar_url", + "description": "" + }, + { + "type": "boolean", + "name": "deleted", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "followers_url", + "description": "" + }, + { + "type": "string", + "name": "following_url", + "description": "" + }, + { + "type": "string", + "name": "gists_url", + "description": "" + }, + { + "type": "string", + "name": "gravatar_id", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "organizations_url", + "description": "" + }, + { + "type": "string", + "name": "received_events_url", + "description": "" + }, + { + "type": "string", + "name": "repos_url", + "description": "" + }, + { + "type": "boolean", + "name": "site_admin", + "description": "" + }, + { + "type": "string", + "name": "starred_url", + "description": "" + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "" + }, + { + "type": "string", + "name": "type", + "description": "", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + { + "type": "string", + "name": "url", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + }, + { + "type": "array of object,nulls", + "name": "assignees", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "author_association", + "description": "

How the author is associated with the repository.

", + "isRequired": true, + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + { + "type": "string or null", + "name": "body", + "description": "

Contents of the issue

", + "isRequired": true + }, + { + "type": "string or null", + "name": "closed_at", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "comments", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "comments_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "created_at", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "draft", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "string", + "name": "color", + "description": "

6-character hex code, without the leading #, identifying the color

", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "

The name of the label.

", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "

URL for the label

", + "isRequired": true + } + ] + }, + { + "type": "string", + "name": "labels_url", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "locked", + "description": "" + }, + { + "type": "object or null", + "name": "milestone", + "description": "

A collection of related issues and pull requests.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string or null", + "name": "closed_at", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "closed_issues", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "created_at", + "description": "", + "isRequired": true + }, + { + "type": "object or null", + "name": "creator", + "description": "", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string", + "name": "avatar_url", + "description": "" + }, + { + "type": "boolean", + "name": "deleted", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "followers_url", + "description": "" + }, + { + "type": "string", + "name": "following_url", + "description": "" + }, + { + "type": "string", + "name": "gists_url", + "description": "" + }, + { + "type": "string", + "name": "gravatar_id", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "organizations_url", + "description": "" + }, + { + "type": "string", + "name": "received_events_url", + "description": "" + }, + { + "type": "string", + "name": "repos_url", + "description": "" + }, + { + "type": "boolean", + "name": "site_admin", + "description": "" + }, + { + "type": "string", + "name": "starred_url", + "description": "" + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "" + }, + { + "type": "string", + "name": "type", + "description": "", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + { + "type": "string", + "name": "url", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + }, + { + "type": "string or null", + "name": "description", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "due_on", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "labels_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "number", + "description": "

The number of the milestone.

", + "isRequired": true + }, + { + "type": "integer", + "name": "open_issues", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "state", + "description": "

The state of the milestone.

", + "isRequired": true, + "enum": [ + "open", + "closed" + ] + }, + { + "type": "string", + "name": "title", + "description": "

The title of the milestone.

", + "isRequired": true + }, + { + "type": "string", + "name": "updated_at", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + } + ] + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "number", + "description": "", + "isRequired": true + }, + { + "type": "object or null", + "name": "performed_via_github_app", + "description": "

GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.

", + "childParamsGroups": [ + { + "type": "string or null", + "name": "created_at", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "", + "isRequired": true + }, + { + "type": "array of strings", + "name": "events", + "description": "

The list of events for the GitHub app\nSupported values are: branch_protection_rule, check_run, check_suite, code_scanning_alert, commit_comment, content_reference, create, delete, deployment, deployment_review, deployment_status, deploy_key, discussion, discussion_comment, fork, gollum, issues, issue_comment, label, member, membership, milestone, organization, org_block, page_build, project, project_card, project_column, public, pull_request, pull_request_review, pull_request_review_comment, push, registry_package, release, repository, repository_dispatch, secret_scanning_alert, star, status, team, team_add, watch, workflow_dispatch, workflow_run, reminder, pull_request_review_thread

" + }, + { + "type": "string or null", + "name": "external_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "integer or null", + "name": "id", + "description": "

Unique identifier of the GitHub app

", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "

The name of the GitHub app

", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "object or null", + "name": "owner", + "description": "", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string", + "name": "avatar_url", + "description": "" + }, + { + "type": "boolean", + "name": "deleted", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "followers_url", + "description": "" + }, + { + "type": "string", + "name": "following_url", + "description": "" + }, + { + "type": "string", + "name": "gists_url", + "description": "" + }, + { + "type": "string", + "name": "gravatar_id", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "organizations_url", + "description": "" + }, + { + "type": "string", + "name": "received_events_url", + "description": "" + }, + { + "type": "string", + "name": "repos_url", + "description": "" + }, + { + "type": "boolean", + "name": "site_admin", + "description": "" + }, + { + "type": "string", + "name": "starred_url", + "description": "" + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "" + }, + { + "type": "string", + "name": "type", + "description": "", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + { + "type": "string", + "name": "url", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + }, + { + "type": "object", + "name": "permissions", + "description": "

The set of permissions for the GitHub app

", + "childParamsGroups": [ + { + "type": "string", + "name": "actions", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "administration", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "checks", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "content_references", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "contents", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "deployments", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "discussions", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "emails", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "environments", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "issues", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "keys", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "members", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "metadata", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_administration", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_hooks", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_packages", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_plan", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_projects", + "description": "", + "enum": [ + "read", + "write", + "admin" + ] + }, + { + "type": "string", + "name": "organization_secrets", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_self_hosted_runners", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_user_blocking", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "packages", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "pages", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "pull_requests", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "repository_hooks", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "repository_projects", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "secret_scanning_alerts", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "secrets", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "security_events", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "security_scanning_alert", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "single_file", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "statuses", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "vulnerability_alerts", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "workflows", + "description": "", + "enum": [ + "read", + "write" + ] + } + ] + }, + { + "type": "string", + "name": "slug", + "description": "

The slug name of the GitHub app

" + }, + { + "type": "string or null", + "name": "updated_at", + "description": "", + "isRequired": true + } + ] + }, + { + "type": "object", + "name": "pull_request", + "description": "", + "childParamsGroups": [ + { + "type": "string", + "name": "diff_url", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "string or null", + "name": "merged_at", + "description": "" + }, + { + "type": "string", + "name": "patch_url", + "description": "" + }, + { + "type": "string", + "name": "url", + "description": "" + } + ] + }, + { + "type": "object", + "name": "reactions", + "description": "", + "isRequired": true, + "childParamsGroups": [ + { + "type": "integer", + "name": "+1", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "-1", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "confused", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "eyes", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "heart", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "hooray", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "laugh", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "rocket", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "total_count", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + } + ] + }, + { + "type": "string", + "name": "repository_url", + "description": "", + "isRequired": true + }, + { + "type": "object or null", + "name": "pinned_comment", + "description": "

Comments provide a way for people to collaborate on an issue.

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

Unique identifier of the issue comment

", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "

URL for the issue comment

", + "isRequired": true + }, + { + "type": "string", + "name": "body", + "description": "

Contents of the issue comment

" + }, + { + "type": "string", + "name": "body_text", + "description": "" + }, + { + "type": "string", + "name": "body_html", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "object or null", + "name": "user", + "description": "

A GitHub user.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + }, + { + "type": "string", + "name": "created_at", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "updated_at", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "issue_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "author_association", + "description": "

How the author is associated with the repository.

", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + { + "type": "null", + "name": "performed_via_github_app", + "description": "" + }, + { + "type": "object", + "name": "reactions", + "description": "", + "childParamsGroups": [ + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "total_count", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "+1", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "-1", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "laugh", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "confused", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "heart", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "hooray", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "eyes", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "rocket", + "description": "", + "isRequired": true + } + ] + }, + { + "type": "object or null", + "name": "pin", + "description": "

Context around who pinned an issue comment and when it was pinned.

", + "childParamsGroups": [ + { + "type": "string", + "name": "pinned_at", + "description": "", + "isRequired": true + }, + { + "type": "object or null", + "name": "pinned_by", + "description": "

A GitHub user.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + } + ] + } + ] + }, + { + "type": "object", + "name": "sub_issues_summary", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "total", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "completed", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "percent_completed", + "description": "", + "isRequired": true + } + ] + }, + { + "type": "object", + "name": "issue_dependencies_summary", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "blocked_by", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "blocking", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "total_blocked_by", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "total_blocking", + "description": "", + "isRequired": true + } + ] + }, + { + "type": "array of objects", + "name": "issue_field_values", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "issue_field_id", + "description": "

Unique identifier for the issue field.

", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "data_type", + "description": "

The data type of the issue field

", + "isRequired": true, + "enum": [ + "text", + "single_select", + "number", + "date" + ] + }, + { + "type": "null or string or number or integer", + "name": "value", + "description": "

The value of the issue field

", + "isRequired": true + }, + { + "type": "object or null", + "name": "single_select_option", + "description": "

Details about the selected option (only present for single_select fields)

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

Unique identifier for the option.

", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "

The name of the option

", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "

The color of the option

", + "isRequired": true + } + ] + } + ] + }, + { + "type": "string", + "name": "state", + "description": "

State of the issue; either 'open' or 'closed'

", + "enum": [ + "open", + "closed" + ] + }, + { + "type": "string or null", + "name": "state_reason", + "description": "" + }, + { + "type": "string", + "name": "timeline_url", + "description": "" + }, + { + "type": "string", + "name": "title", + "description": "

Title of the issue

", + "isRequired": true + }, + { + "type": "object or null", + "name": "type", + "description": "

The type of issue.

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

The unique identifier of the issue type.

", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "

The node identifier of the issue type.

", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "

The name of the issue type.

", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "

The description of the issue type.

", + "isRequired": true + }, + { + "type": "string or null", + "name": "color", + "description": "

The color of the issue type.

", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + { + "type": "string", + "name": "created_at", + "description": "

The time the issue type created.

" + }, + { + "type": "string", + "name": "updated_at", + "description": "

The time the issue type last updated.

" + }, + { + "type": "boolean", + "name": "is_enabled", + "description": "

The enabled state of the issue type.

" + } + ] + }, + { + "type": "string", + "name": "updated_at", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "

URL for the issue

", + "isRequired": true + }, + { + "type": "object or null", + "name": "user", + "description": "", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string", + "name": "avatar_url", + "description": "" + }, + { + "type": "boolean", + "name": "deleted", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "followers_url", + "description": "" + }, + { + "type": "string", + "name": "following_url", + "description": "" + }, + { + "type": "string", + "name": "gists_url", + "description": "" + }, + { + "type": "string", + "name": "gravatar_id", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "organizations_url", + "description": "" + }, + { + "type": "string", + "name": "received_events_url", + "description": "" + }, + { + "type": "string", + "name": "repos_url", + "description": "" + }, + { + "type": "boolean", + "name": "site_admin", + "description": "" + }, + { + "type": "string", + "name": "starred_url", + "description": "" + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "" + }, + { + "type": "string", + "name": "type", + "description": "", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + { + "type": "string", + "name": "url", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + } + ] + }, + { + "type": "object", + "name": "issue_field", + "description": "

The issue field whose value was cleared from the issue.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

The unique identifier of the issue field.

", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "

The name of the issue field.

", + "isRequired": true + }, + { + "type": "string", + "name": "field_type", + "description": "

The data type of the issue field.

", + "isRequired": true, + "enum": [ + "text", + "date", + "single_select", + "number" + ] + } + ] + }, + { + "type": "object", + "name": "issue_field_value", + "description": "

The value that was cleared from the issue field.

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

The unique identifier of the issue field value.

", + "isRequired": true + }, + { + "type": "null or string or number or integer", + "name": "value", + "description": "

The value of the field. Present for text, date, and number field types.

" + }, + { + "type": "integer", + "name": "value_id", + "description": "

The identifier of the selected option. Present for single_select field types.

" + }, + { + "type": "object", + "name": "option", + "description": "

The selected option details. Present for single_select field types.

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "" + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "color", + "description": "" + }, + { + "type": "string or null", + "name": "description", + "description": "" + } + ] + } + ] + }, + { + "type": "object", + "name": "organization", + "description": "

A GitHub organization. Webhook payloads contain the organization property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "repository", + "description": "

The repository on GitHub where the event occurred. Webhook payloads contain the repository property\nwhen the event occurs from activity in a repository.

", + "isRequired": true, + "childParamsGroups": [] + }, + { + "type": "object", + "name": "sender", + "description": "

A GitHub user.

", + "isRequired": true, + "childParamsGroups": [] + } + ], + "availability": [ + "repository", + "organization", + "app" + ], + "action": "field_removed", + "category": "issues" + }, "labeled": { "descriptionHtml": "

A label was added to an issue.

", "summaryHtml": "

This event occurs when there is activity relating to an issue. For more information about issues, see \"About issues.\" For information about the APIs to manage issues, see the GraphQL documentation or \"Issues\" in the REST API documentation.

\n

For activity relating to a comment on an issue, use the issue_comment event.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.

", @@ -17765,12 +21924,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "has_downloads", @@ -26315,12 +30468,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/fpt/pull_request.json b/src/webhooks/data/fpt/pull_request.json index 300ca8646f75..51d7daa9728f 100644 --- a/src/webhooks/data/fpt/pull_request.json +++ b/src/webhooks/data/fpt/pull_request.json @@ -898,12 +898,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1911,12 +1905,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4169,12 +4157,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "has_pages", @@ -5202,12 +5184,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7485,12 +7461,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8498,12 +8468,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -11785,12 +11749,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -12773,12 +12731,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -15474,12 +15426,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -16462,12 +16408,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -18392,12 +18332,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -19405,12 +19339,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -21683,12 +21611,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -22696,12 +22618,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -26067,12 +25983,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -27055,12 +26965,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -28751,12 +28655,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -29764,12 +29662,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -32092,12 +31984,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -33105,12 +32991,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -35384,12 +35264,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -36397,12 +36271,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -38908,12 +38776,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -39921,12 +39783,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -43203,12 +43059,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -44191,12 +44041,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -46892,12 +46736,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -47880,12 +47718,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -50581,12 +50413,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -51569,12 +51395,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -53266,12 +53086,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -54279,12 +54093,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -56852,12 +56660,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -57865,12 +57667,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -60435,12 +60231,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -61448,12 +61238,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -63852,12 +63636,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -64865,12 +64643,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -67193,12 +66965,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -68206,12 +67972,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -70484,12 +70244,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -71497,12 +71251,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/fpt/pull_request_review.json b/src/webhooks/data/fpt/pull_request_review.json index 359efd056d83..520558f4ba87 100644 --- a/src/webhooks/data/fpt/pull_request_review.json +++ b/src/webhooks/data/fpt/pull_request_review.json @@ -762,12 +762,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1755,12 +1749,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7324,12 +7312,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8317,12 +8299,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/fpt/pull_request_review_comment.json b/src/webhooks/data/fpt/pull_request_review_comment.json index a154d94dcadd..aaf7aba10433 100644 --- a/src/webhooks/data/fpt/pull_request_review_comment.json +++ b/src/webhooks/data/fpt/pull_request_review_comment.json @@ -768,12 +768,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1759,12 +1753,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -3878,12 +3866,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4870,12 +4852,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7009,12 +6985,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8001,12 +7971,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/fpt/pull_request_review_thread.json b/src/webhooks/data/fpt/pull_request_review_thread.json index b7deaa58aa0e..d11cc61a59ad 100644 --- a/src/webhooks/data/fpt/pull_request_review_thread.json +++ b/src/webhooks/data/fpt/pull_request_review_thread.json @@ -761,12 +761,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1710,12 +1704,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4214,12 +4202,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -5163,12 +5145,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/fpt/secret_scanning_alert.json b/src/webhooks/data/fpt/secret_scanning_alert.json index fb284e429eed..ec709c119378 100644 --- a/src/webhooks/data/fpt/secret_scanning_alert.json +++ b/src/webhooks/data/fpt/secret_scanning_alert.json @@ -218,6 +218,16 @@ "name": "secret_type_display_name", "description": "

User-friendly name for the detected secret, matching the secret_type.\nFor a list of built-in patterns, see \"Supported secret scanning patterns.\"

" }, + { + "type": "string or null", + "name": "provider", + "description": "

The provider of the secret that was detected.

" + }, + { + "type": "string or null", + "name": "provider_slug", + "description": "

The slug identifier for the provider of the secret that was detected.

" + }, { "type": "string", "name": "validity", @@ -667,6 +677,151 @@ "description": "" } ] + }, + { + "type": "string or null", + "name": "closure_request_comment", + "description": "

An optional comment from the closure request author.

" + }, + { + "type": "string or null", + "name": "closure_request_reviewer_comment", + "description": "

An optional comment from the closure request reviewer.

" + }, + { + "type": "object or null", + "name": "closure_request_reviewer", + "description": "

A GitHub user.

", + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] } ] }, @@ -1064,6 +1219,16 @@ "name": "secret_type_display_name", "description": "

User-friendly name for the detected secret, matching the secret_type.\nFor a list of built-in patterns, see \"Supported secret scanning patterns.\"

" }, + { + "type": "string or null", + "name": "provider", + "description": "

The provider of the secret that was detected.

" + }, + { + "type": "string or null", + "name": "provider_slug", + "description": "

The slug identifier for the provider of the secret that was detected.

" + }, { "type": "string", "name": "validity", @@ -1513,121 +1678,441 @@ "description": "" } ] - } - ] - }, - { - "type": "object", - "name": "enterprise", - "description": "

An enterprise on GitHub. Webhook payloads contain the enterprise property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"About enterprise accounts.\"

", - "childParamsGroups": [] - }, - { - "type": "object", - "name": "installation", - "description": "

The GitHub App installation. Webhook payloads contain the installation property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"Using webhooks with GitHub Apps.\"

", - "childParamsGroups": [] - }, - { - "type": "object", - "name": "organization", - "description": "

A GitHub organization. Webhook payloads contain the organization property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.

", - "childParamsGroups": [] - }, - { - "type": "object", - "name": "repository", - "description": "

The repository on GitHub where the event occurred. Webhook payloads contain the repository property\nwhen the event occurs from activity in a repository.

", - "isRequired": true, - "childParamsGroups": [] - }, - { - "type": "object", - "name": "sender", - "description": "

A GitHub user.

", - "childParamsGroups": [] - } - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "created", - "category": "secret_scanning_alert" - }, - "publicly_leaked": { - "descriptionHtml": "

A secret scanning alert was detected in a public repo.

", - "summaryHtml": "

This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"About secret scanning.\" For information about the API to manage secret scanning alerts, see \"Secret scanning\" in the REST API documentation.

\n

For activity relating to secret scanning alert locations, use the secret_scanning_alert_location event.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.

", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "description": "", - "isRequired": true, - "enum": [ - "publicly_leaked" - ], - "childParamsGroups": [] - }, - { - "type": "object", - "name": "alert", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "number", - "description": "

The security alert number.

" - }, - { - "type": "string", - "name": "created_at", - "description": "

The time that the alert was created in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" }, { - "type": "null", - "name": "updated_at", - "description": "" - }, - { - "type": "string", - "name": "url", - "description": "

The REST API URL of the alert resource.

" - }, - { - "type": "string", - "name": "html_url", - "description": "

The GitHub URL of the alert resource.

" - }, - { - "type": "string", - "name": "locations_url", - "description": "

The REST API URL of the code locations for this alert.

" + "type": "string or null", + "name": "closure_request_comment", + "description": "

An optional comment from the closure request author.

" }, { "type": "string or null", - "name": "resolution", - "description": "

The reason for resolving the alert.

", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - "pattern_deleted", - "pattern_edited", - null - ] + "name": "closure_request_reviewer_comment", + "description": "

An optional comment from the closure request reviewer.

" }, { - "type": "string or null", - "name": "resolved_at", + "type": "object or null", + "name": "closure_request_reviewer", + "description": "

A GitHub user.

", + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + } + ] + }, + { + "type": "object", + "name": "enterprise", + "description": "

An enterprise on GitHub. Webhook payloads contain the enterprise property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"About enterprise accounts.\"

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "installation", + "description": "

The GitHub App installation. Webhook payloads contain the installation property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"Using webhooks with GitHub Apps.\"

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "organization", + "description": "

A GitHub organization. Webhook payloads contain the organization property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "repository", + "description": "

The repository on GitHub where the event occurred. Webhook payloads contain the repository property\nwhen the event occurs from activity in a repository.

", + "isRequired": true, + "childParamsGroups": [] + }, + { + "type": "object", + "name": "sender", + "description": "

A GitHub user.

", + "childParamsGroups": [] + } + ], + "availability": [ + "repository", + "organization", + "app" + ], + "action": "created", + "category": "secret_scanning_alert" + }, + "publicly_leaked": { + "descriptionHtml": "

A secret scanning alert was detected in a public repo.

", + "summaryHtml": "

This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"About secret scanning.\" For information about the API to manage secret scanning alerts, see \"Secret scanning\" in the REST API documentation.

\n

For activity relating to secret scanning alert locations, use the secret_scanning_alert_location event.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.

", + "bodyParameters": [ + { + "type": "string", + "name": "action", + "description": "", + "isRequired": true, + "enum": [ + "publicly_leaked" + ], + "childParamsGroups": [] + }, + { + "type": "object", + "name": "alert", + "description": "", + "isRequired": true, + "childParamsGroups": [ + { + "type": "integer", + "name": "number", + "description": "

The security alert number.

" + }, + { + "type": "string", + "name": "created_at", + "description": "

The time that the alert was created in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" + }, + { + "type": "null", + "name": "updated_at", + "description": "" + }, + { + "type": "string", + "name": "url", + "description": "

The REST API URL of the alert resource.

" + }, + { + "type": "string", + "name": "html_url", + "description": "

The GitHub URL of the alert resource.

" + }, + { + "type": "string", + "name": "locations_url", + "description": "

The REST API URL of the code locations for this alert.

" + }, + { + "type": "string or null", + "name": "resolution", + "description": "

The reason for resolving the alert.

", + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + "pattern_deleted", + "pattern_edited", + null + ] + }, + { + "type": "string or null", + "name": "resolved_at", "description": "

The time that the alert was resolved in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" }, { "type": "object or null", - "name": "resolved_by", + "name": "resolved_by", + "description": "

A GitHub user.

", + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + }, + { + "type": "string or null", + "name": "resolution_comment", + "description": "

An optional comment to resolve an alert.

" + }, + { + "type": "string", + "name": "secret_type", + "description": "

The type of secret that secret scanning detected.

" + }, + { + "type": "string", + "name": "secret_type_display_name", + "description": "

User-friendly name for the detected secret, matching the secret_type.\nFor a list of built-in patterns, see \"Supported secret scanning patterns.\"

" + }, + { + "type": "string or null", + "name": "provider", + "description": "

The provider of the secret that was detected.

" + }, + { + "type": "string or null", + "name": "provider_slug", + "description": "

The slug identifier for the provider of the secret that was detected.

" + }, + { + "type": "string", + "name": "validity", + "description": "

The token status as of the latest validity check.

", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + { + "type": "boolean or null", + "name": "push_protection_bypassed", + "description": "

Whether push protection was bypassed for the detected secret.

" + }, + { + "type": "object or null", + "name": "push_protection_bypassed_by", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -1762,37 +2247,12 @@ }, { "type": "string or null", - "name": "resolution_comment", - "description": "

An optional comment to resolve an alert.

" - }, - { - "type": "string", - "name": "secret_type", - "description": "

The type of secret that secret scanning detected.

" - }, - { - "type": "string", - "name": "secret_type_display_name", - "description": "

User-friendly name for the detected secret, matching the secret_type.\nFor a list of built-in patterns, see \"Supported secret scanning patterns.\"

" - }, - { - "type": "string", - "name": "validity", - "description": "

The token status as of the latest validity check.

", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - { - "type": "boolean or null", - "name": "push_protection_bypassed", - "description": "

Whether push protection was bypassed for the detected secret.

" + "name": "push_protection_bypassed_at", + "description": "

The time that push protection was bypassed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" }, { "type": "object or null", - "name": "push_protection_bypassed_by", + "name": "push_protection_bypass_request_reviewer", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -1927,12 +2387,32 @@ }, { "type": "string or null", - "name": "push_protection_bypassed_at", - "description": "

The time that push protection was bypassed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" + "name": "push_protection_bypass_request_reviewer_comment", + "description": "

An optional comment when reviewing a push protection bypass.

" + }, + { + "type": "string or null", + "name": "push_protection_bypass_request_comment", + "description": "

An optional comment when requesting a push protection bypass.

" + }, + { + "type": "string or null", + "name": "push_protection_bypass_request_html_url", + "description": "

The URL to a push protection bypass request.

" + }, + { + "type": "boolean or null", + "name": "publicly_leaked", + "description": "

Whether the detected secret was publicly leaked.

" + }, + { + "type": "boolean or null", + "name": "multi_repo", + "description": "

Whether the detected secret was found in multiple repositories in the same organization or business.

" }, { "type": "object or null", - "name": "push_protection_bypass_request_reviewer", + "name": "assigned_to", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -2067,32 +2547,17 @@ }, { "type": "string or null", - "name": "push_protection_bypass_request_reviewer_comment", - "description": "

An optional comment when reviewing a push protection bypass.

" - }, - { - "type": "string or null", - "name": "push_protection_bypass_request_comment", - "description": "

An optional comment when requesting a push protection bypass.

" + "name": "closure_request_comment", + "description": "

An optional comment from the closure request author.

" }, { "type": "string or null", - "name": "push_protection_bypass_request_html_url", - "description": "

The URL to a push protection bypass request.

" - }, - { - "type": "boolean or null", - "name": "publicly_leaked", - "description": "

Whether the detected secret was publicly leaked.

" - }, - { - "type": "boolean or null", - "name": "multi_repo", - "description": "

Whether the detected secret was found in multiple repositories in the same organization or business.

" + "name": "closure_request_reviewer_comment", + "description": "

An optional comment from the closure request reviewer.

" }, { "type": "object or null", - "name": "assigned_to", + "name": "closure_request_reviewer", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -2332,13 +2797,188 @@ ] }, { - "type": "string or null", - "name": "resolved_at", - "description": "

The time that the alert was resolved in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" + "type": "string or null", + "name": "resolved_at", + "description": "

The time that the alert was resolved in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" + }, + { + "type": "object or null", + "name": "resolved_by", + "description": "

A GitHub user.

", + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + }, + { + "type": "string or null", + "name": "resolution_comment", + "description": "

An optional comment to resolve an alert.

" + }, + { + "type": "string", + "name": "secret_type", + "description": "

The type of secret that secret scanning detected.

" + }, + { + "type": "string", + "name": "secret_type_display_name", + "description": "

User-friendly name for the detected secret, matching the secret_type.\nFor a list of built-in patterns, see \"Supported secret scanning patterns.\"

" + }, + { + "type": "string or null", + "name": "provider", + "description": "

The provider of the secret that was detected.

" + }, + { + "type": "string or null", + "name": "provider_slug", + "description": "

The slug identifier for the provider of the secret that was detected.

" + }, + { + "type": "string", + "name": "validity", + "description": "

The token status as of the latest validity check.

", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + { + "type": "boolean or null", + "name": "push_protection_bypassed", + "description": "

Whether push protection was bypassed for the detected secret.

" }, { "type": "object or null", - "name": "resolved_by", + "name": "push_protection_bypassed_by", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -2473,37 +3113,12 @@ }, { "type": "string or null", - "name": "resolution_comment", - "description": "

An optional comment to resolve an alert.

" - }, - { - "type": "string", - "name": "secret_type", - "description": "

The type of secret that secret scanning detected.

" - }, - { - "type": "string", - "name": "secret_type_display_name", - "description": "

User-friendly name for the detected secret, matching the secret_type.\nFor a list of built-in patterns, see \"Supported secret scanning patterns.\"

" - }, - { - "type": "string", - "name": "validity", - "description": "

The token status as of the latest validity check.

", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - { - "type": "boolean or null", - "name": "push_protection_bypassed", - "description": "

Whether push protection was bypassed for the detected secret.

" + "name": "push_protection_bypassed_at", + "description": "

The time that push protection was bypassed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" }, { "type": "object or null", - "name": "push_protection_bypassed_by", + "name": "push_protection_bypass_request_reviewer", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -2638,12 +3253,32 @@ }, { "type": "string or null", - "name": "push_protection_bypassed_at", - "description": "

The time that push protection was bypassed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" + "name": "push_protection_bypass_request_reviewer_comment", + "description": "

An optional comment when reviewing a push protection bypass.

" + }, + { + "type": "string or null", + "name": "push_protection_bypass_request_comment", + "description": "

An optional comment when requesting a push protection bypass.

" + }, + { + "type": "string or null", + "name": "push_protection_bypass_request_html_url", + "description": "

The URL to a push protection bypass request.

" + }, + { + "type": "boolean or null", + "name": "publicly_leaked", + "description": "

Whether the detected secret was publicly leaked.

" + }, + { + "type": "boolean or null", + "name": "multi_repo", + "description": "

Whether the detected secret was found in multiple repositories in the same organization or business.

" }, { "type": "object or null", - "name": "push_protection_bypass_request_reviewer", + "name": "assigned_to", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -2778,32 +3413,17 @@ }, { "type": "string or null", - "name": "push_protection_bypass_request_reviewer_comment", - "description": "

An optional comment when reviewing a push protection bypass.

" - }, - { - "type": "string or null", - "name": "push_protection_bypass_request_comment", - "description": "

An optional comment when requesting a push protection bypass.

" + "name": "closure_request_comment", + "description": "

An optional comment from the closure request author.

" }, { "type": "string or null", - "name": "push_protection_bypass_request_html_url", - "description": "

The URL to a push protection bypass request.

" - }, - { - "type": "boolean or null", - "name": "publicly_leaked", - "description": "

Whether the detected secret was publicly leaked.

" - }, - { - "type": "boolean or null", - "name": "multi_repo", - "description": "

Whether the detected secret was found in multiple repositories in the same organization or business.

" + "name": "closure_request_reviewer_comment", + "description": "

An optional comment from the closure request reviewer.

" }, { "type": "object or null", - "name": "assigned_to", + "name": "closure_request_reviewer", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -3049,7 +3669,182 @@ }, { "type": "object or null", - "name": "resolved_by", + "name": "resolved_by", + "description": "

A GitHub user.

", + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + }, + { + "type": "string or null", + "name": "resolution_comment", + "description": "

An optional comment to resolve an alert.

" + }, + { + "type": "string", + "name": "secret_type", + "description": "

The type of secret that secret scanning detected.

" + }, + { + "type": "string", + "name": "secret_type_display_name", + "description": "

User-friendly name for the detected secret, matching the secret_type.\nFor a list of built-in patterns, see \"Supported secret scanning patterns.\"

" + }, + { + "type": "string or null", + "name": "provider", + "description": "

The provider of the secret that was detected.

" + }, + { + "type": "string or null", + "name": "provider_slug", + "description": "

The slug identifier for the provider of the secret that was detected.

" + }, + { + "type": "string", + "name": "validity", + "description": "

The token status as of the latest validity check.

", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + { + "type": "boolean or null", + "name": "push_protection_bypassed", + "description": "

Whether push protection was bypassed for the detected secret.

" + }, + { + "type": "object or null", + "name": "push_protection_bypassed_by", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -3184,37 +3979,12 @@ }, { "type": "string or null", - "name": "resolution_comment", - "description": "

An optional comment to resolve an alert.

" - }, - { - "type": "string", - "name": "secret_type", - "description": "

The type of secret that secret scanning detected.

" - }, - { - "type": "string", - "name": "secret_type_display_name", - "description": "

User-friendly name for the detected secret, matching the secret_type.\nFor a list of built-in patterns, see \"Supported secret scanning patterns.\"

" - }, - { - "type": "string", - "name": "validity", - "description": "

The token status as of the latest validity check.

", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - { - "type": "boolean or null", - "name": "push_protection_bypassed", - "description": "

Whether push protection was bypassed for the detected secret.

" + "name": "push_protection_bypassed_at", + "description": "

The time that push protection was bypassed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" }, { "type": "object or null", - "name": "push_protection_bypassed_by", + "name": "push_protection_bypass_request_reviewer", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -3349,12 +4119,32 @@ }, { "type": "string or null", - "name": "push_protection_bypassed_at", - "description": "

The time that push protection was bypassed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" + "name": "push_protection_bypass_request_reviewer_comment", + "description": "

An optional comment when reviewing a push protection bypass.

" + }, + { + "type": "string or null", + "name": "push_protection_bypass_request_comment", + "description": "

An optional comment when requesting a push protection bypass.

" + }, + { + "type": "string or null", + "name": "push_protection_bypass_request_html_url", + "description": "

The URL to a push protection bypass request.

" + }, + { + "type": "boolean or null", + "name": "publicly_leaked", + "description": "

Whether the detected secret was publicly leaked.

" + }, + { + "type": "boolean or null", + "name": "multi_repo", + "description": "

Whether the detected secret was found in multiple repositories in the same organization or business.

" }, { "type": "object or null", - "name": "push_protection_bypass_request_reviewer", + "name": "assigned_to", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -3489,32 +4279,17 @@ }, { "type": "string or null", - "name": "push_protection_bypass_request_reviewer_comment", - "description": "

An optional comment when reviewing a push protection bypass.

" - }, - { - "type": "string or null", - "name": "push_protection_bypass_request_comment", - "description": "

An optional comment when requesting a push protection bypass.

" + "name": "closure_request_comment", + "description": "

An optional comment from the closure request author.

" }, { "type": "string or null", - "name": "push_protection_bypass_request_html_url", - "description": "

The URL to a push protection bypass request.

" - }, - { - "type": "boolean or null", - "name": "publicly_leaked", - "description": "

Whether the detected secret was publicly leaked.

" - }, - { - "type": "boolean or null", - "name": "multi_repo", - "description": "

Whether the detected secret was found in multiple repositories in the same organization or business.

" + "name": "closure_request_reviewer_comment", + "description": "

An optional comment from the closure request reviewer.

" }, { "type": "object or null", - "name": "assigned_to", + "name": "closure_request_reviewer", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -3731,36 +4506,211 @@ }, { "type": "string", - "name": "html_url", - "description": "

The GitHub URL of the alert resource.

" + "name": "html_url", + "description": "

The GitHub URL of the alert resource.

" + }, + { + "type": "string", + "name": "locations_url", + "description": "

The REST API URL of the code locations for this alert.

" + }, + { + "type": "string or null", + "name": "resolution", + "description": "

The reason for resolving the alert.

", + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + "pattern_deleted", + "pattern_edited", + null + ] + }, + { + "type": "string or null", + "name": "resolved_at", + "description": "

The time that the alert was resolved in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" + }, + { + "type": "object or null", + "name": "resolved_by", + "description": "

A GitHub user.

", + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + }, + { + "type": "string or null", + "name": "resolution_comment", + "description": "

An optional comment to resolve an alert.

" + }, + { + "type": "string", + "name": "secret_type", + "description": "

The type of secret that secret scanning detected.

" + }, + { + "type": "string", + "name": "secret_type_display_name", + "description": "

User-friendly name for the detected secret, matching the secret_type.\nFor a list of built-in patterns, see \"Supported secret scanning patterns.\"

" }, { - "type": "string", - "name": "locations_url", - "description": "

The REST API URL of the code locations for this alert.

" + "type": "string or null", + "name": "provider", + "description": "

The provider of the secret that was detected.

" }, { "type": "string or null", - "name": "resolution", - "description": "

The reason for resolving the alert.

", + "name": "provider_slug", + "description": "

The slug identifier for the provider of the secret that was detected.

" + }, + { + "type": "string", + "name": "validity", + "description": "

The token status as of the latest validity check.

", "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - "pattern_deleted", - "pattern_edited", - null + "active", + "inactive", + "unknown" ] }, { - "type": "string or null", - "name": "resolved_at", - "description": "

The time that the alert was resolved in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" + "type": "boolean or null", + "name": "push_protection_bypassed", + "description": "

Whether push protection was bypassed for the detected secret.

" }, { "type": "object or null", - "name": "resolved_by", + "name": "push_protection_bypassed_by", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -3895,37 +4845,12 @@ }, { "type": "string or null", - "name": "resolution_comment", - "description": "

An optional comment to resolve an alert.

" - }, - { - "type": "string", - "name": "secret_type", - "description": "

The type of secret that secret scanning detected.

" - }, - { - "type": "string", - "name": "secret_type_display_name", - "description": "

User-friendly name for the detected secret, matching the secret_type.\nFor a list of built-in patterns, see \"Supported secret scanning patterns.\"

" - }, - { - "type": "string", - "name": "validity", - "description": "

The token status as of the latest validity check.

", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - { - "type": "boolean or null", - "name": "push_protection_bypassed", - "description": "

Whether push protection was bypassed for the detected secret.

" + "name": "push_protection_bypassed_at", + "description": "

The time that push protection was bypassed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" }, { "type": "object or null", - "name": "push_protection_bypassed_by", + "name": "push_protection_bypass_request_reviewer", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -4060,12 +4985,32 @@ }, { "type": "string or null", - "name": "push_protection_bypassed_at", - "description": "

The time that push protection was bypassed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" + "name": "push_protection_bypass_request_reviewer_comment", + "description": "

An optional comment when reviewing a push protection bypass.

" + }, + { + "type": "string or null", + "name": "push_protection_bypass_request_comment", + "description": "

An optional comment when requesting a push protection bypass.

" + }, + { + "type": "string or null", + "name": "push_protection_bypass_request_html_url", + "description": "

The URL to a push protection bypass request.

" + }, + { + "type": "boolean or null", + "name": "publicly_leaked", + "description": "

Whether the detected secret was publicly leaked.

" + }, + { + "type": "boolean or null", + "name": "multi_repo", + "description": "

Whether the detected secret was found in multiple repositories in the same organization or business.

" }, { "type": "object or null", - "name": "push_protection_bypass_request_reviewer", + "name": "assigned_to", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -4200,32 +5145,17 @@ }, { "type": "string or null", - "name": "push_protection_bypass_request_reviewer_comment", - "description": "

An optional comment when reviewing a push protection bypass.

" - }, - { - "type": "string or null", - "name": "push_protection_bypass_request_comment", - "description": "

An optional comment when requesting a push protection bypass.

" + "name": "closure_request_comment", + "description": "

An optional comment from the closure request author.

" }, { "type": "string or null", - "name": "push_protection_bypass_request_html_url", - "description": "

The URL to a push protection bypass request.

" - }, - { - "type": "boolean or null", - "name": "publicly_leaked", - "description": "

Whether the detected secret was publicly leaked.

" - }, - { - "type": "boolean or null", - "name": "multi_repo", - "description": "

Whether the detected secret was found in multiple repositories in the same organization or business.

" + "name": "closure_request_reviewer_comment", + "description": "

An optional comment from the closure request reviewer.

" }, { "type": "object or null", - "name": "assigned_to", + "name": "closure_request_reviewer", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -4754,6 +5684,16 @@ "name": "secret_type_display_name", "description": "

User-friendly name for the detected secret, matching the secret_type.\nFor a list of built-in patterns, see \"Supported secret scanning patterns.\"

" }, + { + "type": "string or null", + "name": "provider", + "description": "

The provider of the secret that was detected.

" + }, + { + "type": "string or null", + "name": "provider_slug", + "description": "

The slug identifier for the provider of the secret that was detected.

" + }, { "type": "string", "name": "validity", @@ -5203,6 +6143,151 @@ "description": "" } ] + }, + { + "type": "string or null", + "name": "closure_request_comment", + "description": "

An optional comment from the closure request author.

" + }, + { + "type": "string or null", + "name": "closure_request_reviewer_comment", + "description": "

An optional comment from the closure request reviewer.

" + }, + { + "type": "object or null", + "name": "closure_request_reviewer", + "description": "

A GitHub user.

", + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] } ] }, diff --git a/src/webhooks/data/fpt/secret_scanning_alert_location.json b/src/webhooks/data/fpt/secret_scanning_alert_location.json index a272c540b30a..a88ed4008ead 100644 --- a/src/webhooks/data/fpt/secret_scanning_alert_location.json +++ b/src/webhooks/data/fpt/secret_scanning_alert_location.json @@ -217,6 +217,16 @@ "name": "secret_type_display_name", "description": "

User-friendly name for the detected secret, matching the secret_type.\nFor a list of built-in patterns, see \"Supported secret scanning patterns.\"

" }, + { + "type": "string or null", + "name": "provider", + "description": "

The provider of the secret that was detected.

" + }, + { + "type": "string or null", + "name": "provider_slug", + "description": "

The slug identifier for the provider of the secret that was detected.

" + }, { "type": "string", "name": "validity", @@ -666,6 +676,151 @@ "description": "" } ] + }, + { + "type": "string or null", + "name": "closure_request_comment", + "description": "

An optional comment from the closure request author.

" + }, + { + "type": "string or null", + "name": "closure_request_reviewer_comment", + "description": "

An optional comment from the closure request reviewer.

" + }, + { + "type": "object or null", + "name": "closure_request_reviewer", + "description": "

A GitHub user.

", + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] } ] }, @@ -764,6 +919,11 @@ "name": "commit_url", "description": "

The API URL to get the associated commit resource

", "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "

The GitHub URL to get the associated commit resource.

" } ] }, @@ -838,6 +998,11 @@ "name": "issue_title_url", "description": "

The API URL to get the issue where the secret was detected.

", "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "

The GitHub URL for the issue where the secret was detected.

" } ] }, @@ -851,6 +1016,11 @@ "name": "issue_body_url", "description": "

The API URL to get the issue where the secret was detected.

", "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "

The GitHub URL for the issue where the secret was detected.

" } ] }, @@ -864,6 +1034,11 @@ "name": "issue_comment_url", "description": "

The API URL to get the issue comment where the secret was detected.

", "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "

The GitHub URL for the issue comment where the secret was detected.

" } ] }, @@ -916,6 +1091,11 @@ "name": "pull_request_title_url", "description": "

The API URL to get the pull request where the secret was detected.

", "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "

The GitHub URL for the pull request where the secret was detected.

" } ] }, @@ -929,6 +1109,11 @@ "name": "pull_request_body_url", "description": "

The API URL to get the pull request where the secret was detected.

", "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "

The GitHub URL for the pull request where the secret was detected.

" } ] }, @@ -942,6 +1127,11 @@ "name": "pull_request_comment_url", "description": "

The API URL to get the pull request comment where the secret was detected.

", "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "

The GitHub URL for the pull request comment where the secret was detected.

" } ] }, @@ -955,6 +1145,11 @@ "name": "pull_request_review_url", "description": "

The API URL to get the pull request review where the secret was detected.

", "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "

The GitHub URL for the pull request review where the secret was detected.

" } ] }, @@ -968,6 +1163,11 @@ "name": "pull_request_review_comment_url", "description": "

The API URL to get the pull request review comment where the secret was detected.

", "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "

The GitHub URL for the pull request review comment where the secret was detected.

" } ] } diff --git a/src/webhooks/data/fpt/security_and_analysis.json b/src/webhooks/data/fpt/security_and_analysis.json index e9442ac62f39..f6117cd26c07 100644 --- a/src/webhooks/data/fpt/security_and_analysis.json +++ b/src/webhooks/data/fpt/security_and_analysis.json @@ -188,6 +188,16 @@ "TEAM", "ROLE" ] + }, + { + "type": "string", + "name": "mode", + "description": "

The bypass mode for the reviewer

", + "enum": [ + "ALWAYS", + "EXEMPT" + ], + "default": "ALWAYS" } ] } diff --git a/src/webhooks/data/fpt/sub_issues.json b/src/webhooks/data/fpt/sub_issues.json index aabe89d0c1c7..025ce6496f7a 100644 --- a/src/webhooks/data/fpt/sub_issues.json +++ b/src/webhooks/data/fpt/sub_issues.json @@ -1688,12 +1688,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -3162,12 +3156,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -5022,12 +5010,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -7577,12 +7559,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -9051,12 +9027,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -10911,12 +10881,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -13466,12 +13430,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -14940,12 +14898,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -16800,12 +16752,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -19355,12 +19301,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -20829,12 +20769,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -22689,12 +22623,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghec/bypass_request_secret_scanning.json b/src/webhooks/data/ghec/bypass_request_secret_scanning.json index 1bf8e4aa953e..20ae8b3d6b3d 100644 --- a/src/webhooks/data/ghec/bypass_request_secret_scanning.json +++ b/src/webhooks/data/ghec/bypass_request_secret_scanning.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -833,7 +889,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1028,6 +1085,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1211,7 +1295,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1406,6 +1491,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1632,7 +1744,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1827,6 +1940,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghec/check_run.json b/src/webhooks/data/ghec/check_run.json index 9808483bb111..4d076493c7d1 100644 --- a/src/webhooks/data/ghec/check_run.json +++ b/src/webhooks/data/ghec/check_run.json @@ -1360,11 +1360,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -1735,6 +1730,16 @@ "TEAM", "ROLE" ] + }, + { + "type": "string", + "name": "mode", + "description": "

The bypass mode for the reviewer

", + "enum": [ + "ALWAYS", + "EXEMPT" + ], + "default": "ALWAYS" } ] } @@ -3512,11 +3517,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -3887,6 +3887,16 @@ "TEAM", "ROLE" ] + }, + { + "type": "string", + "name": "mode", + "description": "

The bypass mode for the reviewer

", + "enum": [ + "ALWAYS", + "EXEMPT" + ], + "default": "ALWAYS" } ] } @@ -5665,11 +5675,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -6040,6 +6045,16 @@ "TEAM", "ROLE" ] + }, + { + "type": "string", + "name": "mode", + "description": "

The bypass mode for the reviewer

", + "enum": [ + "ALWAYS", + "EXEMPT" + ], + "default": "ALWAYS" } ] } @@ -7829,11 +7844,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -8204,6 +8214,16 @@ "TEAM", "ROLE" ] + }, + { + "type": "string", + "name": "mode", + "description": "

The bypass mode for the reviewer

", + "enum": [ + "ALWAYS", + "EXEMPT" + ], + "default": "ALWAYS" } ] } diff --git a/src/webhooks/data/ghec/dependabot_alert.json b/src/webhooks/data/ghec/dependabot_alert.json index 9ea0c21e9587..a574761b4957 100644 --- a/src/webhooks/data/ghec/dependabot_alert.json +++ b/src/webhooks/data/ghec/dependabot_alert.json @@ -85,6 +85,7 @@ "unknown", "direct", "transitive", + "inconclusive", null ] } @@ -192,6 +193,15 @@ "critical" ] }, + { + "type": "string", + "name": "classification", + "description": "

The classification of the advisory.

", + "enum": [ + "general", + "malware" + ] + }, { "type": "object", "name": "cvss", @@ -923,6 +933,7 @@ "unknown", "direct", "transitive", + "inconclusive", null ] } @@ -1030,6 +1041,15 @@ "critical" ] }, + { + "type": "string", + "name": "classification", + "description": "

The classification of the advisory.

", + "enum": [ + "general", + "malware" + ] + }, { "type": "object", "name": "cvss", @@ -1761,6 +1781,7 @@ "unknown", "direct", "transitive", + "inconclusive", null ] } @@ -1868,6 +1889,15 @@ "critical" ] }, + { + "type": "string", + "name": "classification", + "description": "

The classification of the advisory.

", + "enum": [ + "general", + "malware" + ] + }, { "type": "object", "name": "cvss", @@ -2599,6 +2629,7 @@ "unknown", "direct", "transitive", + "inconclusive", null ] } @@ -2706,6 +2737,15 @@ "critical" ] }, + { + "type": "string", + "name": "classification", + "description": "

The classification of the advisory.

", + "enum": [ + "general", + "malware" + ] + }, { "type": "object", "name": "cvss", @@ -3437,6 +3477,7 @@ "unknown", "direct", "transitive", + "inconclusive", null ] } @@ -3544,6 +3585,15 @@ "critical" ] }, + { + "type": "string", + "name": "classification", + "description": "

The classification of the advisory.

", + "enum": [ + "general", + "malware" + ] + }, { "type": "object", "name": "cvss", @@ -4275,6 +4325,7 @@ "unknown", "direct", "transitive", + "inconclusive", null ] } @@ -4382,6 +4433,15 @@ "critical" ] }, + { + "type": "string", + "name": "classification", + "description": "

The classification of the advisory.

", + "enum": [ + "general", + "malware" + ] + }, { "type": "object", "name": "cvss", @@ -5113,6 +5173,7 @@ "unknown", "direct", "transitive", + "inconclusive", null ] } @@ -5220,6 +5281,15 @@ "critical" ] }, + { + "type": "string", + "name": "classification", + "description": "

The classification of the advisory.

", + "enum": [ + "general", + "malware" + ] + }, { "type": "object", "name": "cvss", @@ -5951,6 +6021,7 @@ "unknown", "direct", "transitive", + "inconclusive", null ] } @@ -6058,6 +6129,15 @@ "critical" ] }, + { + "type": "string", + "name": "classification", + "description": "

The classification of the advisory.

", + "enum": [ + "general", + "malware" + ] + }, { "type": "object", "name": "cvss", diff --git a/src/webhooks/data/ghec/deployment_protection_rule.json b/src/webhooks/data/ghec/deployment_protection_rule.json index ad22d2463379..9e540ff9c071 100644 --- a/src/webhooks/data/ghec/deployment_protection_rule.json +++ b/src/webhooks/data/ghec/deployment_protection_rule.json @@ -2016,12 +2016,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -3004,12 +2998,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghec/discussion.json b/src/webhooks/data/ghec/discussion.json index 18805eb33d09..bba55abcebf9 100644 --- a/src/webhooks/data/ghec/discussion.json +++ b/src/webhooks/data/ghec/discussion.json @@ -8073,12 +8073,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghec/dismissal_request_code_scanning.json b/src/webhooks/data/ghec/dismissal_request_code_scanning.json index dd99449e70be..be1bb811eb51 100644 --- a/src/webhooks/data/ghec/dismissal_request_code_scanning.json +++ b/src/webhooks/data/ghec/dismissal_request_code_scanning.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghec/dismissal_request_dependabot.json b/src/webhooks/data/ghec/dismissal_request_dependabot.json index ca662b1cccdb..023f2472a37d 100644 --- a/src/webhooks/data/ghec/dismissal_request_dependabot.json +++ b/src/webhooks/data/ghec/dismissal_request_dependabot.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -833,7 +889,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1028,6 +1085,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghec/dismissal_request_secret_scanning.json b/src/webhooks/data/ghec/dismissal_request_secret_scanning.json index e4b0829cb06a..c9af5d29e991 100644 --- a/src/webhooks/data/ghec/dismissal_request_secret_scanning.json +++ b/src/webhooks/data/ghec/dismissal_request_secret_scanning.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -833,7 +889,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1028,6 +1085,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1211,7 +1295,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1406,6 +1491,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1632,7 +1744,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1827,6 +1940,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghec/exemption_request_push_ruleset.json b/src/webhooks/data/ghec/exemption_request_push_ruleset.json index cbe68a03e0ec..96fcc2adca1a 100644 --- a/src/webhooks/data/ghec/exemption_request_push_ruleset.json +++ b/src/webhooks/data/ghec/exemption_request_push_ruleset.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -833,7 +889,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1028,6 +1085,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1211,7 +1295,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1406,6 +1491,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1632,7 +1744,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1827,6 +1940,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghec/issue_dependencies.json b/src/webhooks/data/ghec/issue_dependencies.json index 5e512131e5b6..f3ab5debff1b 100644 --- a/src/webhooks/data/ghec/issue_dependencies.json +++ b/src/webhooks/data/ghec/issue_dependencies.json @@ -1686,12 +1686,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -4192,12 +4186,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -5665,12 +5653,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -7573,12 +7555,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -10079,12 +10055,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -11552,12 +11522,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -13460,12 +13424,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -14933,12 +14891,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -16791,12 +16743,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -19347,12 +19293,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -20820,12 +20760,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -22678,12 +22612,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghec/issues.json b/src/webhooks/data/ghec/issues.json index 001ab133b324..c1e6ce575ba6 100644 --- a/src/webhooks/data/ghec/issues.json +++ b/src/webhooks/data/ghec/issues.json @@ -9543,6 +9543,4165 @@ "action": "edited", "category": "issues" }, + "field_added": { + "descriptionHtml": "

An issue field value was set or updated on an issue.

", + "summaryHtml": "

This event occurs when there is activity relating to an issue. For more information about issues, see \"About issues.\" For information about the APIs to manage issues, see the GraphQL documentation or \"Issues\" in the REST API documentation.

\n

For activity relating to a comment on an issue, use the issue_comment event.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.

", + "bodyParameters": [ + { + "type": "string", + "name": "action", + "description": "", + "isRequired": true, + "enum": [ + "field_added" + ], + "childParamsGroups": [] + }, + { + "type": "object", + "name": "enterprise", + "description": "

An enterprise on GitHub. Webhook payloads contain the enterprise property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"About enterprise accounts.\"

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "installation", + "description": "

The GitHub App installation. Webhook payloads contain the installation property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"Using webhooks with GitHub Apps.\"

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "issue", + "description": "

The issue itself.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string or null", + "name": "active_lock_reason", + "description": "", + "isRequired": true, + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + { + "type": "object or null", + "name": "assignee", + "description": "", + "childParamsGroups": [ + { + "type": "string", + "name": "avatar_url", + "description": "" + }, + { + "type": "boolean", + "name": "deleted", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "followers_url", + "description": "" + }, + { + "type": "string", + "name": "following_url", + "description": "" + }, + { + "type": "string", + "name": "gists_url", + "description": "" + }, + { + "type": "string", + "name": "gravatar_id", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "organizations_url", + "description": "" + }, + { + "type": "string", + "name": "received_events_url", + "description": "" + }, + { + "type": "string", + "name": "repos_url", + "description": "" + }, + { + "type": "boolean", + "name": "site_admin", + "description": "" + }, + { + "type": "string", + "name": "starred_url", + "description": "" + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "" + }, + { + "type": "string", + "name": "type", + "description": "", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + { + "type": "string", + "name": "url", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + }, + { + "type": "array of object,nulls", + "name": "assignees", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "author_association", + "description": "

How the author is associated with the repository.

", + "isRequired": true, + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + { + "type": "string or null", + "name": "body", + "description": "

Contents of the issue

", + "isRequired": true + }, + { + "type": "string or null", + "name": "closed_at", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "comments", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "comments_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "created_at", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "draft", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "string", + "name": "color", + "description": "

6-character hex code, without the leading #, identifying the color

", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "

The name of the label.

", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "

URL for the label

", + "isRequired": true + } + ] + }, + { + "type": "string", + "name": "labels_url", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "locked", + "description": "" + }, + { + "type": "object or null", + "name": "milestone", + "description": "

A collection of related issues and pull requests.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string or null", + "name": "closed_at", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "closed_issues", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "created_at", + "description": "", + "isRequired": true + }, + { + "type": "object or null", + "name": "creator", + "description": "", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string", + "name": "avatar_url", + "description": "" + }, + { + "type": "boolean", + "name": "deleted", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "followers_url", + "description": "" + }, + { + "type": "string", + "name": "following_url", + "description": "" + }, + { + "type": "string", + "name": "gists_url", + "description": "" + }, + { + "type": "string", + "name": "gravatar_id", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "organizations_url", + "description": "" + }, + { + "type": "string", + "name": "received_events_url", + "description": "" + }, + { + "type": "string", + "name": "repos_url", + "description": "" + }, + { + "type": "boolean", + "name": "site_admin", + "description": "" + }, + { + "type": "string", + "name": "starred_url", + "description": "" + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "" + }, + { + "type": "string", + "name": "type", + "description": "", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + { + "type": "string", + "name": "url", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + }, + { + "type": "string or null", + "name": "description", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "due_on", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "labels_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "number", + "description": "

The number of the milestone.

", + "isRequired": true + }, + { + "type": "integer", + "name": "open_issues", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "state", + "description": "

The state of the milestone.

", + "isRequired": true, + "enum": [ + "open", + "closed" + ] + }, + { + "type": "string", + "name": "title", + "description": "

The title of the milestone.

", + "isRequired": true + }, + { + "type": "string", + "name": "updated_at", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + } + ] + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "number", + "description": "", + "isRequired": true + }, + { + "type": "object or null", + "name": "performed_via_github_app", + "description": "

GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.

", + "childParamsGroups": [ + { + "type": "string or null", + "name": "created_at", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "", + "isRequired": true + }, + { + "type": "array of strings", + "name": "events", + "description": "

The list of events for the GitHub app\nSupported values are: branch_protection_rule, check_run, check_suite, code_scanning_alert, commit_comment, content_reference, create, delete, deployment, deployment_review, deployment_status, deploy_key, discussion, discussion_comment, fork, gollum, issues, issue_comment, label, member, membership, milestone, organization, org_block, page_build, project, project_card, project_column, public, pull_request, pull_request_review, pull_request_review_comment, push, registry_package, release, repository, repository_dispatch, secret_scanning_alert, star, status, team, team_add, watch, workflow_dispatch, workflow_run, reminder, pull_request_review_thread

" + }, + { + "type": "string or null", + "name": "external_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "integer or null", + "name": "id", + "description": "

Unique identifier of the GitHub app

", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "

The name of the GitHub app

", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "object or null", + "name": "owner", + "description": "", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string", + "name": "avatar_url", + "description": "" + }, + { + "type": "boolean", + "name": "deleted", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "followers_url", + "description": "" + }, + { + "type": "string", + "name": "following_url", + "description": "" + }, + { + "type": "string", + "name": "gists_url", + "description": "" + }, + { + "type": "string", + "name": "gravatar_id", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "organizations_url", + "description": "" + }, + { + "type": "string", + "name": "received_events_url", + "description": "" + }, + { + "type": "string", + "name": "repos_url", + "description": "" + }, + { + "type": "boolean", + "name": "site_admin", + "description": "" + }, + { + "type": "string", + "name": "starred_url", + "description": "" + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "" + }, + { + "type": "string", + "name": "type", + "description": "", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + { + "type": "string", + "name": "url", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + }, + { + "type": "object", + "name": "permissions", + "description": "

The set of permissions for the GitHub app

", + "childParamsGroups": [ + { + "type": "string", + "name": "actions", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "administration", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "checks", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "content_references", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "contents", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "deployments", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "discussions", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "emails", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "environments", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "issues", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "keys", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "members", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "metadata", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_administration", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_hooks", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_packages", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_plan", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_projects", + "description": "", + "enum": [ + "read", + "write", + "admin" + ] + }, + { + "type": "string", + "name": "organization_secrets", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_self_hosted_runners", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_user_blocking", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "packages", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "pages", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "pull_requests", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "repository_hooks", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "repository_projects", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "secret_scanning_alerts", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "secrets", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "security_events", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "security_scanning_alert", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "single_file", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "statuses", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "vulnerability_alerts", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "workflows", + "description": "", + "enum": [ + "read", + "write" + ] + } + ] + }, + { + "type": "string", + "name": "slug", + "description": "

The slug name of the GitHub app

" + }, + { + "type": "string or null", + "name": "updated_at", + "description": "", + "isRequired": true + } + ] + }, + { + "type": "object", + "name": "pull_request", + "description": "", + "childParamsGroups": [ + { + "type": "string", + "name": "diff_url", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "string or null", + "name": "merged_at", + "description": "" + }, + { + "type": "string", + "name": "patch_url", + "description": "" + }, + { + "type": "string", + "name": "url", + "description": "" + } + ] + }, + { + "type": "object", + "name": "reactions", + "description": "", + "isRequired": true, + "childParamsGroups": [ + { + "type": "integer", + "name": "+1", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "-1", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "confused", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "eyes", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "heart", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "hooray", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "laugh", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "rocket", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "total_count", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + } + ] + }, + { + "type": "string", + "name": "repository_url", + "description": "", + "isRequired": true + }, + { + "type": "object or null", + "name": "pinned_comment", + "description": "

Comments provide a way for people to collaborate on an issue.

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

Unique identifier of the issue comment

", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "

URL for the issue comment

", + "isRequired": true + }, + { + "type": "string", + "name": "body", + "description": "

Contents of the issue comment

" + }, + { + "type": "string", + "name": "body_text", + "description": "" + }, + { + "type": "string", + "name": "body_html", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "object or null", + "name": "user", + "description": "

A GitHub user.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + }, + { + "type": "string", + "name": "created_at", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "updated_at", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "issue_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "author_association", + "description": "

How the author is associated with the repository.

", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + { + "type": "null", + "name": "performed_via_github_app", + "description": "" + }, + { + "type": "object", + "name": "reactions", + "description": "", + "childParamsGroups": [ + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "total_count", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "+1", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "-1", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "laugh", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "confused", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "heart", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "hooray", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "eyes", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "rocket", + "description": "", + "isRequired": true + } + ] + }, + { + "type": "object or null", + "name": "pin", + "description": "

Context around who pinned an issue comment and when it was pinned.

", + "childParamsGroups": [ + { + "type": "string", + "name": "pinned_at", + "description": "", + "isRequired": true + }, + { + "type": "object or null", + "name": "pinned_by", + "description": "

A GitHub user.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + } + ] + } + ] + }, + { + "type": "object", + "name": "sub_issues_summary", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "total", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "completed", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "percent_completed", + "description": "", + "isRequired": true + } + ] + }, + { + "type": "object", + "name": "issue_dependencies_summary", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "blocked_by", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "blocking", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "total_blocked_by", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "total_blocking", + "description": "", + "isRequired": true + } + ] + }, + { + "type": "array of objects", + "name": "issue_field_values", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "issue_field_id", + "description": "

Unique identifier for the issue field.

", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "data_type", + "description": "

The data type of the issue field

", + "isRequired": true, + "enum": [ + "text", + "single_select", + "number", + "date" + ] + }, + { + "type": "null or string or number or integer", + "name": "value", + "description": "

The value of the issue field

", + "isRequired": true + }, + { + "type": "object or null", + "name": "single_select_option", + "description": "

Details about the selected option (only present for single_select fields)

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

Unique identifier for the option.

", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "

The name of the option

", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "

The color of the option

", + "isRequired": true + } + ] + } + ] + }, + { + "type": "string", + "name": "state", + "description": "

State of the issue; either 'open' or 'closed'

", + "enum": [ + "open", + "closed" + ] + }, + { + "type": "string or null", + "name": "state_reason", + "description": "" + }, + { + "type": "string", + "name": "timeline_url", + "description": "" + }, + { + "type": "string", + "name": "title", + "description": "

Title of the issue

", + "isRequired": true + }, + { + "type": "object or null", + "name": "type", + "description": "

The type of issue.

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

The unique identifier of the issue type.

", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "

The node identifier of the issue type.

", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "

The name of the issue type.

", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "

The description of the issue type.

", + "isRequired": true + }, + { + "type": "string or null", + "name": "color", + "description": "

The color of the issue type.

", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + { + "type": "string", + "name": "created_at", + "description": "

The time the issue type created.

" + }, + { + "type": "string", + "name": "updated_at", + "description": "

The time the issue type last updated.

" + }, + { + "type": "boolean", + "name": "is_enabled", + "description": "

The enabled state of the issue type.

" + } + ] + }, + { + "type": "string", + "name": "updated_at", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "

URL for the issue

", + "isRequired": true + }, + { + "type": "object or null", + "name": "user", + "description": "", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string", + "name": "avatar_url", + "description": "" + }, + { + "type": "boolean", + "name": "deleted", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "followers_url", + "description": "" + }, + { + "type": "string", + "name": "following_url", + "description": "" + }, + { + "type": "string", + "name": "gists_url", + "description": "" + }, + { + "type": "string", + "name": "gravatar_id", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "organizations_url", + "description": "" + }, + { + "type": "string", + "name": "received_events_url", + "description": "" + }, + { + "type": "string", + "name": "repos_url", + "description": "" + }, + { + "type": "boolean", + "name": "site_admin", + "description": "" + }, + { + "type": "string", + "name": "starred_url", + "description": "" + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "" + }, + { + "type": "string", + "name": "type", + "description": "", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + { + "type": "string", + "name": "url", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + } + ] + }, + { + "type": "object", + "name": "issue_field", + "description": "

The issue field whose value was set or updated on the issue.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

The unique identifier of the issue field.

", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "

The name of the issue field.

", + "isRequired": true + }, + { + "type": "string", + "name": "field_type", + "description": "

The data type of the issue field.

", + "isRequired": true, + "enum": [ + "text", + "date", + "single_select", + "number" + ] + } + ] + }, + { + "type": "object", + "name": "issue_field_value", + "description": "

The value that was set or updated for the issue field. When updating an existing value, the previous value is available in changes.

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

The unique identifier of the issue field value.

", + "isRequired": true + }, + { + "type": "null or string or number or integer", + "name": "value", + "description": "

The value of the field. Present for text, date, and number field types.

" + }, + { + "type": "integer", + "name": "value_id", + "description": "

The identifier of the selected option. Present for single_select field types.

" + }, + { + "type": "object", + "name": "option", + "description": "

The selected option details. Present for single_select field types.

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "" + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "color", + "description": "" + }, + { + "type": "string or null", + "name": "description", + "description": "" + } + ] + } + ] + }, + { + "type": "object", + "name": "changes", + "description": "

The previous field value, present when an existing value was updated.

", + "childParamsGroups": [ + { + "type": "object", + "name": "issue_field_value", + "description": "

The previous issue field value data.

", + "childParamsGroups": [ + { + "type": "object", + "name": "from", + "description": "

The previous value of the issue field before the update.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

The unique identifier of the issue field value.

", + "isRequired": true + }, + { + "type": "null or string or number or integer", + "name": "value", + "description": "

The previous value. Present for text, date, and number field types.

" + }, + { + "type": "integer", + "name": "value_id", + "description": "

The identifier of the previously selected option. Present for single_select field types.

" + }, + { + "type": "object", + "name": "option", + "description": "

The previously selected option details. Present for single_select field types.

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "" + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "color", + "description": "" + }, + { + "type": "string or null", + "name": "description", + "description": "" + } + ] + } + ] + } + ] + } + ] + }, + { + "type": "object", + "name": "organization", + "description": "

A GitHub organization. Webhook payloads contain the organization property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "repository", + "description": "

The repository on GitHub where the event occurred. Webhook payloads contain the repository property\nwhen the event occurs from activity in a repository.

", + "isRequired": true, + "childParamsGroups": [] + }, + { + "type": "object", + "name": "sender", + "description": "

A GitHub user.

", + "isRequired": true, + "childParamsGroups": [] + } + ], + "availability": [ + "repository", + "organization", + "app" + ], + "action": "field_added", + "category": "issues" + }, + "field_removed": { + "descriptionHtml": "

An issue field value was cleared from an issue.

", + "summaryHtml": "

This event occurs when there is activity relating to an issue. For more information about issues, see \"About issues.\" For information about the APIs to manage issues, see the GraphQL documentation or \"Issues\" in the REST API documentation.

\n

For activity relating to a comment on an issue, use the issue_comment event.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.

", + "bodyParameters": [ + { + "type": "string", + "name": "action", + "description": "", + "isRequired": true, + "enum": [ + "field_removed" + ], + "childParamsGroups": [] + }, + { + "type": "object", + "name": "enterprise", + "description": "

An enterprise on GitHub. Webhook payloads contain the enterprise property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"About enterprise accounts.\"

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "installation", + "description": "

The GitHub App installation. Webhook payloads contain the installation property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"Using webhooks with GitHub Apps.\"

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "issue", + "description": "

The issue itself.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string or null", + "name": "active_lock_reason", + "description": "", + "isRequired": true, + "enum": [ + "resolved", + "off-topic", + "too heated", + "spam", + null + ] + }, + { + "type": "object or null", + "name": "assignee", + "description": "", + "childParamsGroups": [ + { + "type": "string", + "name": "avatar_url", + "description": "" + }, + { + "type": "boolean", + "name": "deleted", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "followers_url", + "description": "" + }, + { + "type": "string", + "name": "following_url", + "description": "" + }, + { + "type": "string", + "name": "gists_url", + "description": "" + }, + { + "type": "string", + "name": "gravatar_id", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "organizations_url", + "description": "" + }, + { + "type": "string", + "name": "received_events_url", + "description": "" + }, + { + "type": "string", + "name": "repos_url", + "description": "" + }, + { + "type": "boolean", + "name": "site_admin", + "description": "" + }, + { + "type": "string", + "name": "starred_url", + "description": "" + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "" + }, + { + "type": "string", + "name": "type", + "description": "", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + { + "type": "string", + "name": "url", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + }, + { + "type": "array of object,nulls", + "name": "assignees", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "author_association", + "description": "

How the author is associated with the repository.

", + "isRequired": true, + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + { + "type": "string or null", + "name": "body", + "description": "

Contents of the issue

", + "isRequired": true + }, + { + "type": "string or null", + "name": "closed_at", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "comments", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "comments_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "created_at", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "draft", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "array of objects", + "name": "labels", + "description": "", + "childParamsGroups": [ + { + "type": "string", + "name": "color", + "description": "

6-character hex code, without the leading #, identifying the color

", + "isRequired": true + }, + { + "type": "boolean", + "name": "default", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "

The name of the label.

", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "

URL for the label

", + "isRequired": true + } + ] + }, + { + "type": "string", + "name": "labels_url", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "locked", + "description": "" + }, + { + "type": "object or null", + "name": "milestone", + "description": "

A collection of related issues and pull requests.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string or null", + "name": "closed_at", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "closed_issues", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "created_at", + "description": "", + "isRequired": true + }, + { + "type": "object or null", + "name": "creator", + "description": "", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string", + "name": "avatar_url", + "description": "" + }, + { + "type": "boolean", + "name": "deleted", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "followers_url", + "description": "" + }, + { + "type": "string", + "name": "following_url", + "description": "" + }, + { + "type": "string", + "name": "gists_url", + "description": "" + }, + { + "type": "string", + "name": "gravatar_id", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "organizations_url", + "description": "" + }, + { + "type": "string", + "name": "received_events_url", + "description": "" + }, + { + "type": "string", + "name": "repos_url", + "description": "" + }, + { + "type": "boolean", + "name": "site_admin", + "description": "" + }, + { + "type": "string", + "name": "starred_url", + "description": "" + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "" + }, + { + "type": "string", + "name": "type", + "description": "", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + { + "type": "string", + "name": "url", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + }, + { + "type": "string or null", + "name": "description", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "due_on", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "labels_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "number", + "description": "

The number of the milestone.

", + "isRequired": true + }, + { + "type": "integer", + "name": "open_issues", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "state", + "description": "

The state of the milestone.

", + "isRequired": true, + "enum": [ + "open", + "closed" + ] + }, + { + "type": "string", + "name": "title", + "description": "

The title of the milestone.

", + "isRequired": true + }, + { + "type": "string", + "name": "updated_at", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + } + ] + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "number", + "description": "", + "isRequired": true + }, + { + "type": "object or null", + "name": "performed_via_github_app", + "description": "

GitHub apps are a new way to extend GitHub. They can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. GitHub apps are first class actors within GitHub.

", + "childParamsGroups": [ + { + "type": "string or null", + "name": "created_at", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "", + "isRequired": true + }, + { + "type": "array of strings", + "name": "events", + "description": "

The list of events for the GitHub app\nSupported values are: branch_protection_rule, check_run, check_suite, code_scanning_alert, commit_comment, content_reference, create, delete, deployment, deployment_review, deployment_status, deploy_key, discussion, discussion_comment, fork, gollum, issues, issue_comment, label, member, membership, milestone, organization, org_block, page_build, project, project_card, project_column, public, pull_request, pull_request_review, pull_request_review_comment, push, registry_package, release, repository, repository_dispatch, secret_scanning_alert, star, status, team, team_add, watch, workflow_dispatch, workflow_run, reminder, pull_request_review_thread

" + }, + { + "type": "string or null", + "name": "external_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "integer or null", + "name": "id", + "description": "

Unique identifier of the GitHub app

", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "

The name of the GitHub app

", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "object or null", + "name": "owner", + "description": "", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string", + "name": "avatar_url", + "description": "" + }, + { + "type": "boolean", + "name": "deleted", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "followers_url", + "description": "" + }, + { + "type": "string", + "name": "following_url", + "description": "" + }, + { + "type": "string", + "name": "gists_url", + "description": "" + }, + { + "type": "string", + "name": "gravatar_id", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "organizations_url", + "description": "" + }, + { + "type": "string", + "name": "received_events_url", + "description": "" + }, + { + "type": "string", + "name": "repos_url", + "description": "" + }, + { + "type": "boolean", + "name": "site_admin", + "description": "" + }, + { + "type": "string", + "name": "starred_url", + "description": "" + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "" + }, + { + "type": "string", + "name": "type", + "description": "", + "enum": [ + "Bot", + "User", + "Organization" + ] + }, + { + "type": "string", + "name": "url", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + }, + { + "type": "object", + "name": "permissions", + "description": "

The set of permissions for the GitHub app

", + "childParamsGroups": [ + { + "type": "string", + "name": "actions", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "administration", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "checks", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "content_references", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "contents", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "deployments", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "discussions", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "emails", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "environments", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "issues", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "keys", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "members", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "metadata", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_administration", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_hooks", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_packages", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_plan", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_projects", + "description": "", + "enum": [ + "read", + "write", + "admin" + ] + }, + { + "type": "string", + "name": "organization_secrets", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_self_hosted_runners", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "organization_user_blocking", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "packages", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "pages", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "pull_requests", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "repository_hooks", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "repository_projects", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "secret_scanning_alerts", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "secrets", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "security_events", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "security_scanning_alert", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "single_file", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "statuses", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "vulnerability_alerts", + "description": "", + "enum": [ + "read", + "write" + ] + }, + { + "type": "string", + "name": "workflows", + "description": "", + "enum": [ + "read", + "write" + ] + } + ] + }, + { + "type": "string", + "name": "slug", + "description": "

The slug name of the GitHub app

" + }, + { + "type": "string or null", + "name": "updated_at", + "description": "", + "isRequired": true + } + ] + }, + { + "type": "object", + "name": "pull_request", + "description": "", + "childParamsGroups": [ + { + "type": "string", + "name": "diff_url", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "string or null", + "name": "merged_at", + "description": "" + }, + { + "type": "string", + "name": "patch_url", + "description": "" + }, + { + "type": "string", + "name": "url", + "description": "" + } + ] + }, + { + "type": "object", + "name": "reactions", + "description": "", + "isRequired": true, + "childParamsGroups": [ + { + "type": "integer", + "name": "+1", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "-1", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "confused", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "eyes", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "heart", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "hooray", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "laugh", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "rocket", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "total_count", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + } + ] + }, + { + "type": "string", + "name": "repository_url", + "description": "", + "isRequired": true + }, + { + "type": "object or null", + "name": "pinned_comment", + "description": "

Comments provide a way for people to collaborate on an issue.

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

Unique identifier of the issue comment

", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "

URL for the issue comment

", + "isRequired": true + }, + { + "type": "string", + "name": "body", + "description": "

Contents of the issue comment

" + }, + { + "type": "string", + "name": "body_text", + "description": "" + }, + { + "type": "string", + "name": "body_html", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "object or null", + "name": "user", + "description": "

A GitHub user.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + }, + { + "type": "string", + "name": "created_at", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "updated_at", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "issue_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "author_association", + "description": "

How the author is associated with the repository.

", + "enum": [ + "COLLABORATOR", + "CONTRIBUTOR", + "FIRST_TIMER", + "FIRST_TIME_CONTRIBUTOR", + "MANNEQUIN", + "MEMBER", + "NONE", + "OWNER" + ] + }, + { + "type": "null", + "name": "performed_via_github_app", + "description": "" + }, + { + "type": "object", + "name": "reactions", + "description": "", + "childParamsGroups": [ + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "total_count", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "+1", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "-1", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "laugh", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "confused", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "heart", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "hooray", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "eyes", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "rocket", + "description": "", + "isRequired": true + } + ] + }, + { + "type": "object or null", + "name": "pin", + "description": "

Context around who pinned an issue comment and when it was pinned.

", + "childParamsGroups": [ + { + "type": "string", + "name": "pinned_at", + "description": "", + "isRequired": true + }, + { + "type": "object or null", + "name": "pinned_by", + "description": "

A GitHub user.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + } + ] + } + ] + }, + { + "type": "object", + "name": "sub_issues_summary", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "total", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "completed", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "percent_completed", + "description": "", + "isRequired": true + } + ] + }, + { + "type": "object", + "name": "issue_dependencies_summary", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "blocked_by", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "blocking", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "total_blocked_by", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "total_blocking", + "description": "", + "isRequired": true + } + ] + }, + { + "type": "array of objects", + "name": "issue_field_values", + "description": "", + "childParamsGroups": [ + { + "type": "integer", + "name": "issue_field_id", + "description": "

Unique identifier for the issue field.

", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "data_type", + "description": "

The data type of the issue field

", + "isRequired": true, + "enum": [ + "text", + "single_select", + "number", + "date" + ] + }, + { + "type": "null or string or number or integer", + "name": "value", + "description": "

The value of the issue field

", + "isRequired": true + }, + { + "type": "object or null", + "name": "single_select_option", + "description": "

Details about the selected option (only present for single_select fields)

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

Unique identifier for the option.

", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "

The name of the option

", + "isRequired": true + }, + { + "type": "string", + "name": "color", + "description": "

The color of the option

", + "isRequired": true + } + ] + } + ] + }, + { + "type": "string", + "name": "state", + "description": "

State of the issue; either 'open' or 'closed'

", + "enum": [ + "open", + "closed" + ] + }, + { + "type": "string or null", + "name": "state_reason", + "description": "" + }, + { + "type": "string", + "name": "timeline_url", + "description": "" + }, + { + "type": "string", + "name": "title", + "description": "

Title of the issue

", + "isRequired": true + }, + { + "type": "object or null", + "name": "type", + "description": "

The type of issue.

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

The unique identifier of the issue type.

", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "

The node identifier of the issue type.

", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "

The name of the issue type.

", + "isRequired": true + }, + { + "type": "string or null", + "name": "description", + "description": "

The description of the issue type.

", + "isRequired": true + }, + { + "type": "string or null", + "name": "color", + "description": "

The color of the issue type.

", + "enum": [ + "gray", + "blue", + "green", + "yellow", + "orange", + "red", + "pink", + "purple", + null + ] + }, + { + "type": "string", + "name": "created_at", + "description": "

The time the issue type created.

" + }, + { + "type": "string", + "name": "updated_at", + "description": "

The time the issue type last updated.

" + }, + { + "type": "boolean", + "name": "is_enabled", + "description": "

The enabled state of the issue type.

" + } + ] + }, + { + "type": "string", + "name": "updated_at", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "

URL for the issue

", + "isRequired": true + }, + { + "type": "object or null", + "name": "user", + "description": "", + "isRequired": true, + "childParamsGroups": [ + { + "type": "string", + "name": "avatar_url", + "description": "" + }, + { + "type": "boolean", + "name": "deleted", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "events_url", + "description": "" + }, + { + "type": "string", + "name": "followers_url", + "description": "" + }, + { + "type": "string", + "name": "following_url", + "description": "" + }, + { + "type": "string", + "name": "gists_url", + "description": "" + }, + { + "type": "string", + "name": "gravatar_id", + "description": "" + }, + { + "type": "string", + "name": "html_url", + "description": "" + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "node_id", + "description": "" + }, + { + "type": "string", + "name": "organizations_url", + "description": "" + }, + { + "type": "string", + "name": "received_events_url", + "description": "" + }, + { + "type": "string", + "name": "repos_url", + "description": "" + }, + { + "type": "boolean", + "name": "site_admin", + "description": "" + }, + { + "type": "string", + "name": "starred_url", + "description": "" + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "" + }, + { + "type": "string", + "name": "type", + "description": "", + "enum": [ + "Bot", + "User", + "Organization", + "Mannequin" + ] + }, + { + "type": "string", + "name": "url", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + } + ] + }, + { + "type": "object", + "name": "issue_field", + "description": "

The issue field whose value was cleared from the issue.

", + "isRequired": true, + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

The unique identifier of the issue field.

", + "isRequired": true + }, + { + "type": "string", + "name": "name", + "description": "

The name of the issue field.

", + "isRequired": true + }, + { + "type": "string", + "name": "field_type", + "description": "

The data type of the issue field.

", + "isRequired": true, + "enum": [ + "text", + "date", + "single_select", + "number" + ] + } + ] + }, + { + "type": "object", + "name": "issue_field_value", + "description": "

The value that was cleared from the issue field.

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "

The unique identifier of the issue field value.

", + "isRequired": true + }, + { + "type": "null or string or number or integer", + "name": "value", + "description": "

The value of the field. Present for text, date, and number field types.

" + }, + { + "type": "integer", + "name": "value_id", + "description": "

The identifier of the selected option. Present for single_select field types.

" + }, + { + "type": "object", + "name": "option", + "description": "

The selected option details. Present for single_select field types.

", + "childParamsGroups": [ + { + "type": "integer", + "name": "id", + "description": "" + }, + { + "type": "string", + "name": "name", + "description": "" + }, + { + "type": "string", + "name": "color", + "description": "" + }, + { + "type": "string or null", + "name": "description", + "description": "" + } + ] + } + ] + }, + { + "type": "object", + "name": "organization", + "description": "

A GitHub organization. Webhook payloads contain the organization property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "repository", + "description": "

The repository on GitHub where the event occurred. Webhook payloads contain the repository property\nwhen the event occurs from activity in a repository.

", + "isRequired": true, + "childParamsGroups": [] + }, + { + "type": "object", + "name": "sender", + "description": "

A GitHub user.

", + "isRequired": true, + "childParamsGroups": [] + } + ], + "availability": [ + "repository", + "organization", + "app" + ], + "action": "field_removed", + "category": "issues" + }, "labeled": { "descriptionHtml": "

A label was added to an issue.

", "summaryHtml": "

This event occurs when there is activity relating to an issue. For more information about issues, see \"About issues.\" For information about the APIs to manage issues, see the GraphQL documentation or \"Issues\" in the REST API documentation.

\n

For activity relating to a comment on an issue, use the issue_comment event.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Issues\" repository permission.

", @@ -17765,12 +21924,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "has_downloads", @@ -26315,12 +30468,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghec/pull_request.json b/src/webhooks/data/ghec/pull_request.json index e70f84e70a30..3784111945ad 100644 --- a/src/webhooks/data/ghec/pull_request.json +++ b/src/webhooks/data/ghec/pull_request.json @@ -898,12 +898,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1911,12 +1905,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4169,12 +4157,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "has_pages", @@ -5202,12 +5184,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7485,12 +7461,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8498,12 +8468,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -11785,12 +11749,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -12773,12 +12731,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -15474,12 +15426,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -16462,12 +16408,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -18392,12 +18332,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -19405,12 +19339,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -21683,12 +21611,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -22696,12 +22618,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -26067,12 +25983,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -27055,12 +26965,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -28751,12 +28655,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -29764,12 +29662,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -32092,12 +31984,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -33105,12 +32991,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -35384,12 +35264,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -36397,12 +36271,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -38908,12 +38776,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -39921,12 +39783,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -43203,12 +43059,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -44191,12 +44041,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -46892,12 +46736,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -47880,12 +47718,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -50581,12 +50413,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -51569,12 +51395,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -53266,12 +53086,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -54279,12 +54093,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -56852,12 +56660,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -57865,12 +57667,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -60435,12 +60231,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -61448,12 +61238,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -63852,12 +63636,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -64865,12 +64643,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -67193,12 +66965,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -68206,12 +67972,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -70484,12 +70244,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -71497,12 +71251,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghec/pull_request_review.json b/src/webhooks/data/ghec/pull_request_review.json index 404640d63338..5c80c23f3192 100644 --- a/src/webhooks/data/ghec/pull_request_review.json +++ b/src/webhooks/data/ghec/pull_request_review.json @@ -762,12 +762,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1755,12 +1749,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7324,12 +7312,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8317,12 +8299,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghec/pull_request_review_comment.json b/src/webhooks/data/ghec/pull_request_review_comment.json index 10c4942f8322..071523950de1 100644 --- a/src/webhooks/data/ghec/pull_request_review_comment.json +++ b/src/webhooks/data/ghec/pull_request_review_comment.json @@ -768,12 +768,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1759,12 +1753,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -3878,12 +3866,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4870,12 +4852,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7009,12 +6985,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8001,12 +7971,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghec/pull_request_review_thread.json b/src/webhooks/data/ghec/pull_request_review_thread.json index 3c05f02a4065..dc3a5a8a9417 100644 --- a/src/webhooks/data/ghec/pull_request_review_thread.json +++ b/src/webhooks/data/ghec/pull_request_review_thread.json @@ -761,12 +761,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1710,12 +1704,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4214,12 +4202,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -5163,12 +5145,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghec/secret_scanning_alert.json b/src/webhooks/data/ghec/secret_scanning_alert.json index cbbbb1346a49..fe8e36041583 100644 --- a/src/webhooks/data/ghec/secret_scanning_alert.json +++ b/src/webhooks/data/ghec/secret_scanning_alert.json @@ -218,6 +218,16 @@ "name": "secret_type_display_name", "description": "

User-friendly name for the detected secret, matching the secret_type.\nFor a list of built-in patterns, see \"Supported secret scanning patterns.\"

" }, + { + "type": "string or null", + "name": "provider", + "description": "

The provider of the secret that was detected.

" + }, + { + "type": "string or null", + "name": "provider_slug", + "description": "

The slug identifier for the provider of the secret that was detected.

" + }, { "type": "string", "name": "validity", @@ -667,6 +677,151 @@ "description": "" } ] + }, + { + "type": "string or null", + "name": "closure_request_comment", + "description": "

An optional comment from the closure request author.

" + }, + { + "type": "string or null", + "name": "closure_request_reviewer_comment", + "description": "

An optional comment from the closure request reviewer.

" + }, + { + "type": "object or null", + "name": "closure_request_reviewer", + "description": "

A GitHub user.

", + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] } ] }, @@ -1064,6 +1219,16 @@ "name": "secret_type_display_name", "description": "

User-friendly name for the detected secret, matching the secret_type.\nFor a list of built-in patterns, see \"Supported secret scanning patterns.\"

" }, + { + "type": "string or null", + "name": "provider", + "description": "

The provider of the secret that was detected.

" + }, + { + "type": "string or null", + "name": "provider_slug", + "description": "

The slug identifier for the provider of the secret that was detected.

" + }, { "type": "string", "name": "validity", @@ -1513,121 +1678,441 @@ "description": "" } ] - } - ] - }, - { - "type": "object", - "name": "enterprise", - "description": "

An enterprise on GitHub. Webhook payloads contain the enterprise property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"About enterprise accounts.\"

", - "childParamsGroups": [] - }, - { - "type": "object", - "name": "installation", - "description": "

The GitHub App installation. Webhook payloads contain the installation property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"Using webhooks with GitHub Apps.\"

", - "childParamsGroups": [] - }, - { - "type": "object", - "name": "organization", - "description": "

A GitHub organization. Webhook payloads contain the organization property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.

", - "childParamsGroups": [] - }, - { - "type": "object", - "name": "repository", - "description": "

The repository on GitHub where the event occurred. Webhook payloads contain the repository property\nwhen the event occurs from activity in a repository.

", - "isRequired": true, - "childParamsGroups": [] - }, - { - "type": "object", - "name": "sender", - "description": "

A GitHub user.

", - "childParamsGroups": [] - } - ], - "availability": [ - "repository", - "organization", - "app" - ], - "action": "created", - "category": "secret_scanning_alert" - }, - "publicly_leaked": { - "descriptionHtml": "

A secret scanning alert was detected in a public repo.

", - "summaryHtml": "

This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"About secret scanning.\" For information about the API to manage secret scanning alerts, see \"Secret scanning\" in the REST API documentation.

\n

For activity relating to secret scanning alert locations, use the secret_scanning_alert_location event.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.

", - "bodyParameters": [ - { - "type": "string", - "name": "action", - "description": "", - "isRequired": true, - "enum": [ - "publicly_leaked" - ], - "childParamsGroups": [] - }, - { - "type": "object", - "name": "alert", - "description": "", - "isRequired": true, - "childParamsGroups": [ - { - "type": "integer", - "name": "number", - "description": "

The security alert number.

" - }, - { - "type": "string", - "name": "created_at", - "description": "

The time that the alert was created in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" }, { - "type": "null", - "name": "updated_at", - "description": "" - }, - { - "type": "string", - "name": "url", - "description": "

The REST API URL of the alert resource.

" - }, - { - "type": "string", - "name": "html_url", - "description": "

The GitHub URL of the alert resource.

" - }, - { - "type": "string", - "name": "locations_url", - "description": "

The REST API URL of the code locations for this alert.

" + "type": "string or null", + "name": "closure_request_comment", + "description": "

An optional comment from the closure request author.

" }, { "type": "string or null", - "name": "resolution", - "description": "

The reason for resolving the alert.

", - "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - "pattern_deleted", - "pattern_edited", - null - ] + "name": "closure_request_reviewer_comment", + "description": "

An optional comment from the closure request reviewer.

" }, { - "type": "string or null", - "name": "resolved_at", + "type": "object or null", + "name": "closure_request_reviewer", + "description": "

A GitHub user.

", + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + } + ] + }, + { + "type": "object", + "name": "enterprise", + "description": "

An enterprise on GitHub. Webhook payloads contain the enterprise property when the webhook is configured\non an enterprise account or an organization that's part of an enterprise account. For more information,\nsee \"About enterprise accounts.\"

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "installation", + "description": "

The GitHub App installation. Webhook payloads contain the installation property when the event is configured\nfor and sent to a GitHub App. For more information,\nsee \"Using webhooks with GitHub Apps.\"

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "organization", + "description": "

A GitHub organization. Webhook payloads contain the organization property when the webhook is configured for an\norganization, or when the event occurs from activity in a repository owned by an organization.

", + "childParamsGroups": [] + }, + { + "type": "object", + "name": "repository", + "description": "

The repository on GitHub where the event occurred. Webhook payloads contain the repository property\nwhen the event occurs from activity in a repository.

", + "isRequired": true, + "childParamsGroups": [] + }, + { + "type": "object", + "name": "sender", + "description": "

A GitHub user.

", + "childParamsGroups": [] + } + ], + "availability": [ + "repository", + "organization", + "app" + ], + "action": "created", + "category": "secret_scanning_alert" + }, + "publicly_leaked": { + "descriptionHtml": "

A secret scanning alert was detected in a public repo.

", + "summaryHtml": "

This event occurs when there is activity relating to a secret scanning alert. For more information about secret scanning, see \"About secret scanning.\" For information about the API to manage secret scanning alerts, see \"Secret scanning\" in the REST API documentation.

\n

For activity relating to secret scanning alert locations, use the secret_scanning_alert_location event.

\n

To subscribe to this event, a GitHub App must have at least read-level access for the \"Secret scanning alerts\" repository permission.

", + "bodyParameters": [ + { + "type": "string", + "name": "action", + "description": "", + "isRequired": true, + "enum": [ + "publicly_leaked" + ], + "childParamsGroups": [] + }, + { + "type": "object", + "name": "alert", + "description": "", + "isRequired": true, + "childParamsGroups": [ + { + "type": "integer", + "name": "number", + "description": "

The security alert number.

" + }, + { + "type": "string", + "name": "created_at", + "description": "

The time that the alert was created in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" + }, + { + "type": "null", + "name": "updated_at", + "description": "" + }, + { + "type": "string", + "name": "url", + "description": "

The REST API URL of the alert resource.

" + }, + { + "type": "string", + "name": "html_url", + "description": "

The GitHub URL of the alert resource.

" + }, + { + "type": "string", + "name": "locations_url", + "description": "

The REST API URL of the code locations for this alert.

" + }, + { + "type": "string or null", + "name": "resolution", + "description": "

The reason for resolving the alert.

", + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + "pattern_deleted", + "pattern_edited", + null + ] + }, + { + "type": "string or null", + "name": "resolved_at", "description": "

The time that the alert was resolved in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" }, { "type": "object or null", - "name": "resolved_by", + "name": "resolved_by", + "description": "

A GitHub user.

", + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + }, + { + "type": "string or null", + "name": "resolution_comment", + "description": "

An optional comment to resolve an alert.

" + }, + { + "type": "string", + "name": "secret_type", + "description": "

The type of secret that secret scanning detected.

" + }, + { + "type": "string", + "name": "secret_type_display_name", + "description": "

User-friendly name for the detected secret, matching the secret_type.\nFor a list of built-in patterns, see \"Supported secret scanning patterns.\"

" + }, + { + "type": "string or null", + "name": "provider", + "description": "

The provider of the secret that was detected.

" + }, + { + "type": "string or null", + "name": "provider_slug", + "description": "

The slug identifier for the provider of the secret that was detected.

" + }, + { + "type": "string", + "name": "validity", + "description": "

The token status as of the latest validity check.

", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + { + "type": "boolean or null", + "name": "push_protection_bypassed", + "description": "

Whether push protection was bypassed for the detected secret.

" + }, + { + "type": "object or null", + "name": "push_protection_bypassed_by", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -1762,37 +2247,12 @@ }, { "type": "string or null", - "name": "resolution_comment", - "description": "

An optional comment to resolve an alert.

" - }, - { - "type": "string", - "name": "secret_type", - "description": "

The type of secret that secret scanning detected.

" - }, - { - "type": "string", - "name": "secret_type_display_name", - "description": "

User-friendly name for the detected secret, matching the secret_type.\nFor a list of built-in patterns, see \"Supported secret scanning patterns.\"

" - }, - { - "type": "string", - "name": "validity", - "description": "

The token status as of the latest validity check.

", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - { - "type": "boolean or null", - "name": "push_protection_bypassed", - "description": "

Whether push protection was bypassed for the detected secret.

" + "name": "push_protection_bypassed_at", + "description": "

The time that push protection was bypassed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" }, { "type": "object or null", - "name": "push_protection_bypassed_by", + "name": "push_protection_bypass_request_reviewer", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -1927,12 +2387,32 @@ }, { "type": "string or null", - "name": "push_protection_bypassed_at", - "description": "

The time that push protection was bypassed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" + "name": "push_protection_bypass_request_reviewer_comment", + "description": "

An optional comment when reviewing a push protection bypass.

" + }, + { + "type": "string or null", + "name": "push_protection_bypass_request_comment", + "description": "

An optional comment when requesting a push protection bypass.

" + }, + { + "type": "string or null", + "name": "push_protection_bypass_request_html_url", + "description": "

The URL to a push protection bypass request.

" + }, + { + "type": "boolean or null", + "name": "publicly_leaked", + "description": "

Whether the detected secret was publicly leaked.

" + }, + { + "type": "boolean or null", + "name": "multi_repo", + "description": "

Whether the detected secret was found in multiple repositories in the same organization or business.

" }, { "type": "object or null", - "name": "push_protection_bypass_request_reviewer", + "name": "assigned_to", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -2067,32 +2547,17 @@ }, { "type": "string or null", - "name": "push_protection_bypass_request_reviewer_comment", - "description": "

An optional comment when reviewing a push protection bypass.

" - }, - { - "type": "string or null", - "name": "push_protection_bypass_request_comment", - "description": "

An optional comment when requesting a push protection bypass.

" + "name": "closure_request_comment", + "description": "

An optional comment from the closure request author.

" }, { "type": "string or null", - "name": "push_protection_bypass_request_html_url", - "description": "

The URL to a push protection bypass request.

" - }, - { - "type": "boolean or null", - "name": "publicly_leaked", - "description": "

Whether the detected secret was publicly leaked.

" - }, - { - "type": "boolean or null", - "name": "multi_repo", - "description": "

Whether the detected secret was found in multiple repositories in the same organization or business.

" + "name": "closure_request_reviewer_comment", + "description": "

An optional comment from the closure request reviewer.

" }, { "type": "object or null", - "name": "assigned_to", + "name": "closure_request_reviewer", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -2332,13 +2797,188 @@ ] }, { - "type": "string or null", - "name": "resolved_at", - "description": "

The time that the alert was resolved in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" + "type": "string or null", + "name": "resolved_at", + "description": "

The time that the alert was resolved in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" + }, + { + "type": "object or null", + "name": "resolved_by", + "description": "

A GitHub user.

", + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + }, + { + "type": "string or null", + "name": "resolution_comment", + "description": "

An optional comment to resolve an alert.

" + }, + { + "type": "string", + "name": "secret_type", + "description": "

The type of secret that secret scanning detected.

" + }, + { + "type": "string", + "name": "secret_type_display_name", + "description": "

User-friendly name for the detected secret, matching the secret_type.\nFor a list of built-in patterns, see \"Supported secret scanning patterns.\"

" + }, + { + "type": "string or null", + "name": "provider", + "description": "

The provider of the secret that was detected.

" + }, + { + "type": "string or null", + "name": "provider_slug", + "description": "

The slug identifier for the provider of the secret that was detected.

" + }, + { + "type": "string", + "name": "validity", + "description": "

The token status as of the latest validity check.

", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + { + "type": "boolean or null", + "name": "push_protection_bypassed", + "description": "

Whether push protection was bypassed for the detected secret.

" }, { "type": "object or null", - "name": "resolved_by", + "name": "push_protection_bypassed_by", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -2473,37 +3113,12 @@ }, { "type": "string or null", - "name": "resolution_comment", - "description": "

An optional comment to resolve an alert.

" - }, - { - "type": "string", - "name": "secret_type", - "description": "

The type of secret that secret scanning detected.

" - }, - { - "type": "string", - "name": "secret_type_display_name", - "description": "

User-friendly name for the detected secret, matching the secret_type.\nFor a list of built-in patterns, see \"Supported secret scanning patterns.\"

" - }, - { - "type": "string", - "name": "validity", - "description": "

The token status as of the latest validity check.

", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - { - "type": "boolean or null", - "name": "push_protection_bypassed", - "description": "

Whether push protection was bypassed for the detected secret.

" + "name": "push_protection_bypassed_at", + "description": "

The time that push protection was bypassed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" }, { "type": "object or null", - "name": "push_protection_bypassed_by", + "name": "push_protection_bypass_request_reviewer", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -2638,12 +3253,32 @@ }, { "type": "string or null", - "name": "push_protection_bypassed_at", - "description": "

The time that push protection was bypassed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" + "name": "push_protection_bypass_request_reviewer_comment", + "description": "

An optional comment when reviewing a push protection bypass.

" + }, + { + "type": "string or null", + "name": "push_protection_bypass_request_comment", + "description": "

An optional comment when requesting a push protection bypass.

" + }, + { + "type": "string or null", + "name": "push_protection_bypass_request_html_url", + "description": "

The URL to a push protection bypass request.

" + }, + { + "type": "boolean or null", + "name": "publicly_leaked", + "description": "

Whether the detected secret was publicly leaked.

" + }, + { + "type": "boolean or null", + "name": "multi_repo", + "description": "

Whether the detected secret was found in multiple repositories in the same organization or business.

" }, { "type": "object or null", - "name": "push_protection_bypass_request_reviewer", + "name": "assigned_to", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -2778,32 +3413,17 @@ }, { "type": "string or null", - "name": "push_protection_bypass_request_reviewer_comment", - "description": "

An optional comment when reviewing a push protection bypass.

" - }, - { - "type": "string or null", - "name": "push_protection_bypass_request_comment", - "description": "

An optional comment when requesting a push protection bypass.

" + "name": "closure_request_comment", + "description": "

An optional comment from the closure request author.

" }, { "type": "string or null", - "name": "push_protection_bypass_request_html_url", - "description": "

The URL to a push protection bypass request.

" - }, - { - "type": "boolean or null", - "name": "publicly_leaked", - "description": "

Whether the detected secret was publicly leaked.

" - }, - { - "type": "boolean or null", - "name": "multi_repo", - "description": "

Whether the detected secret was found in multiple repositories in the same organization or business.

" + "name": "closure_request_reviewer_comment", + "description": "

An optional comment from the closure request reviewer.

" }, { "type": "object or null", - "name": "assigned_to", + "name": "closure_request_reviewer", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -3049,7 +3669,182 @@ }, { "type": "object or null", - "name": "resolved_by", + "name": "resolved_by", + "description": "

A GitHub user.

", + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + }, + { + "type": "string or null", + "name": "resolution_comment", + "description": "

An optional comment to resolve an alert.

" + }, + { + "type": "string", + "name": "secret_type", + "description": "

The type of secret that secret scanning detected.

" + }, + { + "type": "string", + "name": "secret_type_display_name", + "description": "

User-friendly name for the detected secret, matching the secret_type.\nFor a list of built-in patterns, see \"Supported secret scanning patterns.\"

" + }, + { + "type": "string or null", + "name": "provider", + "description": "

The provider of the secret that was detected.

" + }, + { + "type": "string or null", + "name": "provider_slug", + "description": "

The slug identifier for the provider of the secret that was detected.

" + }, + { + "type": "string", + "name": "validity", + "description": "

The token status as of the latest validity check.

", + "enum": [ + "active", + "inactive", + "unknown" + ] + }, + { + "type": "boolean or null", + "name": "push_protection_bypassed", + "description": "

Whether push protection was bypassed for the detected secret.

" + }, + { + "type": "object or null", + "name": "push_protection_bypassed_by", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -3184,37 +3979,12 @@ }, { "type": "string or null", - "name": "resolution_comment", - "description": "

An optional comment to resolve an alert.

" - }, - { - "type": "string", - "name": "secret_type", - "description": "

The type of secret that secret scanning detected.

" - }, - { - "type": "string", - "name": "secret_type_display_name", - "description": "

User-friendly name for the detected secret, matching the secret_type.\nFor a list of built-in patterns, see \"Supported secret scanning patterns.\"

" - }, - { - "type": "string", - "name": "validity", - "description": "

The token status as of the latest validity check.

", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - { - "type": "boolean or null", - "name": "push_protection_bypassed", - "description": "

Whether push protection was bypassed for the detected secret.

" + "name": "push_protection_bypassed_at", + "description": "

The time that push protection was bypassed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" }, { "type": "object or null", - "name": "push_protection_bypassed_by", + "name": "push_protection_bypass_request_reviewer", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -3349,12 +4119,32 @@ }, { "type": "string or null", - "name": "push_protection_bypassed_at", - "description": "

The time that push protection was bypassed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" + "name": "push_protection_bypass_request_reviewer_comment", + "description": "

An optional comment when reviewing a push protection bypass.

" + }, + { + "type": "string or null", + "name": "push_protection_bypass_request_comment", + "description": "

An optional comment when requesting a push protection bypass.

" + }, + { + "type": "string or null", + "name": "push_protection_bypass_request_html_url", + "description": "

The URL to a push protection bypass request.

" + }, + { + "type": "boolean or null", + "name": "publicly_leaked", + "description": "

Whether the detected secret was publicly leaked.

" + }, + { + "type": "boolean or null", + "name": "multi_repo", + "description": "

Whether the detected secret was found in multiple repositories in the same organization or business.

" }, { "type": "object or null", - "name": "push_protection_bypass_request_reviewer", + "name": "assigned_to", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -3489,32 +4279,17 @@ }, { "type": "string or null", - "name": "push_protection_bypass_request_reviewer_comment", - "description": "

An optional comment when reviewing a push protection bypass.

" - }, - { - "type": "string or null", - "name": "push_protection_bypass_request_comment", - "description": "

An optional comment when requesting a push protection bypass.

" + "name": "closure_request_comment", + "description": "

An optional comment from the closure request author.

" }, { "type": "string or null", - "name": "push_protection_bypass_request_html_url", - "description": "

The URL to a push protection bypass request.

" - }, - { - "type": "boolean or null", - "name": "publicly_leaked", - "description": "

Whether the detected secret was publicly leaked.

" - }, - { - "type": "boolean or null", - "name": "multi_repo", - "description": "

Whether the detected secret was found in multiple repositories in the same organization or business.

" + "name": "closure_request_reviewer_comment", + "description": "

An optional comment from the closure request reviewer.

" }, { "type": "object or null", - "name": "assigned_to", + "name": "closure_request_reviewer", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -3731,36 +4506,211 @@ }, { "type": "string", - "name": "html_url", - "description": "

The GitHub URL of the alert resource.

" + "name": "html_url", + "description": "

The GitHub URL of the alert resource.

" + }, + { + "type": "string", + "name": "locations_url", + "description": "

The REST API URL of the code locations for this alert.

" + }, + { + "type": "string or null", + "name": "resolution", + "description": "

The reason for resolving the alert.

", + "enum": [ + "false_positive", + "wont_fix", + "revoked", + "used_in_tests", + "pattern_deleted", + "pattern_edited", + null + ] + }, + { + "type": "string or null", + "name": "resolved_at", + "description": "

The time that the alert was resolved in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" + }, + { + "type": "object or null", + "name": "resolved_by", + "description": "

A GitHub user.

", + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] + }, + { + "type": "string or null", + "name": "resolution_comment", + "description": "

An optional comment to resolve an alert.

" + }, + { + "type": "string", + "name": "secret_type", + "description": "

The type of secret that secret scanning detected.

" + }, + { + "type": "string", + "name": "secret_type_display_name", + "description": "

User-friendly name for the detected secret, matching the secret_type.\nFor a list of built-in patterns, see \"Supported secret scanning patterns.\"

" }, { - "type": "string", - "name": "locations_url", - "description": "

The REST API URL of the code locations for this alert.

" + "type": "string or null", + "name": "provider", + "description": "

The provider of the secret that was detected.

" }, { "type": "string or null", - "name": "resolution", - "description": "

The reason for resolving the alert.

", + "name": "provider_slug", + "description": "

The slug identifier for the provider of the secret that was detected.

" + }, + { + "type": "string", + "name": "validity", + "description": "

The token status as of the latest validity check.

", "enum": [ - "false_positive", - "wont_fix", - "revoked", - "used_in_tests", - "pattern_deleted", - "pattern_edited", - null + "active", + "inactive", + "unknown" ] }, { - "type": "string or null", - "name": "resolved_at", - "description": "

The time that the alert was resolved in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" + "type": "boolean or null", + "name": "push_protection_bypassed", + "description": "

Whether push protection was bypassed for the detected secret.

" }, { "type": "object or null", - "name": "resolved_by", + "name": "push_protection_bypassed_by", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -3895,37 +4845,12 @@ }, { "type": "string or null", - "name": "resolution_comment", - "description": "

An optional comment to resolve an alert.

" - }, - { - "type": "string", - "name": "secret_type", - "description": "

The type of secret that secret scanning detected.

" - }, - { - "type": "string", - "name": "secret_type_display_name", - "description": "

User-friendly name for the detected secret, matching the secret_type.\nFor a list of built-in patterns, see \"Supported secret scanning patterns.\"

" - }, - { - "type": "string", - "name": "validity", - "description": "

The token status as of the latest validity check.

", - "enum": [ - "active", - "inactive", - "unknown" - ] - }, - { - "type": "boolean or null", - "name": "push_protection_bypassed", - "description": "

Whether push protection was bypassed for the detected secret.

" + "name": "push_protection_bypassed_at", + "description": "

The time that push protection was bypassed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" }, { "type": "object or null", - "name": "push_protection_bypassed_by", + "name": "push_protection_bypass_request_reviewer", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -4060,12 +4985,32 @@ }, { "type": "string or null", - "name": "push_protection_bypassed_at", - "description": "

The time that push protection was bypassed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

" + "name": "push_protection_bypass_request_reviewer_comment", + "description": "

An optional comment when reviewing a push protection bypass.

" + }, + { + "type": "string or null", + "name": "push_protection_bypass_request_comment", + "description": "

An optional comment when requesting a push protection bypass.

" + }, + { + "type": "string or null", + "name": "push_protection_bypass_request_html_url", + "description": "

The URL to a push protection bypass request.

" + }, + { + "type": "boolean or null", + "name": "publicly_leaked", + "description": "

Whether the detected secret was publicly leaked.

" + }, + { + "type": "boolean or null", + "name": "multi_repo", + "description": "

Whether the detected secret was found in multiple repositories in the same organization or business.

" }, { "type": "object or null", - "name": "push_protection_bypass_request_reviewer", + "name": "assigned_to", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -4200,32 +5145,17 @@ }, { "type": "string or null", - "name": "push_protection_bypass_request_reviewer_comment", - "description": "

An optional comment when reviewing a push protection bypass.

" - }, - { - "type": "string or null", - "name": "push_protection_bypass_request_comment", - "description": "

An optional comment when requesting a push protection bypass.

" + "name": "closure_request_comment", + "description": "

An optional comment from the closure request author.

" }, { "type": "string or null", - "name": "push_protection_bypass_request_html_url", - "description": "

The URL to a push protection bypass request.

" - }, - { - "type": "boolean or null", - "name": "publicly_leaked", - "description": "

Whether the detected secret was publicly leaked.

" - }, - { - "type": "boolean or null", - "name": "multi_repo", - "description": "

Whether the detected secret was found in multiple repositories in the same organization or business.

" + "name": "closure_request_reviewer_comment", + "description": "

An optional comment from the closure request reviewer.

" }, { "type": "object or null", - "name": "assigned_to", + "name": "closure_request_reviewer", "description": "

A GitHub user.

", "childParamsGroups": [ { @@ -4754,6 +5684,16 @@ "name": "secret_type_display_name", "description": "

User-friendly name for the detected secret, matching the secret_type.\nFor a list of built-in patterns, see \"Supported secret scanning patterns.\"

" }, + { + "type": "string or null", + "name": "provider", + "description": "

The provider of the secret that was detected.

" + }, + { + "type": "string or null", + "name": "provider_slug", + "description": "

The slug identifier for the provider of the secret that was detected.

" + }, { "type": "string", "name": "validity", @@ -5203,6 +6143,151 @@ "description": "" } ] + }, + { + "type": "string or null", + "name": "closure_request_comment", + "description": "

An optional comment from the closure request author.

" + }, + { + "type": "string or null", + "name": "closure_request_reviewer_comment", + "description": "

An optional comment from the closure request reviewer.

" + }, + { + "type": "object or null", + "name": "closure_request_reviewer", + "description": "

A GitHub user.

", + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] } ] }, diff --git a/src/webhooks/data/ghec/secret_scanning_alert_location.json b/src/webhooks/data/ghec/secret_scanning_alert_location.json index 6509e4b82896..de57567d8163 100644 --- a/src/webhooks/data/ghec/secret_scanning_alert_location.json +++ b/src/webhooks/data/ghec/secret_scanning_alert_location.json @@ -217,6 +217,16 @@ "name": "secret_type_display_name", "description": "

User-friendly name for the detected secret, matching the secret_type.\nFor a list of built-in patterns, see \"Supported secret scanning patterns.\"

" }, + { + "type": "string or null", + "name": "provider", + "description": "

The provider of the secret that was detected.

" + }, + { + "type": "string or null", + "name": "provider_slug", + "description": "

The slug identifier for the provider of the secret that was detected.

" + }, { "type": "string", "name": "validity", @@ -666,6 +676,151 @@ "description": "" } ] + }, + { + "type": "string or null", + "name": "closure_request_comment", + "description": "

An optional comment from the closure request author.

" + }, + { + "type": "string or null", + "name": "closure_request_reviewer_comment", + "description": "

An optional comment from the closure request reviewer.

" + }, + { + "type": "object or null", + "name": "closure_request_reviewer", + "description": "

A GitHub user.

", + "childParamsGroups": [ + { + "type": "string or null", + "name": "name", + "description": "" + }, + { + "type": "string or null", + "name": "email", + "description": "" + }, + { + "type": "string", + "name": "login", + "description": "", + "isRequired": true + }, + { + "type": "integer", + "name": "id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "node_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "avatar_url", + "description": "", + "isRequired": true + }, + { + "type": "string or null", + "name": "gravatar_id", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "followers_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "following_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "gists_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "subscriptions_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "organizations_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "repos_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "received_events_url", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "type", + "description": "", + "isRequired": true + }, + { + "type": "boolean", + "name": "site_admin", + "description": "", + "isRequired": true + }, + { + "type": "string", + "name": "starred_at", + "description": "" + }, + { + "type": "string", + "name": "user_view_type", + "description": "" + } + ] } ] }, @@ -764,6 +919,11 @@ "name": "commit_url", "description": "

The API URL to get the associated commit resource

", "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "

The GitHub URL to get the associated commit resource.

" } ] }, @@ -838,6 +998,11 @@ "name": "issue_title_url", "description": "

The API URL to get the issue where the secret was detected.

", "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "

The GitHub URL for the issue where the secret was detected.

" } ] }, @@ -851,6 +1016,11 @@ "name": "issue_body_url", "description": "

The API URL to get the issue where the secret was detected.

", "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "

The GitHub URL for the issue where the secret was detected.

" } ] }, @@ -864,6 +1034,11 @@ "name": "issue_comment_url", "description": "

The API URL to get the issue comment where the secret was detected.

", "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "

The GitHub URL for the issue comment where the secret was detected.

" } ] }, @@ -916,6 +1091,11 @@ "name": "pull_request_title_url", "description": "

The API URL to get the pull request where the secret was detected.

", "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "

The GitHub URL for the pull request where the secret was detected.

" } ] }, @@ -929,6 +1109,11 @@ "name": "pull_request_body_url", "description": "

The API URL to get the pull request where the secret was detected.

", "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "

The GitHub URL for the pull request where the secret was detected.

" } ] }, @@ -942,6 +1127,11 @@ "name": "pull_request_comment_url", "description": "

The API URL to get the pull request comment where the secret was detected.

", "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "

The GitHub URL for the pull request comment where the secret was detected.

" } ] }, @@ -955,6 +1145,11 @@ "name": "pull_request_review_url", "description": "

The API URL to get the pull request review where the secret was detected.

", "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "

The GitHub URL for the pull request review where the secret was detected.

" } ] }, @@ -968,6 +1163,11 @@ "name": "pull_request_review_comment_url", "description": "

The API URL to get the pull request review comment where the secret was detected.

", "isRequired": true + }, + { + "type": "string", + "name": "html_url", + "description": "

The GitHub URL for the pull request review comment where the secret was detected.

" } ] } diff --git a/src/webhooks/data/ghec/security_and_analysis.json b/src/webhooks/data/ghec/security_and_analysis.json index 3f9d1d6f8645..7c5ee649590e 100644 --- a/src/webhooks/data/ghec/security_and_analysis.json +++ b/src/webhooks/data/ghec/security_and_analysis.json @@ -204,6 +204,16 @@ "TEAM", "ROLE" ] + }, + { + "type": "string", + "name": "mode", + "description": "

The bypass mode for the reviewer

", + "enum": [ + "ALWAYS", + "EXEMPT" + ], + "default": "ALWAYS" } ] } diff --git a/src/webhooks/data/ghec/sub_issues.json b/src/webhooks/data/ghec/sub_issues.json index 2ca63d8b17f0..2d82fce84a2c 100644 --- a/src/webhooks/data/ghec/sub_issues.json +++ b/src/webhooks/data/ghec/sub_issues.json @@ -1688,12 +1688,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -3162,12 +3156,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -5022,12 +5010,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -7577,12 +7559,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -9051,12 +9027,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -10911,12 +10881,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -13466,12 +13430,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -14940,12 +14898,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -16800,12 +16752,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -19355,12 +19301,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -20829,12 +20769,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -22689,12 +22623,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghes-3.14/bypass_request_secret_scanning.json b/src/webhooks/data/ghes-3.14/bypass_request_secret_scanning.json index 9ffd2ebeeef4..50955d220459 100644 --- a/src/webhooks/data/ghes-3.14/bypass_request_secret_scanning.json +++ b/src/webhooks/data/ghes-3.14/bypass_request_secret_scanning.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -833,7 +889,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1028,6 +1085,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1211,7 +1295,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1406,6 +1491,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1632,7 +1744,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1827,6 +1940,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghes-3.14/check_run.json b/src/webhooks/data/ghes-3.14/check_run.json index 5e779b49e53d..4f21dbe9a234 100644 --- a/src/webhooks/data/ghes-3.14/check_run.json +++ b/src/webhooks/data/ghes-3.14/check_run.json @@ -1350,11 +1350,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -3361,11 +3356,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -5373,11 +5363,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -7396,11 +7381,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghes-3.14/deployment_protection_rule.json b/src/webhooks/data/ghes-3.14/deployment_protection_rule.json index 7b58dafb034f..718380747b81 100644 --- a/src/webhooks/data/ghes-3.14/deployment_protection_rule.json +++ b/src/webhooks/data/ghes-3.14/deployment_protection_rule.json @@ -2016,12 +2016,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -3004,12 +2998,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghes-3.14/discussion.json b/src/webhooks/data/ghes-3.14/discussion.json index 7a1b934594e7..3fa78280dcdb 100644 --- a/src/webhooks/data/ghes-3.14/discussion.json +++ b/src/webhooks/data/ghes-3.14/discussion.json @@ -8073,12 +8073,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghes-3.14/issues.json b/src/webhooks/data/ghes-3.14/issues.json index b1034837c509..e576b64f8f76 100644 --- a/src/webhooks/data/ghes-3.14/issues.json +++ b/src/webhooks/data/ghes-3.14/issues.json @@ -17765,12 +17765,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "has_downloads", @@ -26315,12 +26309,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.14/pull_request.json b/src/webhooks/data/ghes-3.14/pull_request.json index 26672ea94e00..cbae533d9c58 100644 --- a/src/webhooks/data/ghes-3.14/pull_request.json +++ b/src/webhooks/data/ghes-3.14/pull_request.json @@ -898,12 +898,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1911,12 +1905,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4169,12 +4157,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "has_pages", @@ -5202,12 +5184,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7485,12 +7461,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8498,12 +8468,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -11785,12 +11749,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -12773,12 +12731,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -15474,12 +15426,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -16462,12 +16408,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -18392,12 +18332,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -19405,12 +19339,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -22756,12 +22684,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -23744,12 +23666,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -25490,12 +25406,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -26503,12 +26413,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -28782,12 +28686,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -29795,12 +29693,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -32306,12 +32198,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -33319,12 +33205,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -36601,12 +36481,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -37589,12 +37463,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -40290,12 +40158,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -41278,12 +41140,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -43979,12 +43835,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -44967,12 +44817,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -46664,12 +46508,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -47677,12 +47515,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -50250,12 +50082,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -51263,12 +51089,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -53833,12 +53653,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -54846,12 +54660,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -57250,12 +57058,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -58263,12 +58065,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -60591,12 +60387,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -61604,12 +61394,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -63882,12 +63666,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -64895,12 +64673,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.14/pull_request_review.json b/src/webhooks/data/ghes-3.14/pull_request_review.json index a463084b4f7c..d11526b28d28 100644 --- a/src/webhooks/data/ghes-3.14/pull_request_review.json +++ b/src/webhooks/data/ghes-3.14/pull_request_review.json @@ -762,12 +762,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1755,12 +1749,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7324,12 +7312,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8317,12 +8299,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.14/pull_request_review_comment.json b/src/webhooks/data/ghes-3.14/pull_request_review_comment.json index db92b020481f..634b1a5d3cd5 100644 --- a/src/webhooks/data/ghes-3.14/pull_request_review_comment.json +++ b/src/webhooks/data/ghes-3.14/pull_request_review_comment.json @@ -768,12 +768,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1759,12 +1753,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -3878,12 +3866,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4870,12 +4852,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7009,12 +6985,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8001,12 +7971,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.14/pull_request_review_thread.json b/src/webhooks/data/ghes-3.14/pull_request_review_thread.json index 1a617606ba64..62043102f29f 100644 --- a/src/webhooks/data/ghes-3.14/pull_request_review_thread.json +++ b/src/webhooks/data/ghes-3.14/pull_request_review_thread.json @@ -761,12 +761,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1710,12 +1704,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4214,12 +4202,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -5163,12 +5145,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.15/bypass_request_secret_scanning.json b/src/webhooks/data/ghes-3.15/bypass_request_secret_scanning.json index 69f0b160ddc1..4acb30c7c3b3 100644 --- a/src/webhooks/data/ghes-3.15/bypass_request_secret_scanning.json +++ b/src/webhooks/data/ghes-3.15/bypass_request_secret_scanning.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -833,7 +889,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1028,6 +1085,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1211,7 +1295,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1406,6 +1491,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1632,7 +1744,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1827,6 +1940,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghes-3.15/check_run.json b/src/webhooks/data/ghes-3.15/check_run.json index 0423a9bc28f8..68394381b505 100644 --- a/src/webhooks/data/ghes-3.15/check_run.json +++ b/src/webhooks/data/ghes-3.15/check_run.json @@ -1360,11 +1360,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -3397,11 +3392,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -5435,11 +5425,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -7484,11 +7469,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghes-3.15/deployment_protection_rule.json b/src/webhooks/data/ghes-3.15/deployment_protection_rule.json index d8003f4be4ea..41b9296911e6 100644 --- a/src/webhooks/data/ghes-3.15/deployment_protection_rule.json +++ b/src/webhooks/data/ghes-3.15/deployment_protection_rule.json @@ -2016,12 +2016,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -3004,12 +2998,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghes-3.15/discussion.json b/src/webhooks/data/ghes-3.15/discussion.json index e732e638779a..085d1fbf2e71 100644 --- a/src/webhooks/data/ghes-3.15/discussion.json +++ b/src/webhooks/data/ghes-3.15/discussion.json @@ -8073,12 +8073,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghes-3.15/issues.json b/src/webhooks/data/ghes-3.15/issues.json index 5807a926a7ee..8b32358ce30a 100644 --- a/src/webhooks/data/ghes-3.15/issues.json +++ b/src/webhooks/data/ghes-3.15/issues.json @@ -17765,12 +17765,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "has_downloads", @@ -26315,12 +26309,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.15/pull_request.json b/src/webhooks/data/ghes-3.15/pull_request.json index 0bda00d93452..16a8f6c8b1f1 100644 --- a/src/webhooks/data/ghes-3.15/pull_request.json +++ b/src/webhooks/data/ghes-3.15/pull_request.json @@ -898,12 +898,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1911,12 +1905,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4169,12 +4157,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "has_pages", @@ -5202,12 +5184,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7485,12 +7461,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8498,12 +8468,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -11785,12 +11749,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -12773,12 +12731,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -15474,12 +15426,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -16462,12 +16408,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -18392,12 +18332,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -19405,12 +19339,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -22756,12 +22684,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -23744,12 +23666,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -25490,12 +25406,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -26503,12 +26413,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -28782,12 +28686,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -29795,12 +29693,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -32306,12 +32198,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -33319,12 +33205,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -36601,12 +36481,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -37589,12 +37463,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -40290,12 +40158,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -41278,12 +41140,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -43979,12 +43835,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -44967,12 +44817,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -46664,12 +46508,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -47677,12 +47515,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -50250,12 +50082,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -51263,12 +51089,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -53833,12 +53653,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -54846,12 +54660,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -57250,12 +57058,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -58263,12 +58065,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -60591,12 +60387,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -61604,12 +61394,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -63882,12 +63666,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -64895,12 +64673,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.15/pull_request_review.json b/src/webhooks/data/ghes-3.15/pull_request_review.json index ae49a5417851..08d413280af8 100644 --- a/src/webhooks/data/ghes-3.15/pull_request_review.json +++ b/src/webhooks/data/ghes-3.15/pull_request_review.json @@ -762,12 +762,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1755,12 +1749,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7324,12 +7312,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8317,12 +8299,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.15/pull_request_review_comment.json b/src/webhooks/data/ghes-3.15/pull_request_review_comment.json index 854c300340b1..033adc549845 100644 --- a/src/webhooks/data/ghes-3.15/pull_request_review_comment.json +++ b/src/webhooks/data/ghes-3.15/pull_request_review_comment.json @@ -768,12 +768,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1759,12 +1753,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -3878,12 +3866,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4870,12 +4852,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7009,12 +6985,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8001,12 +7971,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.15/pull_request_review_thread.json b/src/webhooks/data/ghes-3.15/pull_request_review_thread.json index f6b16a41edd3..ce5ea8442ff0 100644 --- a/src/webhooks/data/ghes-3.15/pull_request_review_thread.json +++ b/src/webhooks/data/ghes-3.15/pull_request_review_thread.json @@ -761,12 +761,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1710,12 +1704,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4214,12 +4202,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -5163,12 +5145,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.16/bypass_request_secret_scanning.json b/src/webhooks/data/ghes-3.16/bypass_request_secret_scanning.json index e95adeabcca6..e5ea305b9dd9 100644 --- a/src/webhooks/data/ghes-3.16/bypass_request_secret_scanning.json +++ b/src/webhooks/data/ghes-3.16/bypass_request_secret_scanning.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -833,7 +889,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1028,6 +1085,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1211,7 +1295,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1406,6 +1491,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1632,7 +1744,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1827,6 +1940,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghes-3.16/check_run.json b/src/webhooks/data/ghes-3.16/check_run.json index 2c9ea7074ae8..5754582ed7c1 100644 --- a/src/webhooks/data/ghes-3.16/check_run.json +++ b/src/webhooks/data/ghes-3.16/check_run.json @@ -1360,11 +1360,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -3397,11 +3392,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -5435,11 +5425,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -7484,11 +7469,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghes-3.16/deployment_protection_rule.json b/src/webhooks/data/ghes-3.16/deployment_protection_rule.json index dcd7c04412c1..e8ede9bd9e4d 100644 --- a/src/webhooks/data/ghes-3.16/deployment_protection_rule.json +++ b/src/webhooks/data/ghes-3.16/deployment_protection_rule.json @@ -2016,12 +2016,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -3004,12 +2998,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghes-3.16/discussion.json b/src/webhooks/data/ghes-3.16/discussion.json index f19e32df672e..f7d227bed0e1 100644 --- a/src/webhooks/data/ghes-3.16/discussion.json +++ b/src/webhooks/data/ghes-3.16/discussion.json @@ -8073,12 +8073,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghes-3.16/exemption_request_push_ruleset.json b/src/webhooks/data/ghes-3.16/exemption_request_push_ruleset.json index 78b3657394ab..a7f8a60c2095 100644 --- a/src/webhooks/data/ghes-3.16/exemption_request_push_ruleset.json +++ b/src/webhooks/data/ghes-3.16/exemption_request_push_ruleset.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -833,7 +889,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1028,6 +1085,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1211,7 +1295,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1406,6 +1491,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1632,7 +1744,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1827,6 +1940,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghes-3.16/issues.json b/src/webhooks/data/ghes-3.16/issues.json index dc0070538d67..67a139aca2d0 100644 --- a/src/webhooks/data/ghes-3.16/issues.json +++ b/src/webhooks/data/ghes-3.16/issues.json @@ -17765,12 +17765,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "has_downloads", @@ -26315,12 +26309,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.16/pull_request.json b/src/webhooks/data/ghes-3.16/pull_request.json index 80341c71420b..24dce0929d68 100644 --- a/src/webhooks/data/ghes-3.16/pull_request.json +++ b/src/webhooks/data/ghes-3.16/pull_request.json @@ -898,12 +898,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1911,12 +1905,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4169,12 +4157,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "has_pages", @@ -5202,12 +5184,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7485,12 +7461,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8498,12 +8468,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -11785,12 +11749,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -12773,12 +12731,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -15474,12 +15426,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -16462,12 +16408,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -18392,12 +18332,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -19405,12 +19339,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -22756,12 +22684,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -23744,12 +23666,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -25490,12 +25406,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -26503,12 +26413,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -28782,12 +28686,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -29795,12 +29693,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -32306,12 +32198,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -33319,12 +33205,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -36601,12 +36481,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -37589,12 +37463,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -40290,12 +40158,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -41278,12 +41140,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -43979,12 +43835,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -44967,12 +44817,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -46664,12 +46508,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -47677,12 +47515,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -50250,12 +50082,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -51263,12 +51089,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -53833,12 +53653,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -54846,12 +54660,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -57250,12 +57058,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -58263,12 +58065,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -60591,12 +60387,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -61604,12 +61394,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -63882,12 +63666,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -64895,12 +64673,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.16/pull_request_review.json b/src/webhooks/data/ghes-3.16/pull_request_review.json index 81a6c0fa0f49..17fc3496a6f7 100644 --- a/src/webhooks/data/ghes-3.16/pull_request_review.json +++ b/src/webhooks/data/ghes-3.16/pull_request_review.json @@ -762,12 +762,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1755,12 +1749,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7324,12 +7312,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8317,12 +8299,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.16/pull_request_review_comment.json b/src/webhooks/data/ghes-3.16/pull_request_review_comment.json index fe62da1b5d0a..e555c814640d 100644 --- a/src/webhooks/data/ghes-3.16/pull_request_review_comment.json +++ b/src/webhooks/data/ghes-3.16/pull_request_review_comment.json @@ -768,12 +768,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1759,12 +1753,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -3878,12 +3866,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4870,12 +4852,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7009,12 +6985,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8001,12 +7971,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.16/pull_request_review_thread.json b/src/webhooks/data/ghes-3.16/pull_request_review_thread.json index 9edb131d98d5..6f111ff92354 100644 --- a/src/webhooks/data/ghes-3.16/pull_request_review_thread.json +++ b/src/webhooks/data/ghes-3.16/pull_request_review_thread.json @@ -761,12 +761,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1710,12 +1704,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4214,12 +4202,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -5163,12 +5145,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.17/bypass_request_secret_scanning.json b/src/webhooks/data/ghes-3.17/bypass_request_secret_scanning.json index 8f08743dce41..4a0852b124f1 100644 --- a/src/webhooks/data/ghes-3.17/bypass_request_secret_scanning.json +++ b/src/webhooks/data/ghes-3.17/bypass_request_secret_scanning.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -833,7 +889,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1028,6 +1085,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1211,7 +1295,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1406,6 +1491,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1632,7 +1744,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1827,6 +1940,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghes-3.17/check_run.json b/src/webhooks/data/ghes-3.17/check_run.json index cc02632a9bf8..c2f092eb9270 100644 --- a/src/webhooks/data/ghes-3.17/check_run.json +++ b/src/webhooks/data/ghes-3.17/check_run.json @@ -1360,11 +1360,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -3413,11 +3408,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -5467,11 +5457,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -7532,11 +7517,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghes-3.17/deployment_protection_rule.json b/src/webhooks/data/ghes-3.17/deployment_protection_rule.json index 6178ea33d1d6..de7607fa7bee 100644 --- a/src/webhooks/data/ghes-3.17/deployment_protection_rule.json +++ b/src/webhooks/data/ghes-3.17/deployment_protection_rule.json @@ -2016,12 +2016,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -3004,12 +2998,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghes-3.17/discussion.json b/src/webhooks/data/ghes-3.17/discussion.json index a2a4102e7143..205b29a4d69a 100644 --- a/src/webhooks/data/ghes-3.17/discussion.json +++ b/src/webhooks/data/ghes-3.17/discussion.json @@ -8073,12 +8073,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghes-3.17/dismissal_request_code_scanning.json b/src/webhooks/data/ghes-3.17/dismissal_request_code_scanning.json index 843cf2872423..39fa79e9ee6d 100644 --- a/src/webhooks/data/ghes-3.17/dismissal_request_code_scanning.json +++ b/src/webhooks/data/ghes-3.17/dismissal_request_code_scanning.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghes-3.17/dismissal_request_dependabot.json b/src/webhooks/data/ghes-3.17/dismissal_request_dependabot.json index dccd1150926a..55181798a953 100644 --- a/src/webhooks/data/ghes-3.17/dismissal_request_dependabot.json +++ b/src/webhooks/data/ghes-3.17/dismissal_request_dependabot.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -833,7 +889,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1028,6 +1085,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghes-3.17/dismissal_request_secret_scanning.json b/src/webhooks/data/ghes-3.17/dismissal_request_secret_scanning.json index 6160dec05555..bb8cdb407ce1 100644 --- a/src/webhooks/data/ghes-3.17/dismissal_request_secret_scanning.json +++ b/src/webhooks/data/ghes-3.17/dismissal_request_secret_scanning.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -833,7 +889,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1028,6 +1085,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1211,7 +1295,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1406,6 +1491,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1632,7 +1744,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1827,6 +1940,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghes-3.17/exemption_request_push_ruleset.json b/src/webhooks/data/ghes-3.17/exemption_request_push_ruleset.json index bbfad4e77033..6440780e9b1d 100644 --- a/src/webhooks/data/ghes-3.17/exemption_request_push_ruleset.json +++ b/src/webhooks/data/ghes-3.17/exemption_request_push_ruleset.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -833,7 +889,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1028,6 +1085,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1211,7 +1295,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1406,6 +1491,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1632,7 +1744,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1827,6 +1940,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghes-3.17/issues.json b/src/webhooks/data/ghes-3.17/issues.json index 5c1df29a3530..05d46ac987d3 100644 --- a/src/webhooks/data/ghes-3.17/issues.json +++ b/src/webhooks/data/ghes-3.17/issues.json @@ -17765,12 +17765,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "has_downloads", @@ -26315,12 +26309,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.17/pull_request.json b/src/webhooks/data/ghes-3.17/pull_request.json index 8d9e03d3ce5a..676b3c0b006a 100644 --- a/src/webhooks/data/ghes-3.17/pull_request.json +++ b/src/webhooks/data/ghes-3.17/pull_request.json @@ -898,12 +898,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1911,12 +1905,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4169,12 +4157,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "has_pages", @@ -5202,12 +5184,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7485,12 +7461,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8498,12 +8468,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -11785,12 +11749,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -12773,12 +12731,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -15474,12 +15426,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -16462,12 +16408,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -18392,12 +18332,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -19405,12 +19339,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -22756,12 +22684,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -23744,12 +23666,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -25490,12 +25406,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -26503,12 +26413,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -28782,12 +28686,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -29795,12 +29693,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -32306,12 +32198,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -33319,12 +33205,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -36601,12 +36481,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -37589,12 +37463,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -40290,12 +40158,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -41278,12 +41140,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -43979,12 +43835,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -44967,12 +44817,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -46664,12 +46508,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -47677,12 +47515,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -50250,12 +50082,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -51263,12 +51089,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -53833,12 +53653,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -54846,12 +54660,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -57250,12 +57058,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -58263,12 +58065,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -60591,12 +60387,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -61604,12 +61394,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -63882,12 +63666,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -64895,12 +64673,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.17/pull_request_review.json b/src/webhooks/data/ghes-3.17/pull_request_review.json index aff62a75d9ea..a3bbc108b90b 100644 --- a/src/webhooks/data/ghes-3.17/pull_request_review.json +++ b/src/webhooks/data/ghes-3.17/pull_request_review.json @@ -762,12 +762,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1755,12 +1749,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7324,12 +7312,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8317,12 +8299,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.17/pull_request_review_comment.json b/src/webhooks/data/ghes-3.17/pull_request_review_comment.json index 4c5df1a1bd35..36f20af85c00 100644 --- a/src/webhooks/data/ghes-3.17/pull_request_review_comment.json +++ b/src/webhooks/data/ghes-3.17/pull_request_review_comment.json @@ -768,12 +768,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1759,12 +1753,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -3878,12 +3866,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4870,12 +4852,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7009,12 +6985,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8001,12 +7971,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.17/pull_request_review_thread.json b/src/webhooks/data/ghes-3.17/pull_request_review_thread.json index ee2721b84397..0a9e04ed8e78 100644 --- a/src/webhooks/data/ghes-3.17/pull_request_review_thread.json +++ b/src/webhooks/data/ghes-3.17/pull_request_review_thread.json @@ -761,12 +761,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1710,12 +1704,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4214,12 +4202,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -5163,12 +5145,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.18/bypass_request_secret_scanning.json b/src/webhooks/data/ghes-3.18/bypass_request_secret_scanning.json index 7d4b6f49c629..ceed27c725c8 100644 --- a/src/webhooks/data/ghes-3.18/bypass_request_secret_scanning.json +++ b/src/webhooks/data/ghes-3.18/bypass_request_secret_scanning.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -833,7 +889,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1028,6 +1085,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1211,7 +1295,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1406,6 +1491,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1632,7 +1744,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1827,6 +1940,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghes-3.18/check_run.json b/src/webhooks/data/ghes-3.18/check_run.json index e39e472f0db9..342449e8c9c4 100644 --- a/src/webhooks/data/ghes-3.18/check_run.json +++ b/src/webhooks/data/ghes-3.18/check_run.json @@ -1360,11 +1360,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -3418,11 +3413,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -5477,11 +5467,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -7547,11 +7532,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghes-3.18/deployment_protection_rule.json b/src/webhooks/data/ghes-3.18/deployment_protection_rule.json index cb8e8776e20c..d6d9561f507c 100644 --- a/src/webhooks/data/ghes-3.18/deployment_protection_rule.json +++ b/src/webhooks/data/ghes-3.18/deployment_protection_rule.json @@ -2016,12 +2016,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -3004,12 +2998,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghes-3.18/discussion.json b/src/webhooks/data/ghes-3.18/discussion.json index 063701608338..af0fe3428c97 100644 --- a/src/webhooks/data/ghes-3.18/discussion.json +++ b/src/webhooks/data/ghes-3.18/discussion.json @@ -8073,12 +8073,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghes-3.18/dismissal_request_code_scanning.json b/src/webhooks/data/ghes-3.18/dismissal_request_code_scanning.json index f69c2bb8f7a1..9b60492dd5ce 100644 --- a/src/webhooks/data/ghes-3.18/dismissal_request_code_scanning.json +++ b/src/webhooks/data/ghes-3.18/dismissal_request_code_scanning.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghes-3.18/dismissal_request_dependabot.json b/src/webhooks/data/ghes-3.18/dismissal_request_dependabot.json index 76504768b833..e03cfdaf9661 100644 --- a/src/webhooks/data/ghes-3.18/dismissal_request_dependabot.json +++ b/src/webhooks/data/ghes-3.18/dismissal_request_dependabot.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -833,7 +889,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1028,6 +1085,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghes-3.18/dismissal_request_secret_scanning.json b/src/webhooks/data/ghes-3.18/dismissal_request_secret_scanning.json index 8e45ba494fd9..49980af39d48 100644 --- a/src/webhooks/data/ghes-3.18/dismissal_request_secret_scanning.json +++ b/src/webhooks/data/ghes-3.18/dismissal_request_secret_scanning.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -833,7 +889,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1028,6 +1085,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1211,7 +1295,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1406,6 +1491,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1632,7 +1744,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1827,6 +1940,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghes-3.18/exemption_request_push_ruleset.json b/src/webhooks/data/ghes-3.18/exemption_request_push_ruleset.json index dcc634f41d8b..95a2bc60a212 100644 --- a/src/webhooks/data/ghes-3.18/exemption_request_push_ruleset.json +++ b/src/webhooks/data/ghes-3.18/exemption_request_push_ruleset.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -833,7 +889,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1028,6 +1085,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1211,7 +1295,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1406,6 +1491,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1632,7 +1744,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1827,6 +1940,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghes-3.18/issues.json b/src/webhooks/data/ghes-3.18/issues.json index ef7082d5adb5..cd7b997e79f1 100644 --- a/src/webhooks/data/ghes-3.18/issues.json +++ b/src/webhooks/data/ghes-3.18/issues.json @@ -17765,12 +17765,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "has_downloads", @@ -26315,12 +26309,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.18/pull_request.json b/src/webhooks/data/ghes-3.18/pull_request.json index c76761d68e8c..3b6e04528e1e 100644 --- a/src/webhooks/data/ghes-3.18/pull_request.json +++ b/src/webhooks/data/ghes-3.18/pull_request.json @@ -898,12 +898,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1911,12 +1905,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4169,12 +4157,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "has_pages", @@ -5202,12 +5184,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7485,12 +7461,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8498,12 +8468,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -11785,12 +11749,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -12773,12 +12731,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -15474,12 +15426,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -16462,12 +16408,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -18392,12 +18332,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -19405,12 +19339,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -22756,12 +22684,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -23744,12 +23666,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -25490,12 +25406,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -26503,12 +26413,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -28782,12 +28686,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -29795,12 +29693,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -32306,12 +32198,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -33319,12 +33205,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -36601,12 +36481,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -37589,12 +37463,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -40290,12 +40158,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -41278,12 +41140,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -43979,12 +43835,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -44967,12 +44817,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -46664,12 +46508,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -47677,12 +47515,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -50250,12 +50082,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -51263,12 +51089,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -53833,12 +53653,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -54846,12 +54660,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -57250,12 +57058,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -58263,12 +58065,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -60591,12 +60387,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -61604,12 +61394,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -63882,12 +63666,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -64895,12 +64673,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.18/pull_request_review.json b/src/webhooks/data/ghes-3.18/pull_request_review.json index fa5cea9ce507..ad09d0a9fead 100644 --- a/src/webhooks/data/ghes-3.18/pull_request_review.json +++ b/src/webhooks/data/ghes-3.18/pull_request_review.json @@ -762,12 +762,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1755,12 +1749,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7324,12 +7312,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8317,12 +8299,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.18/pull_request_review_comment.json b/src/webhooks/data/ghes-3.18/pull_request_review_comment.json index dd1238f30078..d8558f5c9044 100644 --- a/src/webhooks/data/ghes-3.18/pull_request_review_comment.json +++ b/src/webhooks/data/ghes-3.18/pull_request_review_comment.json @@ -768,12 +768,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1759,12 +1753,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -3878,12 +3866,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4870,12 +4852,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7009,12 +6985,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8001,12 +7971,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.18/pull_request_review_thread.json b/src/webhooks/data/ghes-3.18/pull_request_review_thread.json index 0cb882ae5041..3f638493f36d 100644 --- a/src/webhooks/data/ghes-3.18/pull_request_review_thread.json +++ b/src/webhooks/data/ghes-3.18/pull_request_review_thread.json @@ -761,12 +761,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1710,12 +1704,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4214,12 +4202,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -5163,12 +5145,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.19/bypass_request_secret_scanning.json b/src/webhooks/data/ghes-3.19/bypass_request_secret_scanning.json index 026fe908e254..b9127189233c 100644 --- a/src/webhooks/data/ghes-3.19/bypass_request_secret_scanning.json +++ b/src/webhooks/data/ghes-3.19/bypass_request_secret_scanning.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -833,7 +889,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1028,6 +1085,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1211,7 +1295,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1406,6 +1491,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1632,7 +1744,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1827,6 +1940,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghes-3.19/check_run.json b/src/webhooks/data/ghes-3.19/check_run.json index 1874cf1d07ff..40ac41524a59 100644 --- a/src/webhooks/data/ghes-3.19/check_run.json +++ b/src/webhooks/data/ghes-3.19/check_run.json @@ -1360,11 +1360,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -3418,11 +3413,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -5477,11 +5467,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -7547,11 +7532,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghes-3.19/deployment_protection_rule.json b/src/webhooks/data/ghes-3.19/deployment_protection_rule.json index b1c5bd712941..ddb0d348a54c 100644 --- a/src/webhooks/data/ghes-3.19/deployment_protection_rule.json +++ b/src/webhooks/data/ghes-3.19/deployment_protection_rule.json @@ -2016,12 +2016,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -3004,12 +2998,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghes-3.19/discussion.json b/src/webhooks/data/ghes-3.19/discussion.json index 08946d156a8e..a5dd75da17a2 100644 --- a/src/webhooks/data/ghes-3.19/discussion.json +++ b/src/webhooks/data/ghes-3.19/discussion.json @@ -8073,12 +8073,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghes-3.19/dismissal_request_code_scanning.json b/src/webhooks/data/ghes-3.19/dismissal_request_code_scanning.json index 0cfd50897100..e6a50ef0186c 100644 --- a/src/webhooks/data/ghes-3.19/dismissal_request_code_scanning.json +++ b/src/webhooks/data/ghes-3.19/dismissal_request_code_scanning.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghes-3.19/dismissal_request_dependabot.json b/src/webhooks/data/ghes-3.19/dismissal_request_dependabot.json index fc1ff23642c5..88883f18ead6 100644 --- a/src/webhooks/data/ghes-3.19/dismissal_request_dependabot.json +++ b/src/webhooks/data/ghes-3.19/dismissal_request_dependabot.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -833,7 +889,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1028,6 +1085,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghes-3.19/dismissal_request_secret_scanning.json b/src/webhooks/data/ghes-3.19/dismissal_request_secret_scanning.json index e93b537a08b2..00d552d565f1 100644 --- a/src/webhooks/data/ghes-3.19/dismissal_request_secret_scanning.json +++ b/src/webhooks/data/ghes-3.19/dismissal_request_secret_scanning.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -833,7 +889,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1028,6 +1085,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1211,7 +1295,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1406,6 +1491,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1632,7 +1744,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1827,6 +1940,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghes-3.19/exemption_request_push_ruleset.json b/src/webhooks/data/ghes-3.19/exemption_request_push_ruleset.json index 7b3408ab5ad4..1e39c2675260 100644 --- a/src/webhooks/data/ghes-3.19/exemption_request_push_ruleset.json +++ b/src/webhooks/data/ghes-3.19/exemption_request_push_ruleset.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -833,7 +889,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1028,6 +1085,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1211,7 +1295,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1406,6 +1491,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1632,7 +1744,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1827,6 +1940,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghes-3.19/issue_dependencies.json b/src/webhooks/data/ghes-3.19/issue_dependencies.json index 51364ec877b4..dac9d18b3816 100644 --- a/src/webhooks/data/ghes-3.19/issue_dependencies.json +++ b/src/webhooks/data/ghes-3.19/issue_dependencies.json @@ -1686,12 +1686,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -4192,12 +4186,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -5665,12 +5653,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -7573,12 +7555,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -10079,12 +10055,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -11552,12 +11522,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -13460,12 +13424,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -14933,12 +14891,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -16791,12 +16743,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -19347,12 +19293,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -20820,12 +20760,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -22678,12 +22612,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghes-3.19/issues.json b/src/webhooks/data/ghes-3.19/issues.json index 988a3ebec7d3..1305739d926d 100644 --- a/src/webhooks/data/ghes-3.19/issues.json +++ b/src/webhooks/data/ghes-3.19/issues.json @@ -17765,12 +17765,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "has_downloads", @@ -26315,12 +26309,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.19/pull_request.json b/src/webhooks/data/ghes-3.19/pull_request.json index 6bf7cc4e72f7..49562841eff2 100644 --- a/src/webhooks/data/ghes-3.19/pull_request.json +++ b/src/webhooks/data/ghes-3.19/pull_request.json @@ -898,12 +898,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1911,12 +1905,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4169,12 +4157,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "has_pages", @@ -5202,12 +5184,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7485,12 +7461,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8498,12 +8468,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -11785,12 +11749,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -12773,12 +12731,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -15474,12 +15426,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -16462,12 +16408,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -18392,12 +18332,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -19405,12 +19339,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -22756,12 +22684,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -23744,12 +23666,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -25490,12 +25406,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -26503,12 +26413,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -28782,12 +28686,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -29795,12 +29693,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -32306,12 +32198,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -33319,12 +33205,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -36601,12 +36481,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -37589,12 +37463,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -40290,12 +40158,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -41278,12 +41140,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -43979,12 +43835,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -44967,12 +44817,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -46664,12 +46508,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -47677,12 +47515,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -50250,12 +50082,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -51263,12 +51089,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -53833,12 +53653,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -54846,12 +54660,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -57250,12 +57058,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -58263,12 +58065,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -60591,12 +60387,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -61604,12 +61394,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -63882,12 +63666,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -64895,12 +64673,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.19/pull_request_review.json b/src/webhooks/data/ghes-3.19/pull_request_review.json index 96cf96f7506c..b78e4a65c119 100644 --- a/src/webhooks/data/ghes-3.19/pull_request_review.json +++ b/src/webhooks/data/ghes-3.19/pull_request_review.json @@ -762,12 +762,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1755,12 +1749,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7324,12 +7312,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8317,12 +8299,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.19/pull_request_review_comment.json b/src/webhooks/data/ghes-3.19/pull_request_review_comment.json index 53d62e5e8c26..571f3863cc7a 100644 --- a/src/webhooks/data/ghes-3.19/pull_request_review_comment.json +++ b/src/webhooks/data/ghes-3.19/pull_request_review_comment.json @@ -768,12 +768,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1759,12 +1753,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -3878,12 +3866,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4870,12 +4852,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7009,12 +6985,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8001,12 +7971,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.19/pull_request_review_thread.json b/src/webhooks/data/ghes-3.19/pull_request_review_thread.json index a170a1bb591b..a439795b5964 100644 --- a/src/webhooks/data/ghes-3.19/pull_request_review_thread.json +++ b/src/webhooks/data/ghes-3.19/pull_request_review_thread.json @@ -761,12 +761,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1710,12 +1704,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4214,12 +4202,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -5163,12 +5145,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.20/bypass_request_secret_scanning.json b/src/webhooks/data/ghes-3.20/bypass_request_secret_scanning.json index 7725dd67c490..43b5a74ce40e 100644 --- a/src/webhooks/data/ghes-3.20/bypass_request_secret_scanning.json +++ b/src/webhooks/data/ghes-3.20/bypass_request_secret_scanning.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -833,7 +889,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1028,6 +1085,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1211,7 +1295,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1406,6 +1491,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1632,7 +1744,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1827,6 +1940,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghes-3.20/check_run.json b/src/webhooks/data/ghes-3.20/check_run.json index 130f91cf215c..027a14e58ec1 100644 --- a/src/webhooks/data/ghes-3.20/check_run.json +++ b/src/webhooks/data/ghes-3.20/check_run.json @@ -1360,11 +1360,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -3418,11 +3413,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -5477,11 +5467,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", @@ -7547,11 +7532,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "" - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghes-3.20/deployment_protection_rule.json b/src/webhooks/data/ghes-3.20/deployment_protection_rule.json index ffb5d683f1eb..ef902cca2fc3 100644 --- a/src/webhooks/data/ghes-3.20/deployment_protection_rule.json +++ b/src/webhooks/data/ghes-3.20/deployment_protection_rule.json @@ -2016,12 +2016,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -3004,12 +2998,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghes-3.20/discussion.json b/src/webhooks/data/ghes-3.20/discussion.json index 96dc00f924a0..f1ea3d20e625 100644 --- a/src/webhooks/data/ghes-3.20/discussion.json +++ b/src/webhooks/data/ghes-3.20/discussion.json @@ -8073,12 +8073,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghes-3.20/dismissal_request_code_scanning.json b/src/webhooks/data/ghes-3.20/dismissal_request_code_scanning.json index 9a1900d8f5cb..b3e841386eb2 100644 --- a/src/webhooks/data/ghes-3.20/dismissal_request_code_scanning.json +++ b/src/webhooks/data/ghes-3.20/dismissal_request_code_scanning.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghes-3.20/dismissal_request_dependabot.json b/src/webhooks/data/ghes-3.20/dismissal_request_dependabot.json index 1980668e3b22..8a58d3e6a2f8 100644 --- a/src/webhooks/data/ghes-3.20/dismissal_request_dependabot.json +++ b/src/webhooks/data/ghes-3.20/dismissal_request_dependabot.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -833,7 +889,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1028,6 +1085,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghes-3.20/dismissal_request_secret_scanning.json b/src/webhooks/data/ghes-3.20/dismissal_request_secret_scanning.json index 72498687f378..8ec334ce5591 100644 --- a/src/webhooks/data/ghes-3.20/dismissal_request_secret_scanning.json +++ b/src/webhooks/data/ghes-3.20/dismissal_request_secret_scanning.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -833,7 +889,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1028,6 +1085,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1211,7 +1295,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1406,6 +1491,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1632,7 +1744,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1827,6 +1940,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghes-3.20/exemption_request_push_ruleset.json b/src/webhooks/data/ghes-3.20/exemption_request_push_ruleset.json index 4502d7556fba..a71113ee75c2 100644 --- a/src/webhooks/data/ghes-3.20/exemption_request_push_ruleset.json +++ b/src/webhooks/data/ghes-3.20/exemption_request_push_ruleset.json @@ -77,7 +77,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -272,6 +273,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -455,7 +483,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -650,6 +679,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -833,7 +889,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1028,6 +1085,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1211,7 +1295,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1406,6 +1491,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true @@ -1632,7 +1744,8 @@ "secret_scanning", "secret_scanning_closure", "code_scanning_alert_dismissal", - "dependabot_alert_dismissal" + "dependabot_alert_dismissal", + "license_compliance_dismissal" ] }, { @@ -1827,6 +1940,33 @@ ] } ] + }, + { + "type": "object", + "name": "License compliance alert closure request data", + "description": "

License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "type", + "description": "

The type of request

", + "enum": [ + "license_compliance_dismissal" + ] + }, + { + "type": "array of objects", + "name": "data", + "description": "

The data related to the License compliance alerts that have closure requests.

", + "childParamsGroups": [ + { + "type": "string", + "name": "alert_number", + "description": "

The number of the alert to be closed

" + } + ] + } + ] } ], "oneOfObject": true diff --git a/src/webhooks/data/ghes-3.20/issue_dependencies.json b/src/webhooks/data/ghes-3.20/issue_dependencies.json index 76ebbf74538a..0717cd2ef9d9 100644 --- a/src/webhooks/data/ghes-3.20/issue_dependencies.json +++ b/src/webhooks/data/ghes-3.20/issue_dependencies.json @@ -1686,12 +1686,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -4192,12 +4186,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -5665,12 +5653,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -7573,12 +7555,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -10079,12 +10055,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -11552,12 +11522,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -13460,12 +13424,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -14933,12 +14891,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -16791,12 +16743,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -19347,12 +19293,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -20820,12 +20760,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -22678,12 +22612,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", diff --git a/src/webhooks/data/ghes-3.20/issues.json b/src/webhooks/data/ghes-3.20/issues.json index 92908fd88341..5d099f705246 100644 --- a/src/webhooks/data/ghes-3.20/issues.json +++ b/src/webhooks/data/ghes-3.20/issues.json @@ -17765,12 +17765,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "has_downloads", @@ -26315,12 +26309,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.20/pull_request.json b/src/webhooks/data/ghes-3.20/pull_request.json index bfd9341d8b8d..701802e67531 100644 --- a/src/webhooks/data/ghes-3.20/pull_request.json +++ b/src/webhooks/data/ghes-3.20/pull_request.json @@ -898,12 +898,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1911,12 +1905,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4169,12 +4157,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "has_pages", @@ -5202,12 +5184,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7485,12 +7461,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8498,12 +8468,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -11785,12 +11749,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -12773,12 +12731,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -15474,12 +15426,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -16462,12 +16408,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -18392,12 +18332,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -19405,12 +19339,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -22756,12 +22684,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -23744,12 +23666,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -25490,12 +25406,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -26503,12 +26413,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -28782,12 +28686,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -29795,12 +29693,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -32306,12 +32198,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -33319,12 +33205,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -36601,12 +36481,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -37589,12 +37463,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -40290,12 +40158,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -41278,12 +41140,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -43979,12 +43835,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -44967,12 +44817,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "boolean", "name": "archived", @@ -46664,12 +46508,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -47677,12 +47515,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -50250,12 +50082,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -51263,12 +51089,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -53833,12 +53653,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -54846,12 +54660,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -57250,12 +57058,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -58263,12 +58065,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -60591,12 +60387,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -61604,12 +61394,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -63882,12 +63666,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -64895,12 +64673,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.20/pull_request_review.json b/src/webhooks/data/ghes-3.20/pull_request_review.json index 0c0fcebf4db0..74dfeeb87d94 100644 --- a/src/webhooks/data/ghes-3.20/pull_request_review.json +++ b/src/webhooks/data/ghes-3.20/pull_request_review.json @@ -762,12 +762,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1755,12 +1749,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7324,12 +7312,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8317,12 +8299,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.20/pull_request_review_comment.json b/src/webhooks/data/ghes-3.20/pull_request_review_comment.json index a9d8998a93ed..94c2ef9575ba 100644 --- a/src/webhooks/data/ghes-3.20/pull_request_review_comment.json +++ b/src/webhooks/data/ghes-3.20/pull_request_review_comment.json @@ -768,12 +768,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1759,12 +1753,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -3878,12 +3866,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4870,12 +4852,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -7009,12 +6985,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -8001,12 +7971,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/data/ghes-3.20/pull_request_review_thread.json b/src/webhooks/data/ghes-3.20/pull_request_review_thread.json index c4f327e1b436..9e918a698cb0 100644 --- a/src/webhooks/data/ghes-3.20/pull_request_review_thread.json +++ b/src/webhooks/data/ghes-3.20/pull_request_review_thread.json @@ -761,12 +761,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -1710,12 +1704,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -4214,12 +4202,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", @@ -5163,12 +5145,6 @@ "collaborators_only" ] }, - { - "type": "boolean", - "name": "has_commit_comments", - "description": "

Whether commit comments are enabled.

", - "default": true - }, { "type": "string or null", "name": "homepage", diff --git a/src/webhooks/lib/config.json b/src/webhooks/lib/config.json index e5107bee2206..62a631fdbded 100644 --- a/src/webhooks/lib/config.json +++ b/src/webhooks/lib/config.json @@ -1,3 +1,3 @@ { - "sha": "f36e195596ae01265fd31528bad607aa2bffd1c8" + "sha": "ed0da17e9a4a1937de02bc311a9286009ccb7e2b" } \ No newline at end of file