diff --git a/CHANGELOG.md b/CHANGELOG.md index d919c0b80799..89adc57e51f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,16 @@ **17 September 2025** +We added documentation for expanded features for reusing workflow configurations in GitHub Actions. + +You can now use YAML anchors and aliases to reuse pieces of content in a workflow. See [YAML anchors and aliases](https://docs.github.com/en/actions/concepts/workflows-and-actions/reusing-workflow-configurations#yaml-anchors-and-aliases). + +To keep the content focused on users' job-to-be-done, we simplified the procedures for [creating workflow templates for your organization](https://docs.github.com/en/actions/how-tos/reuse-automations/create-workflow-templates). In addition, we updated reference documentation for workflow templates with details on permissions, repository visibility rules, rules for the metadata file, and examples. See [Workflow templates](https://docs.github.com/en/actions/reference/workflows-and-actions/reusing-workflow-configurations#workflow-templates). + +
+ +**17 September 2025** + You can now publish your Spark app as "read-only." By default, data stored in Spark is shared across all users of the app. You can choose to publish your app as "read-only" if you want to showcase your app to others, but you don't want others to be able to edit or delete any stored data. diff --git a/content/account-and-profile/how-tos/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/index.md b/content/account-and-profile/how-tos/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/index.md index 40f5b8fa35eb..6f7b70dac47e 100644 --- a/content/account-and-profile/how-tos/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/index.md +++ b/content/account-and-profile/how-tos/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/index.md @@ -19,7 +19,9 @@ children: - /managing-security-and-analysis-features - /managing-your-tab-size-rendering-preference - /permission-levels-for-a-project-board-owned-by-a-personal-account + - /manage-cookie-preferences - /managing-accessibility-settings + - /prepare-for-job-change - /managing-access-to-your-personal-accounts-project-boards - /integrating-jira-with-your-personal-projects - /set-your-hiring-status diff --git a/content/account-and-profile/tutorials/managing-your-cookie-preferences-for-githubs-enterprise-marketing-pages.md b/content/account-and-profile/how-tos/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/manage-cookie-preferences.md similarity index 68% rename from content/account-and-profile/tutorials/managing-your-cookie-preferences-for-githubs-enterprise-marketing-pages.md rename to content/account-and-profile/how-tos/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/manage-cookie-preferences.md index eec997e80c91..cdd17fc70b6d 100644 --- a/content/account-and-profile/tutorials/managing-your-cookie-preferences-for-githubs-enterprise-marketing-pages.md +++ b/content/account-and-profile/how-tos/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/manage-cookie-preferences.md @@ -1,6 +1,6 @@ --- -title: Managing your cookie preferences for GitHub's enterprise marketing pages -intro: 'You can control how {% data variables.product.company_short %} uses information from non-essential tracking cookies for enterprise marketing pages.' +title: Manage cookie preferences +intro: You can control how {% data variables.product.company_short %} uses information from non-essential tracking cookies for enterprise marketing pages. versions: fpt: '*' ghes: '*' @@ -11,15 +11,13 @@ shortTitle: Manage cookie preferences redirect_from: - /account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/managing-your-cookie-preferences-for-githubs-enterprise-marketing-pages - /account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/managing-your-cookie-preferences-for-githubs-enterprise-marketing-pages + - /account-and-profile/tutorials/managing-your-cookie-preferences-for-githubs-enterprise-marketing-pages +contentType: how-tos --- -## About cookie preferences on enterprise marketing pages - -{% data variables.product.company_short %} may use non-essential cookies on some enterprise marketing pages. You can customize how these cookies behave. For more information about how {% data variables.product.company_short %} uses cookies, see [AUTOTITLE](/free-pro-team@latest/site-policy/privacy-policies/github-privacy-statement). - ## Changing your cookie preferences -You can customize how non-essential cookies behave on any {% data variables.product.company_short %} enterprise marketing page. +You can customize how non-essential cookies behave on any {% data variables.product.company_short %} enterprise marketing page. For more information about how {% data variables.product.company_short %} uses cookies, see [AUTOTITLE](/free-pro-team@latest/site-policy/privacy-policies/github-privacy-statement). 1. Navigate to the {% data variables.product.company_short %} enterprise marketing page where you'd like to change your cookie preferences. For example, navigate to [{% data variables.product.company_short %} Resources](https://resources.github.com/). 1. Scroll to the bottom of the page, then click **Manage Cookies**. diff --git a/content/account-and-profile/how-tos/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/prepare-for-job-change.md b/content/account-and-profile/how-tos/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/prepare-for-job-change.md new file mode 100644 index 000000000000..ea7a55da34b8 --- /dev/null +++ b/content/account-and-profile/how-tos/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/prepare-for-job-change.md @@ -0,0 +1,88 @@ +--- +title: Prepare for job change +intro: If you use your {% data variables.product.github %} account for both personal and work purposes, there are steps to follow when you leave your company or organization. +redirect_from: + - /articles/best-practices-for-leaving-your-company + - /github/setting-up-and-managing-your-github-user-account/best-practices-for-leaving-your-company + - /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/best-practices-for-leaving-your-company + - /account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/best-practices-for-leaving-your-company + - /account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/best-practices-for-leaving-your-company + - /account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/best-practices-for-leaving-your-company + - /account-and-profile/reference/best-practices-for-leaving-your-company +versions: + fpt: '*' + ghec: '*' +topics: + - Accounts +shortTitle: Prepare for job change +contentType: how-tos +--- + +## Update your personal account information + +1. Unverify your company email address by deleting it in your Email settings. + + After removal, you can re-add this email without verifying to keep any associated commits linked to your account. + + For more information, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/changing-your-primary-email-address). + +1. Change your primary email address from your company email to your personal email. + + For more information, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/changing-your-primary-email-address). + +1. Verify your new primary email address. + + For more information, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/verifying-your-email-address). + +1. Update your {% data variables.product.github %} username if it contains references to your company or organization. + + For more information, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/changing-your-github-username). + +1. Review and update your two-factor authentication (2FA) methods to ensure they aren't linked to company resources: + + * If you use a TOTP app on a company phone, transfer it to your personal device. + * If you've registered company-owned security keys, remove them and add personal ones instead. + * If you're using {% data variables.product.prodname_mobile %} on a company device, install it on your personal device. + * Download fresh recovery codes and store them in a personal secure location. + + For more information, see [AUTOTITLE](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication). + +## Leave organization memberships + +> [!NOTE] Unless you're using a {% data variables.enterprise.prodname_managed_user %}, you'll still be able to access your personal account after leaving an organization. + +1. If you're the organization owner, transfer ownership to another person before removing yourself. + + For more information, see [AUTOTITLE](/organizations/managing-organization-settings/transferring-organization-ownership). + +1. Remove yourself from the organization. + + For more information, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-membership-in-organizations/removing-yourself-from-an-organization). + +## Clean up professional repository associations + +1. Remove yourself as a collaborator from repositories owned by others. + + For more information, see [AUTOTITLE](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/removing-yourself-from-a-collaborators-repository). + +1. Stop watching work-related repositories to avoid unnecessary notifications. + + To manage your watched repositories, visit https://github.com/watching. + +1. Transfer repositories that you own that others may need to continue working on. + + For more information, see [AUTOTITLE](/repositories/creating-and-managing-repositories/transferring-a-repository). + +1. Delete any work-related forks that belong to you. + + Deleting a fork doesn't delete the upstream repository. + + For more information, see [AUTOTITLE](/repositories/creating-and-managing-repositories/deleting-a-repository). + +1. Delete local copies of your work repositories from your computer by running the following command: + + ```shell + rm -rf WORK_DIRECTORY + ``` + + Replace `WORK_DIRECTORY` with the path to your work repository. diff --git a/content/account-and-profile/reference/best-practices-for-leaving-your-company.md b/content/account-and-profile/reference/best-practices-for-leaving-your-company.md deleted file mode 100644 index 2cb6f0743dea..000000000000 --- a/content/account-and-profile/reference/best-practices-for-leaving-your-company.md +++ /dev/null @@ -1,44 +0,0 @@ ---- -title: Best practices for leaving your company -intro: 'If you use your {% data variables.product.github %} account for both personal and work purposes, there are a few things to keep in mind when you leave your company or organization.' -redirect_from: - - /articles/best-practices-for-leaving-your-company - - /github/setting-up-and-managing-your-github-user-account/best-practices-for-leaving-your-company - - /github/setting-up-and-managing-your-github-user-account/managing-user-account-settings/best-practices-for-leaving-your-company - - /account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/best-practices-for-leaving-your-company - - /account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/best-practices-for-leaving-your-company - - /account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/best-practices-for-leaving-your-company -versions: - fpt: '*' - ghec: '*' -topics: - - Accounts -shortTitle: Leaving your company ---- - -Before you leave your company, make sure you update the following information in your personal account: - -* Unverify your company email address by [deleting it in your Email settings](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/changing-your-primary-email-address). You can then re-add it without verifying to keep any associated commits linked to your account. -* [Change your primary email address](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/changing-your-primary-email-address) from your company email to your personal email. -* [Verify your new primary email address](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/verifying-your-email-address). -* [Change your GitHub username](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-user-account-settings/changing-your-github-username) to remove any references to your company or organization, if necessary. -* If you've enabled two-factor (2FA) authentication for your personal account, make sure that you (not your company) control the 2FA authentication method you have configured. For more information, see [AUTOTITLE](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication). - -## Leaving organizations - -If you've been working with repositories that belong to an organization, you'll want to [remove yourself as a member of the organization](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-membership-in-organizations/removing-yourself-from-an-organization). Note that if you are the organization owner, you should first [transfer ownership of the organization](/organizations/managing-organization-settings/transferring-organization-ownership) to another person. - -Unless you're using a {% data variables.enterprise.prodname_managed_user %}, you'll still be able to access your personal account, even after leaving the organization. For more information about {% data variables.product.prodname_emus %}, see [About {% data variables.product.prodname_emus %}]({% ifversion fpt %}/enterprise-cloud@latest{% endif %}/admin/identity-and-access-management/using-enterprise-managed-users-for-iam/about-enterprise-managed-users){% ifversion fpt %} in the {% data variables.product.prodname_ghe_cloud %} documentation.{% else %}."{% endif %} - -## Removing professional associations with personal repositories - -If you've been collaborating professionally with another person on repositories that belong to their personal account, you'll want to [remove yourself as a collaborator](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-access-to-your-personal-repositories/removing-yourself-from-a-collaborators-repository) from those repositories. - -* [Stop watching repositories](https://github.com/watching) related to your work. You won't want those notifications anymore! -* [Transfer repositories you own](/repositories/creating-and-managing-repositories/transferring-a-repository) that others may need to continue working on after you leave. -* [Delete forks that belong to you](/repositories/creating-and-managing-repositories/deleting-a-repository) that are related to the work you were doing. Don't worry, deleting a fork doesn't delete the upstream repository. -* Delete local copies of your forks that may exist on your computer: - -```shell -rm -rf WORK_DIRECTORY -``` diff --git a/content/account-and-profile/reference/index.md b/content/account-and-profile/reference/index.md index ff6fc44dcb3e..bb47bc60064b 100644 --- a/content/account-and-profile/reference/index.md +++ b/content/account-and-profile/reference/index.md @@ -11,7 +11,6 @@ children: - /personal-dashboard - /permission-levels-for-a-personal-account-repository - /profile-contributions-reference - - /best-practices-for-leaving-your-company - /types-of-emails-github-sends - /email-addresses-reference - /personal-account-reference diff --git a/content/account-and-profile/tutorials/index.md b/content/account-and-profile/tutorials/index.md index 74675a7a997a..67233acc36f2 100644 --- a/content/account-and-profile/tutorials/index.md +++ b/content/account-and-profile/tutorials/index.md @@ -11,7 +11,6 @@ topics: - Profiles children: - /personalize-your-profile - - /managing-your-cookie-preferences-for-githubs-enterprise-marketing-pages - /using-your-github-profile-to-enhance-your-resume --- diff --git a/content/billing/concepts/budgets-and-alerts.md b/content/billing/concepts/budgets-and-alerts.md index b9fc4433c0b6..b17cce752007 100644 --- a/content/billing/concepts/budgets-and-alerts.md +++ b/content/billing/concepts/budgets-and-alerts.md @@ -15,7 +15,7 @@ Budgets and alerts allow you to track spending on metered products for your ente By setting a monthly budget, you can monitor your spending and receive notifications by email when your spending exceeds certain preset percentages of your budget threshold. This can help you stay within your budget and avoid overspending. -Many accounts already have default budgets for certain products. {% data reusables.billing.migrated-budgets %} +{% data reusables.billing.migrated-budgets %} ## Stopping usage diff --git a/content/billing/concepts/product-billing/github-copilot.md b/content/billing/concepts/product-billing/github-copilot.md index 604b99b05fef..b63f4789b934 100644 --- a/content/billing/concepts/product-billing/github-copilot.md +++ b/content/billing/concepts/product-billing/github-copilot.md @@ -83,7 +83,7 @@ If you run out of free Actions minutes or free premium requests, and you have se If you run out of free minutes or premium requests, and you have _not_ set up billing, a message is displayed explaining why {% data variables.product.prodname_copilot_short %} cannot work on the task. -{% data reusables.copilot.zero-budget-changes %} See [AUTOTITLE](/copilot/how-tos/premium-requests/manage-for-enterprise). +{% data reusables.copilot.zero-budget-changes-link %} ### Monitoring your use of Actions minutes and premium requests diff --git a/content/code-security/dependabot/dependabot-security-updates/customizing-dependabot-security-prs.md b/content/code-security/dependabot/dependabot-security-updates/customizing-dependabot-security-prs.md index de993e9f33aa..96d046d4f66b 100644 --- a/content/code-security/dependabot/dependabot-security-updates/customizing-dependabot-security-prs.md +++ b/content/code-security/dependabot/dependabot-security-updates/customizing-dependabot-security-prs.md @@ -42,6 +42,12 @@ For detailed guidance, see [Prioritizing meaningful updates](/code-security/depe {% ifversion dependabot-reviewers-deprecation %} +## Automatically adding assignees + +Use `assignees` to automatically add individuals or teams as assignees to pull requests. + +For detailed guidance, see [Automatically adding assignees](/code-security/dependabot/dependabot-version-updates/customizing-dependabot-prs#automatically-adding-assignees). + ## Automatically adding reviewers To ensure your project's security updates get addressed promptly by the appropriate team, you can automatically add reviewers to Dependabot pull requests using a CODEOWNERS file. See [AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners). @@ -50,8 +56,10 @@ To ensure your project's security updates get addressed promptly by the appropri ## Automatically adding reviewers and assignees -> [!NOTE] -> The `reviewers` property is closing down and will be removed in a future release of GitHub Enterprise Server. +> [!IMPORTANT] +> The `reviewers` property is closing down and will be removed in a future release of {% data variables.product.prodname_ghe_server %}. +> +> You can also automatically add reviewers and assignees using a CODEOWNERS file. See [AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners). To ensure your project's security updates get **addressed promptly** by the appropriate team, use `reviewers` and `assignees` to automatically add individuals or teams as **reviewers or assignees** to pull requests. @@ -91,62 +99,13 @@ In this example, the `dependabot.yml` file: * Is customized so that {% data variables.product.prodname_dependabot %} applies custom labels to the pull requests and automatically adds {% ifversion ghes < 3.19 %}reviewers and {% endif %}assignees. * Groups security updates for golang dependencies into a single pull request. -{% ifversion dependabot-reviewers-deprecation %} - -```yaml copy -# Example configuration file that: -# - Uses a private registry for npm updates -# - Ignores lodash dependency -# - Disables version-updates -# - Applies custom labels -# - Group security updates for golang dependencies into a single pull request - -version: 2 -registries: - # Define a private npm registry with the name `example` - example: - type: npm-registry - url: https://example.com - token: {% raw %}${{secrets.NPM_TOKEN}}{% endraw %} -updates: - - package-ecosystem: "npm" - directory: "/src/npm-project" - schedule: - interval: "daily" - # For Lodash, ignore all updates - ignore: - - dependency-name: "lodash" - # Disable version updates for npm dependencies - open-pull-requests-limit: 0 - registries: - # Ask Dependabot to use the private registry for npm - - example - # Raise all npm pull requests for security updates with custom labels - labels: - - "npm dependencies" - - "triage-board" - # Raise all npm pull requests for security updates with assignees - assignees: - - "user-name" - - package-ecosystem: "gomod" - groups: - # Group security updates for golang dependencies - # into a single pull request - golang: - applies-to: security-updates - patterns: - - "golang.org*" -``` - -{% else %} - ```yaml copy # Example configuration file that: # - Uses a private registry for npm updates # - Ignores lodash dependency # - Disables version-updates # - Applies custom labels -# - Adds reviewers and assignees +# - Adds assignees # - Group security updates for golang dependencies into a single pull request version: 2 @@ -173,10 +132,6 @@ updates: labels: - "npm dependencies" - "triage-board" - # Raise all npm pull requests for security updates with reviewers - reviewers: - - "my-org/team-name" - - "octocat" # Raise all npm pull requests for security updates with assignees assignees: - "user-name" @@ -190,12 +145,10 @@ updates: - "golang.org*" ``` -{% endif %} - ## Example 2: configuration for version updates and security updates In this example, the `dependabot.yml` file: -* Is customized so that {% data variables.product.prodname_dependabot %} adds reviewers and custom labels to both version updates and security updates. +* Is customized so that {% data variables.product.prodname_dependabot %} adds custom labels to both version updates and security updates. * Uses the `groups` customization option to create two groups ("`angular`" and "`production-dependencies`") in order to group multiple updates into single pull requests. * Specifies that the `groups` customization for `angular` applies to security updates only. * Specifies that the `groups` customization for `production-dependencies` applies to version updates only. @@ -212,10 +165,6 @@ updates: labels: - "npm dependencies" - "triage-board" - # Raise all npm pull requests for security and version updates with reviewers - reviewers: - - "my-org/team-name" - - "octocat" groups: angular: # Group security updates for Angular dependencies into a single pull request diff --git a/content/code-security/dependabot/dependabot-version-updates/customizing-dependabot-prs.md b/content/code-security/dependabot/dependabot-version-updates/customizing-dependabot-prs.md index 347d1e65084e..65cbca2666c8 100644 --- a/content/code-security/dependabot/dependabot-version-updates/customizing-dependabot-prs.md +++ b/content/code-security/dependabot/dependabot-version-updates/customizing-dependabot-prs.md @@ -19,37 +19,56 @@ shortTitle: Customize Dependabot PRs There are various ways to customize your {% data variables.product.prodname_dependabot %} pull requests so that they better suit your own internal processes. +For example, to integrate {% data variables.product.prodname_dependabot %}'s pull requests into your CI/CD pipelines, it can apply **custom labels** to pull requests, which you can then use to trigger action workflows. + +There are several different customization options which can all be used in combination, and tailored per package ecosystem. + {% ifversion dependabot-reviewers-deprecation %} -For example, to integrate {% data variables.product.prodname_dependabot %}'s pull requests into your CI/CD pipelines, it can apply **custom labels** to pull requests, which you can then use to trigger action workflows. +## Automatically adding assignees -{% else %} +By default, {% data variables.product.prodname_dependabot %} raises pull requests without any assignees. -For example: -* To maximize efficiency, {% data variables.product.prodname_dependabot %} can automatically add specific individuals or teams as **reviewers** to its pull requests for a particular package ecosystem. -* To integrate {% data variables.product.prodname_dependabot %}'s pull requests into your CI/CD pipelines, it can apply **custom labels** to pull requests, which you can then use to trigger action workflows. +To automatically assign pull requests to a designated security team, you can use `assignees` to set these values per package ecosystem. -{% endif %} +The example `dependabot.yml` file below changes the npm configuration so that all pull requests opened with version and security updates for npm have: +* An individual ("`user-name`") automatically assigned to the pull requests. -There are several different customization options which can all be used in combination, and tailored per package ecosystem. +```yaml copy +# `dependabot.yml` file with +# assignee for all npm pull requests -{% ifversion dependabot-reviewers-deprecation %} +version: 2 +updates: + # Keep npm dependencies up to date + - package-ecosystem: "npm" + directory: "/" + schedule: + interval: "weekly" + # Raise all npm pull requests with assignees + assignees: + - "user-name" +``` ## Automatically adding reviewers -To ensure your project's security updates get addressed promptly by the appropriate team, you can automatically add reviewers to Dependabot pull requests using a CODEOWNERS file. See [AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners). +By default, {% data variables.product.prodname_dependabot %} raises pull requests without any reviewers. + +To ensure your project's security updates get addressed promptly by the appropriate team, you can automatically add reviewers to {% data variables.product.prodname_dependabot %} pull requests using a CODEOWNERS file. See [AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners). {% else %} ## Automatically adding reviewers and assignees +> [!IMPORTANT] +> The `reviewers` property is closing down and will be removed in a future release of {% data variables.product.prodname_ghe_server %}. +> +> You can also automatically add reviewers and assignees using a CODEOWNERS file. See [AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners). + By default, {% data variables.product.prodname_dependabot %} raises pull requests without any reviewers or assignees. However, you may want pull requests to be consistently reviewed or dealt with by a specific individual or team that has expertise in that package ecosystem, or automatically assigned to a designated security team. In which case, you can use `reviewers` and `assignees` to set these values per package ecosystem. -> [!NOTE] -> The `reviewers` property is closing down and will be removed in a future release of GitHub Enterprise Server. - The example `dependabot.yml` file below changes the npm configuration so that all pull requests opened with version and security updates for npm have: * A team ("`my-org/team-name`") and an individual ("`octocat`") automatically added as reviewers to the pull requests. * An individual ("`user-name`") automatically assigned to the pull requests. @@ -74,10 +93,6 @@ updates: - "user-name" ``` -{% data reusables.dependabot.option-affects-security-updates %} - -See also [`assignees`](/code-security/dependabot/working-with-dependabot/dependabot-options-reference#assignees--) and [`reviewers`](/code-security/dependabot/working-with-dependabot/dependabot-options-reference#reviewers--). - {% endif %} ## Labeling pull requests with custom labels diff --git a/content/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions.md b/content/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions.md index b04378ebb0d8..e381d6513875 100644 --- a/content/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions.md +++ b/content/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions.md @@ -27,7 +27,7 @@ redirect_from: You can use {% data variables.product.prodname_actions %} to perform automated tasks when {% data variables.product.prodname_dependabot %} creates pull requests to update dependencies. You may find this useful if you want to: -* Ensure that {% data variables.product.prodname_dependabot %} pull requests (version updates and security updates) are created with the right data for your work processes, including labels, names, and reviewers. +* Ensure that {% data variables.product.prodname_dependabot %} pull requests (version updates and security updates) are created with the right data for your work processes, including labels and names. * Trigger workflows to send {% data variables.product.prodname_dependabot %} pull requests (version updates and security updates) into your review process or to merge automatically. diff --git a/content/code-security/dependabot/working-with-dependabot/dependabot-options-reference.md b/content/code-security/dependabot/working-with-dependabot/dependabot-options-reference.md index ca2ac22734d7..d97b41840f72 100644 --- a/content/code-security/dependabot/working-with-dependabot/dependabot-options-reference.md +++ b/content/code-security/dependabot/working-with-dependabot/dependabot-options-reference.md @@ -574,8 +574,10 @@ Supported values: `REGISTRY_NAME` or `"*"` ## `reviewers` {% octicon "versions" aria-label="Version updates" height="24" %} {% octicon "shield-check" aria-label="Security updates" height="24" %} -> [!NOTE] -> The `reviewers` property is closing down and will be removed in a future release of GitHub Enterprise Server. +> [!IMPORTANT] +> The `reviewers` property is closing down and will be removed in a future release of {% data variables.product.prodname_ghe_server %}. +> +> You can also automatically add reviewers and assignees using a CODEOWNERS file. See [AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners). Specify individual reviewers, or teams of reviewers, for all pull requests raised for a package manager. For examples, see [AUTOTITLE](/code-security/dependabot/dependabot-version-updates/customizing-dependabot-prs). @@ -590,9 +592,6 @@ When `reviewers` is defined: Reviewers must have at least read access to the repository. -> [!NOTE] -> You can also automatically add reviewers and assignees using a CODEOWNERS file. See [AUTOTITLE](/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners). - {% endif %} ## `schedule` {% octicon "versions" aria-label="Version updates only" height="24" %} diff --git a/content/code-security/dependabot/working-with-dependabot/managing-pull-requests-for-dependency-updates.md b/content/code-security/dependabot/working-with-dependabot/managing-pull-requests-for-dependency-updates.md index 2c46b7c736ce..53a031ac2330 100644 --- a/content/code-security/dependabot/working-with-dependabot/managing-pull-requests-for-dependency-updates.md +++ b/content/code-security/dependabot/working-with-dependabot/managing-pull-requests-for-dependency-updates.md @@ -30,7 +30,7 @@ shortTitle: Manage Dependabot PRs When {% data variables.product.prodname_dependabot %} raises a pull request, you're notified by your chosen method for the repository. Each pull request contains detailed information about the proposed change, taken from the package manager. These pull requests follow the normal checks and tests defined in your repository. {% ifversion fpt or ghec %}In addition, where enough information is available, you'll see a compatibility score. This may also help you decide whether or not to merge the change. For information about this score, see [AUTOTITLE](/code-security/dependabot/dependabot-security-updates/about-dependabot-security-updates).{% endif %} -If you have many dependencies to manage, you may want to customize the configuration for each package manager so that pull requests have specific reviewers, assignees, and labels. You may also want to group sets of dependencies together, so that multiple dependencies are updated in a single pull request. For more information, see [AUTOTITLE](/code-security/dependabot/dependabot-version-updates/customizing-dependabot-prs) and [AUTOTITLE](/code-security/dependabot/dependabot-security-updates/configuring-dependabot-security-updates#grouping-dependabot-updates-into-a-single-pull-request). +If you have many dependencies to manage, you may want to customize the configuration for each package manager so that pull requests have specific assignees and labels. You may also want to group sets of dependencies together, so that multiple dependencies are updated in a single pull request. For more information, see [AUTOTITLE](/code-security/dependabot/dependabot-version-updates/customizing-dependabot-prs) and [AUTOTITLE](/code-security/dependabot/dependabot-security-updates/configuring-dependabot-security-updates#grouping-dependabot-updates-into-a-single-pull-request). > [!NOTE] > If you don't interact with {% data variables.product.prodname_dependabot %} pull requests for a repository during a 90-day time period, {% data variables.product.prodname_dependabot %} considers your repository as inactive, and will automatically pause {% data variables.product.prodname_dependabot_updates %}. For more information about inactivity criteria, see [AUTOTITLE](/code-security/dependabot/dependabot-version-updates/about-dependabot-version-updates#about-automatic-deactivation-of-dependabot-updates) and [AUTOTITLE](/code-security/dependabot/dependabot-security-updates/about-dependabot-security-updates#about-automatic-deactivation-of-dependabot-updates). diff --git a/content/copilot/concepts/billing/copilot-requests.md b/content/copilot/concepts/billing/copilot-requests.md index f6cf3d1ca6c5..0773b333aebc 100644 --- a/content/copilot/concepts/billing/copilot-requests.md +++ b/content/copilot/concepts/billing/copilot-requests.md @@ -73,7 +73,7 @@ If you need more premium requests beyond your monthly allowance: * For an individual subscription, set a budget for additional premium requests or upgrade to a higher plan. See [AUTOTITLE](/billing/managing-your-billing/using-budgets-control-spending). * If you're an enterprise or organization owner, ensure that the "Premium request paid usage" policy is enabled and that extra spending is not prevented by a budget. See [AUTOTITLE](/copilot/how-tos/premium-requests/manage-for-enterprise). -{% data reusables.copilot.zero-budget-changes %} +{% data reusables.copilot.zero-budget-changes-link %} ## Model multipliers diff --git a/content/copilot/how-tos/manage-and-track-spending/manage-company-spending.md b/content/copilot/how-tos/manage-and-track-spending/manage-company-spending.md index 8442a0b5cc49..c02cbad73b02 100644 --- a/content/copilot/how-tos/manage-and-track-spending/manage-company-spending.md +++ b/content/copilot/how-tos/manage-and-track-spending/manage-company-spending.md @@ -41,7 +41,7 @@ This report includes all premium request usage by user, both within and beyond t Your organization or enterprise's policies and budgets determine whether users can use premium requests over their included allowance. See [AUTOTITLE](/copilot/how-tos/premium-requests/manage-for-enterprise). -{% data reusables.copilot.zero-budget-changes %} +{% data reusables.copilot.zero-budget-changes-link %} ## Mapping spending to groups of users diff --git a/content/copilot/how-tos/manage-and-track-spending/manage-request-allowances.md b/content/copilot/how-tos/manage-and-track-spending/manage-request-allowances.md index 23606be79c36..87cd2405ce5b 100644 --- a/content/copilot/how-tos/manage-and-track-spending/manage-request-allowances.md +++ b/content/copilot/how-tos/manage-and-track-spending/manage-request-allowances.md @@ -74,6 +74,7 @@ You can set a higher budget for premium requests over the allowance for specific At a high level, the required steps are: 1. Ensure the "Premium request paid usage" policy is enabled. See [Setting a policy for paid usage](#setting-a-policy-for-paid-usage). -1. Delete the default $0 budget if it applies to your organization or enterprise. +1. If there is a $0 budget for premium requests set at your enterprise or organization account level, delete it. + 1. Create a new budget for the users who need a higher allowance. For example, create an organization or cost center containing just these users, then create a Premium Request SKU budget for the organization or cost center. 1. Create a separate, more restrictive budget that covers every other {% data variables.product.prodname_copilot_short %} user in your enterprise. You will likely need to integrate with the API to ensure that this budget covers new users as they are added to your enterprise. diff --git a/content/copilot/how-tos/manage-and-track-spending/monitor-premium-requests.md b/content/copilot/how-tos/manage-and-track-spending/monitor-premium-requests.md index e7469f015c28..1b664246f7a5 100644 --- a/content/copilot/how-tos/manage-and-track-spending/monitor-premium-requests.md +++ b/content/copilot/how-tos/manage-and-track-spending/monitor-premium-requests.md @@ -85,9 +85,9 @@ You can use the following strategies to maximize the value of your premium reque * **Choose the right model for the task**. Some models are better suited to different tasks. If you're using a premium request, you can strategically choose which model you use to get the best result from {% data variables.product.prodname_copilot_short %}. See [AUTOTITLE](/copilot/reference/ai-models/model-comparison). -* **Setting a budget**. Set a budget to track your overages and receive alerts when you reach 75%, 90%, or 100% of your budget. See [AUTOTITLE](/billing/managing-your-billing/preventing-overspending#managing-budgets-for-your-personal-account). +* **Define whether users can use premium requests over their included allowance**. Set a policy to control whether users can incur extra costs for premium requests when they use up their included allowance. See [AUTOTITLE](/copilot/how-tos/manage-and-track-spending/manage-request-allowances). - {% data reusables.copilot.zero-budget-changes %} +* **Setting a budget**. Set a budget to track your overages and receive alerts when you reach 75%, 90%, or 100% of your budget. See [AUTOTITLE](/billing/managing-your-billing/preventing-overspending#managing-budgets-for-your-personal-account). * **Monitor your usage regularly**. Check your usage in your {% data variables.product.github %} account settings to see how many premium requests you’ve used. This helps you plan how much you can use for the rest of the month. @@ -95,6 +95,8 @@ You can use the following strategies to maximize the value of your premium reque * **Avoid retrying large prompts unnecessarily**. Submitting the same long or complex prompt multiple times may use more premium requests. Try rephrasing or simplifying your request when needed. +{% data reusables.copilot.zero-budget-changes-link %} + ## Managing premium request billing with multiple {% data variables.product.prodname_copilot_short %} licenses If you have {% data variables.product.prodname_copilot_short %} licenses from multiple standalone organizations or enterprises, you must define which entity is charged for your use of premium requests. Until you define a billing entity, all premium requests you make will be rejected. diff --git a/content/copilot/how-tos/use-copilot-agents/coding-agent/index.md b/content/copilot/how-tos/use-copilot-agents/coding-agent/index.md index 00d195ffb1a1..6ae82b23cccd 100644 --- a/content/copilot/how-tos/use-copilot-agents/coding-agent/index.md +++ b/content/copilot/how-tos/use-copilot-agents/coding-agent/index.md @@ -12,6 +12,7 @@ children: - /track-copilot-sessions - /review-copilot-prs - /extend-coding-agent-with-mcp + - /integrate-coding-agent-with-teams - /customize-the-agent-environment - /customize-the-agent-firewall - /troubleshoot-coding-agent diff --git a/content/copilot/how-tos/use-copilot-agents/coding-agent/integrate-coding-agent-with-teams.md b/content/copilot/how-tos/use-copilot-agents/coding-agent/integrate-coding-agent-with-teams.md new file mode 100644 index 000000000000..e3e2feb661c4 --- /dev/null +++ b/content/copilot/how-tos/use-copilot-agents/coding-agent/integrate-coding-agent-with-teams.md @@ -0,0 +1,65 @@ +--- +title: Integrating Copilot coding agent with Teams +shortTitle: Integrate coding agent with Teams +intro: 'You can use the {% data variables.product.github %} integration in Teams to provide context and open pull requests all from within your Teams channels.' +versions: + feature: copilot +topics: + - Copilot +contentType: how-tos +--- + +> [!NOTE] +> This feature is currently in {% data variables.release-phases.public_preview %} and subject to change. + +The {% data variables.product.github %} integration in Microsoft Teams allows you to interact with {% data variables.copilot.copilot_coding_agent %} all from within your Teams channels. From within a Teams thread you can initiate {% data variables.copilot.copilot_coding_agent_short %} sessions and open pull requests, using the context of your conversation. + +> [!NOTE] +> When you mention @{% data variables.product.github %} in a Teams thread, the agent will capture the entire thread as context for your request, understanding and implementing solutions based on the discussion. This context is stored in the pull request. + +## Prerequisites + +* You must have a {% data variables.product.github %} account with access to {% data variables.product.prodname_copilot_short %} through {% data variables.copilot.copilot_pro_short %}, {% data variables.copilot.copilot_pro_plus_short %}, {% data variables.copilot.copilot_business_short %}, or {% data variables.copilot.copilot_enterprise_short %}. +* You must have a Teams account and be a member of a channel. + +## Installing the {% data variables.product.github %} app in Teams + +The {% data variables.product.github %} app only needs to be installed once in a team. After the app is installed, any member of the team can connect their {% data variables.product.github %} account to the app and start using it. + +1. Open the [{% data variables.product.github %} integration installation link](https://teams.microsoft.com/l/app/836ecc9e-6dca-4696-a2e9-15e252cd3f31) in your web browser to launch Teams and the installation dialog. +1. Click **Add** to add the app to your team. +1. Follow the prompts on screen to authenticate and authorize the app. + +## Connecting the {% data variables.product.github %} app to your {% data variables.product.github %} account + +The first time you use the {% data variables.product.github %} app in Teams, you need to connect it to your {% data variables.product.github %} account and set a default repository. The default repository provides the context that {% data variables.product.prodname_copilot_short %} uses when responding to prompts, and it’s also where pull requests created by {% data variables.copilot.copilot_coding_agent %} sessions will be opened unless you specify a repository in your prompt. + +To get started, mention `@{% data variables.product.github %} ` in any Teams thread. The app will guide you through signing in and setting a default repository. Or you can connect your {% data variables.product.github %} account and set the default repository manually by following these steps: + +1. In Teams, mention the app in a thread by typing `@{% data variables.product.github %}`. +1. Click **signin** from the list of suggestions. +1. Follow the prompts to sign in to your {% data variables.product.github %} account. +1. In the thread, mention the app by typing `@{% data variables.product.github %}`. +1. Click **settings** to set the default repository. + +## Using the {% data variables.product.prodname_copilot_short %} app in Teams + +You can interact with the {% data variables.product.github %} app in Teams by mentioning it in a thread. The agent will respond to your messages and perform tasks based on your requests. Only users with **write** access to the default repository—or the repository specified in their prompt—can trigger {% data variables.copilot.copilot_coding_agent %} to work. Contributors to the thread without **write** access can help guide {% data variables.product.prodname_copilot_short %} by providing input to the conversation, which will be used as context when making changes in the pull request. + +1. In Teams, mention the app in a thread by typing @{% data variables.product.github %}. +1. Type your message or request, then send it. Optionally, you can specify a repository or branch using the following syntax: + + ```text + @GitHub Add "Hello World" to the README in repo=REPO_OWNER/REPO_NAME branch=BRANCH_NAME + ``` + + The `repo` parameter tells {% data variables.copilot.copilot_coding_agent %} which repository to use for the request, and the `branch` parameter specifies an existing branch of the repository that should be used as the base branch for a pull request. By default, {% data variables.product.prodname_copilot_short %} uses your configured default repository and the repository’s default branch. + + {% data variables.product.prodname_copilot_short %} will initiate a {% data variables.copilot.copilot_coding_agent_short %} session and respond with a summary of the changes it plans to make, including a link to the pull request it has created in the repository. + +You can continue to iterate on the pull request in the same Teams thread. Mention @{% data variables.product.github %} with your suggested change, and the {% data variables.copilot.copilot_coding_agent %} will use all of the messages in the thread since the previous mention to iterate on the existing pull request. + +## Further reading + +* [AUTOTITLE](/copilot/concepts/coding-agent/coding-agent) +* [AUTOTITLE](/copilot/concepts/coding-agent/enable-coding-agent) diff --git a/data/reusables/copilot/zero-budget-changes-link.md b/data/reusables/copilot/zero-budget-changes-link.md new file mode 100644 index 000000000000..7e5240347252 --- /dev/null +++ b/data/reusables/copilot/zero-budget-changes-link.md @@ -0,0 +1,7 @@ + + + +{% data reusables.copilot.zero-budget-changes %} See [AUTOTITLE](/copilot/how-tos/manage-and-track-spending/manage-request-allowances#setting-a-policy-for-paid-usage). + + diff --git a/data/reusables/copilot/zero-budget-changes.md b/data/reusables/copilot/zero-budget-changes.md index a109262c5fca..b9e7275e6ad3 100644 --- a/data/reusables/copilot/zero-budget-changes.md +++ b/data/reusables/copilot/zero-budget-changes.md @@ -1,3 +1,12 @@ -Many accounts have a default $0 budget for {% data variables.product.prodname_copilot_short %} premium requests. Premium requests over the allowance are rejected unless this budget is edited or deleted. + + -> [!NOTE] Accounts with a **{% data variables.copilot.copilot_business_short %}** or **{% data variables.copilot.copilot_enterprise_short %}** plan that started after August 22, 2025, do **not** have the default $0 budget, and premium requests are uninterrupted by default. You can limit spending on premium requests by creating a budget or disabling the "Premium request paid usage" policy. +Accounts created **before August 22, 2025** have a default $0 budget for {% data variables.product.prodname_copilot_short %} premium requests. Premium requests over the allowance are rejected unless you edit or delete this budget. + +> [!IMPORTANT] +> **Beginning November 18, 2025:** +> +> **Account-level $0 {% data variables.product.prodname_copilot_short %} premium request budgets** for {% data variables.product.prodname_enterprise %} and {% data variables.product.prodname_team %} will be removed. See [Upcoming removal of Copilot premium request $0 budgets for enterprise and team accounts](https://github.blog/changelog/2025-09-17-upcoming-removal-of-copilot-premium-request-0-budgets-for-enterprise-and-team-accounts/) in the {% data variables.product.github %} changelog. + + diff --git a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json index fa8d728b7b21..6a66b10b64a5 100644 --- a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json @@ -1004,6 +1004,24 @@ "requestPath": "/orgs/{org}/properties/schema/{custom_property_name}", "additional-permissions": false, "access": "admin" + }, + { + "category": "orgs", + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values", + "additional-permissions": false, + "access": "read" + }, + { + "category": "orgs", + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values", + "additional-permissions": false, + "access": "write" } ] }, @@ -5924,21 +5942,6 @@ } ] }, - "repository_custom_properties": { - "title": "Custom properties", - "displayTitle": "Repository permissions for \"Custom properties\"", - "permissions": [ - { - "category": "repos", - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values", - "additional-permissions": false, - "access": "write" - } - ] - }, "vulnerability_alerts": { "title": "Dependabot alerts", "displayTitle": "Repository permissions for \"Dependabot alerts\"", @@ -6819,15 +6822,6 @@ "additional-permissions": false, "access": "read" }, - { - "category": "repos", - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values", - "additional-permissions": false, - "access": "read" - }, { "category": "repos", "slug": "get-rules-for-a-branch", 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 c90b3ee3b3f7..6de7067a116f 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 @@ -3378,6 +3378,18 @@ "verb": "delete", "requestPath": "/orgs/{org}/properties/schema/{custom_property_name}" }, + { + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values" + }, + { + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values" + }, { "slug": "list-public-organization-members", "subcategory": "members", @@ -4396,18 +4408,6 @@ "verb": "delete", "requestPath": "/repos/{owner}/{repo}/private-vulnerability-reporting" }, - { - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, - { - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, { "slug": "get-a-repository-readme", "subcategory": "contents", diff --git a/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json index 27b5b88baec9..44a9fe27580f 100644 --- a/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json @@ -1220,6 +1220,28 @@ "user-to-server": true, "server-to-server": true, "additional-permissions": false + }, + { + "category": "orgs", + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "orgs", + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false } ] }, @@ -7436,23 +7458,6 @@ } ] }, - "repository_custom_properties": { - "title": "Custom properties", - "displayTitle": "Repository permissions for \"Custom properties\"", - "permissions": [ - { - "category": "repos", - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values", - "access": "write", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - } - ] - }, "vulnerability_alerts": { "title": "Dependabot alerts", "displayTitle": "Repository permissions for \"Dependabot alerts\"", @@ -8532,17 +8537,6 @@ "server-to-server": true, "additional-permissions": false }, - { - "category": "repos", - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values", - "access": "read", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - }, { "category": "repos", "slug": "get-rules-for-a-branch", 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 a4fa3069126e..7540ceb17d2b 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 @@ -3332,6 +3332,18 @@ "verb": "delete", "requestPath": "/orgs/{org}/properties/schema/{custom_property_name}" }, + { + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values" + }, + { + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values" + }, { "slug": "list-public-organization-members", "subcategory": "members", @@ -4528,18 +4540,6 @@ "verb": "delete", "requestPath": "/repos/{owner}/{repo}/private-vulnerability-reporting" }, - { - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, - { - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, { "slug": "get-a-repository-readme", "subcategory": "contents", 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 102f0a291aac..24accaebac7c 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 @@ -3812,6 +3812,18 @@ "verb": "delete", "requestPath": "/orgs/{org}/properties/schema/{custom_property_name}" }, + { + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values" + }, + { + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values" + }, { "slug": "list-public-organization-members", "subcategory": "members", @@ -4996,18 +5008,6 @@ "verb": "delete", "requestPath": "/repos/{owner}/{repo}/private-vulnerability-reporting" }, - { - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, - { - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, { "slug": "get-a-repository-readme", "subcategory": "contents", diff --git a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json index e733d8f12898..f98ad64853dd 100644 --- a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json @@ -1322,6 +1322,24 @@ "requestPath": "/orgs/{org}/properties/schema/{custom_property_name}", "additional-permissions": false, "access": "admin" + }, + { + "category": "orgs", + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values", + "additional-permissions": false, + "access": "read" + }, + { + "category": "orgs", + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values", + "additional-permissions": false, + "access": "write" } ] }, @@ -6740,21 +6758,6 @@ } ] }, - "repository_custom_properties": { - "title": "Custom properties", - "displayTitle": "Repository permissions for \"Custom properties\"", - "permissions": [ - { - "category": "repos", - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values", - "additional-permissions": false, - "access": "write" - } - ] - }, "vulnerability_alerts": { "title": "Dependabot alerts", "displayTitle": "Repository permissions for \"Dependabot alerts\"", @@ -7635,15 +7638,6 @@ "additional-permissions": false, "access": "read" }, - { - "category": "repos", - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values", - "additional-permissions": false, - "access": "read" - }, { "category": "repos", "slug": "get-rules-for-a-branch", 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 cef498788397..fb8356a39468 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 @@ -3736,6 +3736,18 @@ "verb": "delete", "requestPath": "/orgs/{org}/properties/schema/{custom_property_name}" }, + { + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values" + }, + { + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values" + }, { "slug": "list-public-organization-members", "subcategory": "members", @@ -4772,18 +4784,6 @@ "verb": "delete", "requestPath": "/repos/{owner}/{repo}/private-vulnerability-reporting" }, - { - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, - { - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, { "slug": "get-a-repository-readme", "subcategory": "contents", diff --git a/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json index 4d3b119eab23..9dc41019defe 100644 --- a/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json @@ -1772,6 +1772,28 @@ "user-to-server": true, "server-to-server": true, "additional-permissions": false + }, + { + "category": "orgs", + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "orgs", + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false } ] }, @@ -8590,23 +8612,6 @@ } ] }, - "repository_custom_properties": { - "title": "Custom properties", - "displayTitle": "Repository permissions for \"Custom properties\"", - "permissions": [ - { - "category": "repos", - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values", - "access": "write", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - } - ] - }, "vulnerability_alerts": { "title": "Dependabot alerts", "displayTitle": "Repository permissions for \"Dependabot alerts\"", @@ -9686,17 +9691,6 @@ "server-to-server": true, "additional-permissions": false }, - { - "category": "repos", - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values", - "access": "read", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - }, { "category": "repos", "slug": "get-rules-for-a-branch", 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 7d62913c48e0..66217cfe913c 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 @@ -3744,6 +3744,18 @@ "verb": "delete", "requestPath": "/orgs/{org}/properties/schema/{custom_property_name}" }, + { + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values" + }, + { + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values" + }, { "slug": "list-public-organization-members", "subcategory": "members", @@ -4958,18 +4970,6 @@ "verb": "delete", "requestPath": "/repos/{owner}/{repo}/private-vulnerability-reporting" }, - { - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, - { - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, { "slug": "get-a-repository-readme", "subcategory": "contents", 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 4dd0c61833e2..dd12367a56e9 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 @@ -4224,6 +4224,18 @@ "verb": "delete", "requestPath": "/orgs/{org}/properties/schema/{custom_property_name}" }, + { + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values" + }, + { + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values" + }, { "slug": "list-public-organization-members", "subcategory": "members", @@ -5426,18 +5438,6 @@ "verb": "delete", "requestPath": "/repos/{owner}/{repo}/private-vulnerability-reporting" }, - { - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, - { - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, { "slug": "get-a-repository-readme", "subcategory": "contents", diff --git a/src/github-apps/data/ghes-3.14-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/ghes-3.14-2022-11-28/fine-grained-pat-permissions.json index 695b458f7d36..ad73c0720684 100644 --- a/src/github-apps/data/ghes-3.14-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghes-3.14-2022-11-28/fine-grained-pat-permissions.json @@ -533,6 +533,24 @@ "requestPath": "/orgs/{org}/properties/schema/{custom_property_name}", "additional-permissions": false, "access": "admin" + }, + { + "category": "orgs", + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values", + "additional-permissions": false, + "access": "read" + }, + { + "category": "orgs", + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values", + "additional-permissions": false, + "access": "write" } ] }, @@ -4346,21 +4364,6 @@ } ] }, - "repository_custom_properties": { - "title": "Custom properties", - "displayTitle": "Repository permissions for \"Custom properties\"", - "permissions": [ - { - "category": "repos", - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values", - "additional-permissions": false, - "access": "write" - } - ] - }, "vulnerability_alerts": { "title": "Dependabot alerts", "displayTitle": "Repository permissions for \"Dependabot alerts\"", @@ -5151,15 +5154,6 @@ "additional-permissions": false, "access": "read" }, - { - "category": "repos", - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values", - "additional-permissions": false, - "access": "read" - }, { "category": "repos", "slug": "get-rules-for-a-branch", diff --git a/src/github-apps/data/ghes-3.14-2022-11-28/fine-grained-pat.json b/src/github-apps/data/ghes-3.14-2022-11-28/fine-grained-pat.json index e9b2b695d383..a70dd58351ac 100644 --- a/src/github-apps/data/ghes-3.14-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/ghes-3.14-2022-11-28/fine-grained-pat.json @@ -2524,6 +2524,18 @@ "verb": "delete", "requestPath": "/orgs/{org}/properties/schema/{custom_property_name}" }, + { + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values" + }, + { + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values" + }, { "slug": "list-public-organization-members", "subcategory": "members", @@ -3358,18 +3370,6 @@ "verb": "get", "requestPath": "/repos/{owner}/{repo}/languages" }, - { - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, - { - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, { "slug": "get-a-repository-readme", "subcategory": "contents", diff --git a/src/github-apps/data/ghes-3.14-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/ghes-3.14-2022-11-28/server-to-server-permissions.json index 65e326bb1c20..d31a3e3af791 100644 --- a/src/github-apps/data/ghes-3.14-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/ghes-3.14-2022-11-28/server-to-server-permissions.json @@ -647,6 +647,28 @@ "user-to-server": true, "server-to-server": true, "additional-permissions": false + }, + { + "category": "orgs", + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "orgs", + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false } ] }, @@ -5522,23 +5544,6 @@ } ] }, - "repository_custom_properties": { - "title": "Custom properties", - "displayTitle": "Repository permissions for \"Custom properties\"", - "permissions": [ - { - "category": "repos", - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values", - "access": "write", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - } - ] - }, "vulnerability_alerts": { "title": "Dependabot alerts", "displayTitle": "Repository permissions for \"Dependabot alerts\"", @@ -6508,17 +6513,6 @@ "server-to-server": true, "additional-permissions": false }, - { - "category": "repos", - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values", - "access": "read", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - }, { "category": "repos", "slug": "get-rules-for-a-branch", diff --git a/src/github-apps/data/ghes-3.14-2022-11-28/server-to-server-rest.json b/src/github-apps/data/ghes-3.14-2022-11-28/server-to-server-rest.json index 56de287662b3..d07c7b92d70a 100644 --- a/src/github-apps/data/ghes-3.14-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/ghes-3.14-2022-11-28/server-to-server-rest.json @@ -2694,6 +2694,18 @@ "verb": "delete", "requestPath": "/orgs/{org}/properties/schema/{custom_property_name}" }, + { + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values" + }, + { + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values" + }, { "slug": "list-public-organization-members", "subcategory": "members", @@ -3706,18 +3718,6 @@ "verb": "get", "requestPath": "/repos/{owner}/{repo}/languages" }, - { - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, - { - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, { "slug": "get-a-repository-readme", "subcategory": "contents", diff --git a/src/github-apps/data/ghes-3.14-2022-11-28/user-to-server-rest.json b/src/github-apps/data/ghes-3.14-2022-11-28/user-to-server-rest.json index 37cb41e75606..bb2308b1ddc9 100644 --- a/src/github-apps/data/ghes-3.14-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/ghes-3.14-2022-11-28/user-to-server-rest.json @@ -2882,6 +2882,18 @@ "verb": "delete", "requestPath": "/orgs/{org}/properties/schema/{custom_property_name}" }, + { + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values" + }, + { + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values" + }, { "slug": "list-public-organization-members", "subcategory": "members", @@ -3882,18 +3894,6 @@ "verb": "get", "requestPath": "/repos/{owner}/{repo}/languages" }, - { - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, - { - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, { "slug": "get-a-repository-readme", "subcategory": "contents", diff --git a/src/github-apps/data/ghes-3.15-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/ghes-3.15-2022-11-28/fine-grained-pat-permissions.json index 2a7ef1188df3..486a3f619eea 100644 --- a/src/github-apps/data/ghes-3.15-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghes-3.15-2022-11-28/fine-grained-pat-permissions.json @@ -623,6 +623,24 @@ "requestPath": "/orgs/{org}/properties/schema/{custom_property_name}", "additional-permissions": false, "access": "admin" + }, + { + "category": "orgs", + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values", + "additional-permissions": false, + "access": "read" + }, + { + "category": "orgs", + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values", + "additional-permissions": false, + "access": "write" } ] }, @@ -4454,21 +4472,6 @@ } ] }, - "repository_custom_properties": { - "title": "Custom properties", - "displayTitle": "Repository permissions for \"Custom properties\"", - "permissions": [ - { - "category": "repos", - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values", - "additional-permissions": false, - "access": "write" - } - ] - }, "vulnerability_alerts": { "title": "Dependabot alerts", "displayTitle": "Repository permissions for \"Dependabot alerts\"", @@ -5259,15 +5262,6 @@ "additional-permissions": false, "access": "read" }, - { - "category": "repos", - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values", - "additional-permissions": false, - "access": "read" - }, { "category": "repos", "slug": "get-rules-for-a-branch", diff --git a/src/github-apps/data/ghes-3.15-2022-11-28/fine-grained-pat.json b/src/github-apps/data/ghes-3.15-2022-11-28/fine-grained-pat.json index 6bf335f2dc7b..b08041f75691 100644 --- a/src/github-apps/data/ghes-3.15-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/ghes-3.15-2022-11-28/fine-grained-pat.json @@ -2592,6 +2592,18 @@ "verb": "delete", "requestPath": "/orgs/{org}/properties/schema/{custom_property_name}" }, + { + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values" + }, + { + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values" + }, { "slug": "list-public-organization-members", "subcategory": "members", @@ -3426,18 +3438,6 @@ "verb": "get", "requestPath": "/repos/{owner}/{repo}/languages" }, - { - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, - { - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, { "slug": "get-a-repository-readme", "subcategory": "contents", diff --git a/src/github-apps/data/ghes-3.15-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/ghes-3.15-2022-11-28/server-to-server-permissions.json index 75df6ab3a241..56dd950dc899 100644 --- a/src/github-apps/data/ghes-3.15-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/ghes-3.15-2022-11-28/server-to-server-permissions.json @@ -757,6 +757,28 @@ "user-to-server": true, "server-to-server": true, "additional-permissions": false + }, + { + "category": "orgs", + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "orgs", + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false } ] }, @@ -5654,23 +5676,6 @@ } ] }, - "repository_custom_properties": { - "title": "Custom properties", - "displayTitle": "Repository permissions for \"Custom properties\"", - "permissions": [ - { - "category": "repos", - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values", - "access": "write", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - } - ] - }, "vulnerability_alerts": { "title": "Dependabot alerts", "displayTitle": "Repository permissions for \"Dependabot alerts\"", @@ -6640,17 +6645,6 @@ "server-to-server": true, "additional-permissions": false }, - { - "category": "repos", - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values", - "access": "read", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - }, { "category": "repos", "slug": "get-rules-for-a-branch", diff --git a/src/github-apps/data/ghes-3.15-2022-11-28/server-to-server-rest.json b/src/github-apps/data/ghes-3.15-2022-11-28/server-to-server-rest.json index cc0c3c24060d..53702774df74 100644 --- a/src/github-apps/data/ghes-3.15-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/ghes-3.15-2022-11-28/server-to-server-rest.json @@ -2762,6 +2762,18 @@ "verb": "delete", "requestPath": "/orgs/{org}/properties/schema/{custom_property_name}" }, + { + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values" + }, + { + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values" + }, { "slug": "list-public-organization-members", "subcategory": "members", @@ -3774,18 +3786,6 @@ "verb": "get", "requestPath": "/repos/{owner}/{repo}/languages" }, - { - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, - { - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, { "slug": "get-a-repository-readme", "subcategory": "contents", diff --git a/src/github-apps/data/ghes-3.15-2022-11-28/user-to-server-rest.json b/src/github-apps/data/ghes-3.15-2022-11-28/user-to-server-rest.json index 8bbd7da37a3d..7500aacbafc7 100644 --- a/src/github-apps/data/ghes-3.15-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/ghes-3.15-2022-11-28/user-to-server-rest.json @@ -2950,6 +2950,18 @@ "verb": "delete", "requestPath": "/orgs/{org}/properties/schema/{custom_property_name}" }, + { + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values" + }, + { + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values" + }, { "slug": "list-public-organization-members", "subcategory": "members", @@ -3950,18 +3962,6 @@ "verb": "get", "requestPath": "/repos/{owner}/{repo}/languages" }, - { - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, - { - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, { "slug": "get-a-repository-readme", "subcategory": "contents", diff --git a/src/github-apps/data/ghes-3.16-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/ghes-3.16-2022-11-28/fine-grained-pat-permissions.json index a4c89004df63..4b89825b8734 100644 --- a/src/github-apps/data/ghes-3.16-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghes-3.16-2022-11-28/fine-grained-pat-permissions.json @@ -623,6 +623,24 @@ "requestPath": "/orgs/{org}/properties/schema/{custom_property_name}", "additional-permissions": false, "access": "admin" + }, + { + "category": "orgs", + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values", + "additional-permissions": false, + "access": "read" + }, + { + "category": "orgs", + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values", + "additional-permissions": false, + "access": "write" } ] }, @@ -4505,21 +4523,6 @@ } ] }, - "repository_custom_properties": { - "title": "Custom properties", - "displayTitle": "Repository permissions for \"Custom properties\"", - "permissions": [ - { - "category": "repos", - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values", - "additional-permissions": false, - "access": "write" - } - ] - }, "vulnerability_alerts": { "title": "Dependabot alerts", "displayTitle": "Repository permissions for \"Dependabot alerts\"", @@ -5310,15 +5313,6 @@ "additional-permissions": false, "access": "read" }, - { - "category": "repos", - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values", - "additional-permissions": false, - "access": "read" - }, { "category": "repos", "slug": "get-rules-for-a-branch", diff --git a/src/github-apps/data/ghes-3.16-2022-11-28/fine-grained-pat.json b/src/github-apps/data/ghes-3.16-2022-11-28/fine-grained-pat.json index 1e543b4cbe11..003a1c8ddf09 100644 --- a/src/github-apps/data/ghes-3.16-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/ghes-3.16-2022-11-28/fine-grained-pat.json @@ -2592,6 +2592,18 @@ "verb": "delete", "requestPath": "/orgs/{org}/properties/schema/{custom_property_name}" }, + { + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values" + }, + { + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values" + }, { "slug": "list-public-organization-members", "subcategory": "members", @@ -3458,18 +3470,6 @@ "verb": "get", "requestPath": "/repos/{owner}/{repo}/languages" }, - { - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, - { - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, { "slug": "get-a-repository-readme", "subcategory": "contents", diff --git a/src/github-apps/data/ghes-3.16-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/ghes-3.16-2022-11-28/server-to-server-permissions.json index a24f3f3d5ae3..3c4377212963 100644 --- a/src/github-apps/data/ghes-3.16-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/ghes-3.16-2022-11-28/server-to-server-permissions.json @@ -757,6 +757,28 @@ "user-to-server": true, "server-to-server": true, "additional-permissions": false + }, + { + "category": "orgs", + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "orgs", + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false } ] }, @@ -5715,23 +5737,6 @@ } ] }, - "repository_custom_properties": { - "title": "Custom properties", - "displayTitle": "Repository permissions for \"Custom properties\"", - "permissions": [ - { - "category": "repos", - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values", - "access": "write", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - } - ] - }, "vulnerability_alerts": { "title": "Dependabot alerts", "displayTitle": "Repository permissions for \"Dependabot alerts\"", @@ -6701,17 +6706,6 @@ "server-to-server": true, "additional-permissions": false }, - { - "category": "repos", - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values", - "access": "read", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - }, { "category": "repos", "slug": "get-rules-for-a-branch", diff --git a/src/github-apps/data/ghes-3.16-2022-11-28/server-to-server-rest.json b/src/github-apps/data/ghes-3.16-2022-11-28/server-to-server-rest.json index aa4c3bd1b8dd..82b4f40283de 100644 --- a/src/github-apps/data/ghes-3.16-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/ghes-3.16-2022-11-28/server-to-server-rest.json @@ -2762,6 +2762,18 @@ "verb": "delete", "requestPath": "/orgs/{org}/properties/schema/{custom_property_name}" }, + { + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values" + }, + { + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values" + }, { "slug": "list-public-organization-members", "subcategory": "members", @@ -3806,18 +3818,6 @@ "verb": "get", "requestPath": "/repos/{owner}/{repo}/languages" }, - { - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, - { - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, { "slug": "get-a-repository-readme", "subcategory": "contents", diff --git a/src/github-apps/data/ghes-3.16-2022-11-28/user-to-server-rest.json b/src/github-apps/data/ghes-3.16-2022-11-28/user-to-server-rest.json index 7cceb8ae07d4..525b4ddf1ed2 100644 --- a/src/github-apps/data/ghes-3.16-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/ghes-3.16-2022-11-28/user-to-server-rest.json @@ -2950,6 +2950,18 @@ "verb": "delete", "requestPath": "/orgs/{org}/properties/schema/{custom_property_name}" }, + { + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values" + }, + { + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values" + }, { "slug": "list-public-organization-members", "subcategory": "members", @@ -3982,18 +3994,6 @@ "verb": "get", "requestPath": "/repos/{owner}/{repo}/languages" }, - { - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, - { - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, { "slug": "get-a-repository-readme", "subcategory": "contents", diff --git a/src/github-apps/data/ghes-3.17-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/ghes-3.17-2022-11-28/fine-grained-pat-permissions.json index 75a1f93af68a..831e75fa0ff6 100644 --- a/src/github-apps/data/ghes-3.17-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghes-3.17-2022-11-28/fine-grained-pat-permissions.json @@ -632,6 +632,24 @@ "requestPath": "/orgs/{org}/properties/schema/{custom_property_name}", "additional-permissions": false, "access": "admin" + }, + { + "category": "orgs", + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values", + "additional-permissions": false, + "access": "read" + }, + { + "category": "orgs", + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values", + "additional-permissions": false, + "access": "write" } ] }, @@ -4574,21 +4592,6 @@ } ] }, - "repository_custom_properties": { - "title": "Custom properties", - "displayTitle": "Repository permissions for \"Custom properties\"", - "permissions": [ - { - "category": "repos", - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values", - "additional-permissions": false, - "access": "write" - } - ] - }, "vulnerability_alerts": { "title": "Dependabot alerts", "displayTitle": "Repository permissions for \"Dependabot alerts\"", @@ -5379,15 +5382,6 @@ "additional-permissions": false, "access": "read" }, - { - "category": "repos", - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values", - "additional-permissions": false, - "access": "read" - }, { "category": "repos", "slug": "get-rules-for-a-branch", diff --git a/src/github-apps/data/ghes-3.17-2022-11-28/fine-grained-pat.json b/src/github-apps/data/ghes-3.17-2022-11-28/fine-grained-pat.json index 0d2146361e41..18d0d4f4d89c 100644 --- a/src/github-apps/data/ghes-3.17-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/ghes-3.17-2022-11-28/fine-grained-pat.json @@ -2598,6 +2598,18 @@ "verb": "delete", "requestPath": "/orgs/{org}/properties/schema/{custom_property_name}" }, + { + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values" + }, + { + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values" + }, { "slug": "list-public-organization-members", "subcategory": "members", @@ -3476,18 +3488,6 @@ "verb": "get", "requestPath": "/repos/{owner}/{repo}/languages" }, - { - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, - { - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, { "slug": "get-a-repository-readme", "subcategory": "contents", diff --git a/src/github-apps/data/ghes-3.17-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/ghes-3.17-2022-11-28/server-to-server-permissions.json index 6db7a4cc1ba7..d3e16873836d 100644 --- a/src/github-apps/data/ghes-3.17-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/ghes-3.17-2022-11-28/server-to-server-permissions.json @@ -768,6 +768,28 @@ "user-to-server": true, "server-to-server": true, "additional-permissions": false + }, + { + "category": "orgs", + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "orgs", + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false } ] }, @@ -5798,23 +5820,6 @@ } ] }, - "repository_custom_properties": { - "title": "Custom properties", - "displayTitle": "Repository permissions for \"Custom properties\"", - "permissions": [ - { - "category": "repos", - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values", - "access": "write", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - } - ] - }, "vulnerability_alerts": { "title": "Dependabot alerts", "displayTitle": "Repository permissions for \"Dependabot alerts\"", @@ -6784,17 +6789,6 @@ "server-to-server": true, "additional-permissions": false }, - { - "category": "repos", - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values", - "access": "read", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - }, { "category": "repos", "slug": "get-rules-for-a-branch", diff --git a/src/github-apps/data/ghes-3.17-2022-11-28/server-to-server-rest.json b/src/github-apps/data/ghes-3.17-2022-11-28/server-to-server-rest.json index 503be680a649..7982ba6450e6 100644 --- a/src/github-apps/data/ghes-3.17-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/ghes-3.17-2022-11-28/server-to-server-rest.json @@ -2768,6 +2768,18 @@ "verb": "delete", "requestPath": "/orgs/{org}/properties/schema/{custom_property_name}" }, + { + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values" + }, + { + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values" + }, { "slug": "list-public-organization-members", "subcategory": "members", @@ -3824,18 +3836,6 @@ "verb": "get", "requestPath": "/repos/{owner}/{repo}/languages" }, - { - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, - { - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, { "slug": "get-a-repository-readme", "subcategory": "contents", diff --git a/src/github-apps/data/ghes-3.17-2022-11-28/user-to-server-rest.json b/src/github-apps/data/ghes-3.17-2022-11-28/user-to-server-rest.json index 51eacef9e860..4e5b7594d02d 100644 --- a/src/github-apps/data/ghes-3.17-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/ghes-3.17-2022-11-28/user-to-server-rest.json @@ -2956,6 +2956,18 @@ "verb": "delete", "requestPath": "/orgs/{org}/properties/schema/{custom_property_name}" }, + { + "slug": "list-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "get", + "requestPath": "/orgs/{org}/properties/values" + }, + { + "slug": "create-or-update-custom-property-values-for-organization-repositories", + "subcategory": "custom-properties", + "verb": "patch", + "requestPath": "/orgs/{org}/properties/values" + }, { "slug": "list-public-organization-members", "subcategory": "members", @@ -4000,18 +4012,6 @@ "verb": "get", "requestPath": "/repos/{owner}/{repo}/languages" }, - { - "slug": "get-all-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "get", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, - { - "slug": "create-or-update-custom-property-values-for-a-repository", - "subcategory": "custom-properties", - "verb": "patch", - "requestPath": "/repos/{owner}/{repo}/properties/values" - }, { "slug": "get-a-repository-readme", "subcategory": "contents", diff --git a/src/github-apps/lib/config.json b/src/github-apps/lib/config.json index e20eab284496..075e7b773ad1 100644 --- a/src/github-apps/lib/config.json +++ b/src/github-apps/lib/config.json @@ -60,5 +60,5 @@ "2022-11-28" ] }, - "sha": "73684ea0156d151bb888c351ff7ce1544258a4b3" + "sha": "1fffcfe35ca7da072adbfa86a242f20fa0c17f9f" } \ No newline at end of file diff --git a/src/landings/components/discovery/DiscoveryLanding.tsx b/src/landings/components/discovery/DiscoveryLanding.tsx index 61c87ba0b883..f1a13c14cd11 100644 --- a/src/landings/components/discovery/DiscoveryLanding.tsx +++ b/src/landings/components/discovery/DiscoveryLanding.tsx @@ -20,8 +20,10 @@ export const DiscoveryLanding = () => {
- - +
+ + +
) diff --git a/src/landings/components/shared/LandingCarousel.module.scss b/src/landings/components/shared/LandingCarousel.module.scss index 65342a78bcde..dff1b4f916be 100644 --- a/src/landings/components/shared/LandingCarousel.module.scss +++ b/src/landings/components/shared/LandingCarousel.module.scss @@ -1,5 +1,6 @@ .carousel { margin-top: 3rem; + --carousel-transition-duration: 0.3s; } .header { @@ -47,6 +48,8 @@ display: grid; gap: 1.5rem; grid-template-columns: 1fr; + transition: opacity var(--carousel-transition-duration) ease-out; + opacity: 1; @media (min-width: 768px) { grid-template-columns: repeat(2, 1fr); @@ -55,6 +58,10 @@ @media (min-width: 1012px) { grid-template-columns: repeat(3, 1fr); } + + &.animating { + opacity: 0; + } } .articleCard { diff --git a/src/landings/components/shared/LandingCarousel.tsx b/src/landings/components/shared/LandingCarousel.tsx index c609ba9c0ef2..0a651c77bc1e 100644 --- a/src/landings/components/shared/LandingCarousel.tsx +++ b/src/landings/components/shared/LandingCarousel.tsx @@ -1,4 +1,4 @@ -import { useState, useEffect } from 'react' +import { useState, useEffect, useRef } from 'react' import { ChevronLeftIcon, ChevronRightIcon } from '@primer/octicons-react' import { Token } from '@primer/react' import cx from 'classnames' @@ -53,15 +53,27 @@ export const LandingCarousel = ({ recommended, }: LandingCarouselProps) => { const [currentPage, setCurrentPage] = useState(0) + const [isAnimating, setIsAnimating] = useState(false) const itemsPerView = useResponsiveItemsPerView() const { t } = useTranslation('discovery_landing') const headingText = heading || t('recommended') + // Ref to store timeout IDs for cleanup + const animationTimeoutRef = useRef(null) // Reset to first page when itemsPerView changes (screen size changes) useEffect(() => { setCurrentPage(0) }, [itemsPerView]) + // Cleanup timeout on unmount + useEffect(() => { + return () => { + if (animationTimeoutRef.current) { + clearTimeout(animationTimeoutRef.current) + } + } + }, []) + // Helper function to find article data from tocItems const findArticleData = (articlePath: string) => { if (typeof articlePath !== 'string') { @@ -94,11 +106,41 @@ export const LandingCarousel = ({ const totalPages = Math.ceil(totalItems / itemsPerView) const goToPrevious = () => { + if (currentPage === 0 || isAnimating) return + + // Clear any existing timeout + if (animationTimeoutRef.current) { + clearTimeout(animationTimeoutRef.current) + } + + setIsAnimating(true) setCurrentPage((prev) => Math.max(0, prev - 1)) + + // Set animation state to false after transition completes + // Duration matches CSS custom property --carousel-transition-duration (300ms) + animationTimeoutRef.current = setTimeout(() => { + setIsAnimating(false) + animationTimeoutRef.current = null + }, 300) } const goToNext = () => { + if (currentPage >= totalPages - 1 || isAnimating) return + + // Clear any existing timeout + if (animationTimeoutRef.current) { + clearTimeout(animationTimeoutRef.current) + } + + setIsAnimating(true) setCurrentPage((prev) => Math.min(totalPages - 1, prev + 1)) + + // Set animation state to false after transition completes + // Duration matches CSS custom property --carousel-transition-duration (300ms) + animationTimeoutRef.current = setTimeout(() => { + setIsAnimating(false) + animationTimeoutRef.current = null + }, 300) } // Calculate the start index based on current page @@ -136,7 +178,10 @@ export const LandingCarousel = ({ )} -
+
{visibleItems.map((article: ProcessedArticleItem, index) => (
Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions and reusable workflows allowed to run in the repository.

\n

OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

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

Gets the GitHub Actions permissions policy for a repository, including whether GitHub Actions is enabled and the actions and reusable workflows allowed to run in the repository.

\n

OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.

" }, { "serverUrl": "https://api.github.com", @@ -21250,13 +21250,13 @@ } ], "previews": [], - "descriptionHTML": "

Returns a token that you can pass to the config script. The token expires after one hour.

\n

For example, you can replace TOKEN in the following example with the registration token provided by this endpoint to configure your self-hosted runner:

\n
./config.sh --url https://github.com/octo-org --token TOKEN\n
\n

Authenticated users must have admin access to the repository to use this endpoint.

\n

OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "201", "description": "

Created

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

Returns a token that you can pass to the config script. The token expires after one hour.

\n

For example, you can replace TOKEN in the following example with the registration token provided by this endpoint to configure your self-hosted runner:

\n
./config.sh --url https://github.com/octo-org --token TOKEN\n
\n

Authenticated users must have admin access to the repository to use this endpoint.

\n

OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.

" }, { "serverUrl": "https://api.github.com", @@ -27604,7 +27604,6 @@ } ], "previews": [], - "descriptionHTML": "

Lists jobs for a specific workflow run attempt. You can use parameters to narrow the list of results. For more information\nabout using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

", "statusCodes": [ { "httpStatusCode": "200", @@ -27614,7 +27613,8 @@ "httpStatusCode": "404", "description": "

Resource not found

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

Lists jobs for a specific workflow run attempt. You can use parameters to narrow the list of results. For more information\nabout using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

" }, { "serverUrl": "https://api.github.com", @@ -39381,13 +39381,13 @@ } ], "previews": [], - "descriptionHTML": "

Approve or reject pending deployments that are waiting on approval by a required reviewer.

\n

Required reviewers with read access to the repository contents and deployments can use this endpoint.

\n

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

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

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

Approve or reject pending deployments that are waiting on approval by a required reviewer.

\n

Required reviewers with read access to the repository contents and deployments can use this endpoint.

\n

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

" }, { "serverUrl": "https://api.github.com", @@ -55423,13 +55423,13 @@ } ], "previews": [], - "descriptionHTML": "

Note

\n

\nThis API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.

\n
", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

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

Note

\n

\nThis API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.

\n
" }, { "serverUrl": "https://api.github.com", @@ -178866,7 +178866,6 @@ } ], "previews": [], - "descriptionHTML": "

Sets a code security configuration as a default to be applied to new repositories in your enterprise.

\n

This configuration will be applied by default to the matching repository type when created, but only for organizations within the enterprise that do not already have a default code security configuration set.

\n

The authenticated user must be an administrator for the enterprise to use this endpoint.

\n

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

", "statusCodes": [ { "httpStatusCode": "200", @@ -178880,7 +178879,8 @@ "httpStatusCode": "404", "description": "

Resource not found

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

Sets a code security configuration as a default to be applied to new repositories in your enterprise.

\n

This configuration will be applied by default to the matching repository type when created, but only for organizations within the enterprise that do not already have a default code security configuration set.

\n

The authenticated user must be an administrator for the enterprise to use this endpoint.

\n

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

" }, { "serverUrl": "https://api.github.com", @@ -256750,13 +256750,13 @@ } ], "previews": [], - "descriptionHTML": "

Gets your public key, which you need to encrypt secrets. You need to\nencrypt a secret before you can create or update secrets.

\n

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

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

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

Gets your public key, which you need to encrypt secrets. You need to\nencrypt a secret before you can create or update secrets.

\n

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

" }, { "serverUrl": "https://api.github.com", @@ -257073,13 +257073,13 @@ } ], "previews": [], - "descriptionHTML": "

Deletes a secret in an organization using the secret name.

\n

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

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

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

Deletes a secret in an organization using the secret name.

\n

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

" }, { "serverUrl": "https://api.github.com", @@ -258252,7 +258252,6 @@ } ], "previews": [], - "descriptionHTML": "

Adds a repository to an organization secret when the visibility for\nrepository access is set to selected. The visibility is set when you Create or\nupdate an organization secret.

\n

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

", "statusCodes": [ { "httpStatusCode": "204", @@ -258262,7 +258261,8 @@ "httpStatusCode": "409", "description": "

Conflict when visibility type is not set to selected

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

Adds a repository to an organization secret when the visibility for\nrepository access is set to selected. The visibility is set when you Create or\nupdate an organization secret.

\n

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

" }, { "serverUrl": "https://api.github.com", @@ -266697,13 +266697,13 @@ } ], "previews": [], - "descriptionHTML": "

Enable a custom deployment protection rule for an environment.

\n

The authenticated user must have admin or owner permissions to the repository to use this endpoint.

\n

For more information about the app that is providing this custom deployment rule, see the documentation for the GET /apps/{app_slug} endpoint, as well as the guide to creating custom deployment protection rules.

\n

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

", "statusCodes": [ { "httpStatusCode": "201", "description": "

The enabled custom deployment protection rule

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

Enable a custom deployment protection rule for an environment.

\n

The authenticated user must have admin or owner permissions to the repository to use this endpoint.

\n

For more information about the app that is providing this custom deployment rule, see the documentation for the GET /apps/{app_slug} endpoint, as well as the guide to creating custom deployment protection rules.

\n

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

" }, { "serverUrl": "https://api.github.com", @@ -291393,7 +291393,6 @@ } ], "previews": [], - "descriptionHTML": "

Get the content of a gitignore template.

\n

This endpoint supports the following custom media types. For more information, see \"Media types.\"

\n
    \n
  • application/vnd.github.raw+json: Returns the raw .gitignore contents.
  • \n
", "statusCodes": [ { "httpStatusCode": "200", @@ -291403,7 +291402,8 @@ "httpStatusCode": "304", "description": "

Not modified

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

Get the content of a gitignore template.

\n

This endpoint supports the following custom media types. For more information, see \"Media types.\"

\n
    \n
  • application/vnd.github.raw+json: Returns the raw .gitignore contents.
  • \n
" } ] }, @@ -291507,13 +291507,13 @@ } ], "previews": [], - "descriptionHTML": "

Shows which type of GitHub user can interact with this organization and when the restriction expires. If there is no restrictions, you will see an empty response.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

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

Shows which type of GitHub user can interact with this organization and when the restriction expires. If there is no restrictions, you will see an empty response.

" }, { "serverUrl": "https://api.github.com", @@ -402628,13 +402628,13 @@ } ], "previews": [], - "descriptionHTML": "

Lists the most recent migrations, including both exports (which can be started through the REST API) and imports (which cannot be started using the REST API).

\n

A list of repositories is only returned for export migrations.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

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

Lists the most recent migrations, including both exports (which can be started through the REST API) and imports (which cannot be started using the REST API).

\n

A list of repositories is only returned for export migrations.

" }, { "serverUrl": "https://api.github.com", @@ -405616,7 +405616,6 @@ } ], "previews": [], - "descriptionHTML": "

Fetches the status of a migration.

\n

The state of a migration can be one of the following values:

\n
    \n
  • pending, which means the migration hasn't started yet.
  • \n
  • exporting, which means the migration is in progress.
  • \n
  • exported, which means the migration finished successfully.
  • \n
  • failed, which means the migration failed.
  • \n
", "statusCodes": [ { "httpStatusCode": "200", @@ -405626,7 +405625,8 @@ "httpStatusCode": "404", "description": "

Resource not found

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

Fetches the status of a migration.

\n

The state of a migration can be one of the following values:

\n
    \n
  • pending, which means the migration hasn't started yet.
  • \n
  • exporting, which means the migration is in progress.
  • \n
  • exported, which means the migration finished successfully.
  • \n
  • failed, which means the migration failed.
  • \n
" }, { "serverUrl": "https://api.github.com", @@ -414604,13 +414604,13 @@ } ], "previews": [], - "descriptionHTML": "

Get a list of models available for use, including details like supported input/output modalities,\npublisher, and rate limits.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

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

Get a list of models available for use, including details like supported input/output modalities,\npublisher, and rate limits.

" } ], "embeddings": [ @@ -414986,13 +414986,13 @@ } ], "previews": [], - "descriptionHTML": "

This endpoint allows you to run an embedding request. The token used to authenticate must have the models: read permission if using a fine-grained PAT or GitHub App minted token.\nThe request body should contain the model ID and the input text(s) for the embedding request. The response will include the generated embeddings.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

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

This endpoint allows you to run an embedding request. The token used to authenticate must have the models: read permission if using a fine-grained PAT or GitHub App minted token.\nThe request body should contain the model ID and the input text(s) for the embedding request. The response will include the generated embeddings.

" } ], "inference": [ @@ -415332,13 +415332,13 @@ } ], "previews": [], - "descriptionHTML": "

This endpoint allows you to run an inference request attributed to a specific organization. You must be a member of the organization and have enabled models to use this endpoint.\nThe token used to authenticate must have the models: read permission if using a fine-grained PAT or GitHub App minted token.\nThe request body should contain the model ID and the messages for the chat completion request. The response will include either a non-streaming or streaming response based on the request parameters.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

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

This endpoint allows you to run an inference request attributed to a specific organization. You must be a member of the organization and have enabled models to use this endpoint.\nThe token used to authenticate must have the models: read permission if using a fine-grained PAT or GitHub App minted token.\nThe request body should contain the model ID and the messages for the chat completion request. The response will include either a non-streaming or streaming response based on the request parameters.

" }, { "serverUrl": "https://models.github.ai", @@ -419975,13 +419975,13 @@ } ], "previews": [], - "descriptionHTML": "

Get API request statistics for all subjects within an organization within a specified time frame. Subjects can be users or GitHub Apps.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

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

Get API request statistics for all subjects within an organization within a specified time frame. Subjects can be users or GitHub Apps.

" }, { "serverUrl": "https://api.github.com", @@ -423009,6 +423009,16 @@ } ], "bodyParameters": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Custom properties\" organization permissions": "read" + } + ] + }, "codeExamples": [ { "key": "default", @@ -423184,6 +423194,16 @@ ] } ], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Custom properties\" organization permissions": "write" + } + ] + }, "codeExamples": [ { "key": "default", @@ -429361,13 +429381,13 @@ } ], "previews": [], - "descriptionHTML": "

Updates a hosted compute network configuration for an organization.

\n

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

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

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

Updates a hosted compute network configuration for an organization.

\n

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

" }, { "serverUrl": "https://api.github.com", @@ -430006,13 +430026,13 @@ } ], "previews": [], - "descriptionHTML": "

Removes all assigned organization roles from a team. For more information on organization roles, see \"Using organization roles.\"

\n

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

\n

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

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

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

Removes all assigned organization roles from a team. For more information on organization roles, see \"Using organization roles.\"

\n

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

\n

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

" }, { "serverUrl": "https://api.github.com", @@ -431861,7 +431881,6 @@ } ], "previews": [], - "descriptionHTML": "

When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"Converting an organization member to an outside collaborator\". Converting an organization member to an outside collaborator may be restricted by enterprise administrators. For more information, see \"Enforcing repository management policies in your enterprise.\"

", "statusCodes": [ { "httpStatusCode": "202", @@ -431879,7 +431898,8 @@ "httpStatusCode": "404", "description": "

Resource not found

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

When an organization member is converted to an outside collaborator, they'll only have access to the repositories that their current team membership allows. The user will no longer be a member of the organization. For more information, see \"Converting an organization member to an outside collaborator\". Converting an organization member to an outside collaborator may be restricted by enterprise administrators. For more information, see \"Enforcing repository management policies in your enterprise.\"

" }, { "serverUrl": "https://api.github.com", @@ -432642,7 +432662,6 @@ } ], "previews": [], - "descriptionHTML": "

Approves or denies a pending request to access organization resources via a fine-grained personal access token.

\n

Only GitHub Apps can use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", @@ -432664,7 +432683,8 @@ "httpStatusCode": "500", "description": "

Internal Error

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

Approves or denies a pending request to access organization resources via a fine-grained personal access token.

\n

Only GitHub Apps can use this endpoint.

" }, { "serverUrl": "https://api.github.com", @@ -446380,7 +446400,6 @@ } ], "previews": [], - "descriptionHTML": "

Returns a delivery for a webhook configured in an organization.

\n

You must be an organization owner to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need admin:org_hook scope. OAuth apps cannot list, view, or edit\nwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.

", "statusCodes": [ { "httpStatusCode": "200", @@ -446394,7 +446413,8 @@ "httpStatusCode": "422", "description": "

Validation failed, or the endpoint has been spammed.

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

Returns a delivery for a webhook configured in an organization.

\n

You must be an organization owner to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need admin:org_hook scope. OAuth apps cannot list, view, or edit\nwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.

" }, { "serverUrl": "https://api.github.com", @@ -593098,13 +593118,13 @@ } ], "previews": [], - "descriptionHTML": "

Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

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

Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.

" }, { "serverUrl": "https://api.github.com", @@ -612612,13 +612632,13 @@ } ], "previews": [], - "descriptionHTML": "

Gets a redirect URL to download a tar archive for a repository. If you omit :ref, the repository’s default branch (usually\nmain) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe Location header to make a second GET request.

\n

Note

\n

\nFor private repositories, these links are temporary and expire after five minutes.

\n
", "statusCodes": [ { "httpStatusCode": "302", "description": "

Found

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

Gets a redirect URL to download a tar archive for a repository. If you omit :ref, the repository’s default branch (usually\nmain) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe Location header to make a second GET request.

\n

Note

\n

\nFor private repositories, these links are temporary and expire after five minutes.

\n
" }, { "serverUrl": "https://api.github.com", @@ -612726,17 +612746,6 @@ } ], "bodyParameters": [], - "progAccess": { - "userToServerRest": true, - "serverToServer": true, - "fineGrainedPat": true, - "permissions": [ - { - "\"Metadata\" repository permissions": "read" - } - ], - "allowsPublicRead": true - }, "codeExamples": [ { "key": "default", @@ -612873,16 +612882,6 @@ ] } ], - "progAccess": { - "userToServerRest": true, - "serverToServer": true, - "fineGrainedPat": true, - "permissions": [ - { - "\"Custom properties\" repository permissions": "write" - } - ] - }, "codeExamples": [ { "key": "default", @@ -634513,6 +634512,18 @@ "schema": { "type": "string" } + }, + { + "name": "search_type", + "description": "

The type of search to perform. Set to semantic to perform a semantic search.

", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "semantic" + ] + } } ], "bodyParameters": [], @@ -649180,7 +649191,6 @@ } ], "previews": [], - "descriptionHTML": "

Lists all global security advisories that match the specified parameters. If no other parameters are defined, the request will return only GitHub-reviewed advisories that are not malware.

\n

By default, all responses will exclude advisories for malware, because malware are not standard vulnerabilities. To list advisories for malware, you must include the type parameter in your request, with the value malware. For more information about the different types of security advisories, see \"About the GitHub Advisory database.\"

", "statusCodes": [ { "httpStatusCode": "200", @@ -649194,7 +649204,8 @@ "httpStatusCode": "429", "description": "

Too many requests

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

Lists all global security advisories that match the specified parameters. If no other parameters are defined, the request will return only GitHub-reviewed advisories that are not malware.

\n

By default, all responses will exclude advisories for malware, because malware are not standard vulnerabilities. To list advisories for malware, you must include the type parameter in your request, with the value malware. For more information about the different types of security advisories, see \"About the GitHub Advisory database.\"

" }, { "serverUrl": "https://api.github.com", @@ -675944,13 +675955,13 @@ } ], "previews": [], - "descriptionHTML": "

Warning

\n

\nClosing down notice: Projects (classic) is being deprecated in favor of the new Projects experience.\nSee the changelog for more information.

\n
", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

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

Warning

\n

\nClosing down notice: Projects (classic) is being deprecated in favor of the new Projects experience.\nSee the changelog for more information.

\n
" }, { "serverUrl": "https://api.github.com", @@ -689088,13 +689099,13 @@ } ], "previews": [], - "descriptionHTML": "

Warning

\n

\nEndpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new Delete a discussion comment endpoint.

\n
\n

Deletes a comment on a team discussion.

\n

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

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

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

Warning

\n

\nEndpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new Delete a discussion comment endpoint.

\n
\n

Deletes a comment on a team discussion.

\n

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

" } ], "discussions": [ @@ -694180,7 +694191,6 @@ } ], "previews": [], - "descriptionHTML": "

To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.

\n

Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

\n

Note

\n

\nWhen you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"Synchronizing teams between your identity provider and GitHub.\"

\n
\n

Note

\n

\nYou can also specify a team by org_id and team_id using the route DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}.

\n
", "statusCodes": [ { "httpStatusCode": "204", @@ -694190,7 +694200,8 @@ "httpStatusCode": "403", "description": "

Forbidden if team synchronization is set up

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

To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.

\n

Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

\n

Note

\n

\nWhen you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"Synchronizing teams between your identity provider and GitHub.\"

\n
\n

Note

\n

\nYou can also specify a team by org_id and team_id using the route DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}.

\n
" }, { "serverUrl": "https://api.github.com", @@ -700099,7 +700110,6 @@ } ], "previews": [], - "descriptionHTML": "

Provides publicly available information about someone with a GitHub account.

\n

If you are requesting information about an Enterprise Managed User, or a GitHub App bot that is installed in an organization that uses Enterprise Managed Users, your requests must be authenticated as a user or GitHub App that has access to the organization to view that account's information. If you are not authorized, the request will return a 404 Not Found status.

\n

The email key in the following response is the publicly visible email address from your GitHub profile page. When setting up your profile, you can select a primary email address to be public which provides an email entry for this endpoint. If you do not set a public email address for email, then it will have a value of null. You only see publicly visible email addresses when authenticated with GitHub. For more information, see Authentication.

\n

The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see Emails API.

", "statusCodes": [ { "httpStatusCode": "200", @@ -700109,7 +700119,8 @@ "httpStatusCode": "404", "description": "

Resource not found

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

Provides publicly available information about someone with a GitHub account.

\n

If you are requesting information about an Enterprise Managed User, or a GitHub App bot that is installed in an organization that uses Enterprise Managed Users, your requests must be authenticated as a user or GitHub App that has access to the organization to view that account's information. If you are not authorized, the request will return a 404 Not Found status.

\n

The email key in the following response is the publicly visible email address from your GitHub profile page. When setting up your profile, you can select a primary email address to be public which provides an email entry for this endpoint. If you do not set a public email address for email, then it will have a value of null. You only see publicly visible email addresses when authenticated with GitHub. For more information, see Authentication.

\n

The Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see Emails API.

" }, { "serverUrl": "https://api.github.com", @@ -703135,13 +703146,13 @@ } ], "previews": [], - "descriptionHTML": "

Lists the people following the specified user.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

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

Lists the people following the specified user.

" }, { "serverUrl": "https://api.github.com", diff --git a/src/rest/data/ghec-2022-11-28/schema.json b/src/rest/data/ghec-2022-11-28/schema.json index 1e7b1511b81d..fefa03c5e3e7 100644 --- a/src/rest/data/ghec-2022-11-28/schema.json +++ b/src/rest/data/ghec-2022-11-28/schema.json @@ -3660,13 +3660,13 @@ } ], "previews": [], + "descriptionHTML": "

Updates a GitHub-hosted runner for an enterprise.\nOAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Updates a GitHub-hosted runner for an enterprise.\nOAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -6675,13 +6675,13 @@ } ], "previews": [], + "descriptionHTML": "

Gets the GitHub Actions permissions policy for organizations and allowed actions and reusable workflows in an enterprise.

\n

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

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Gets the GitHub Actions permissions policy for organizations and allowed actions and reusable workflows in an enterprise.

\n

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

" + ] }, { "serverUrl": "https://api.github.com", @@ -31855,6 +31855,7 @@ } ], "previews": [], + "descriptionHTML": "

Lists all labels for a self-hosted runner configured in a repository.

\n

Authenticated users must have admin access to the repository to use this endpoint.

\n

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

", "statusCodes": [ { "httpStatusCode": "200", @@ -31864,8 +31865,7 @@ "httpStatusCode": "404", "description": "

Resource not found

" } - ], - "descriptionHTML": "

Lists all labels for a self-hosted runner configured in a repository.

\n

Authenticated users must have admin access to the repository to use this endpoint.

\n

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

" + ] }, { "serverUrl": "https://api.github.com", @@ -37282,13 +37282,13 @@ } ], "previews": [], + "descriptionHTML": "

Lists jobs for a workflow run. You can use parameters to narrow the list of results. For more information\nabout using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Lists jobs for a workflow run. You can use parameters to narrow the list of results. For more information\nabout using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

" + ] } ], "workflow-runs": [ @@ -43723,6 +43723,7 @@ } ], "previews": [], + "descriptionHTML": "

Approves a workflow run for a pull request from a public fork of a first time contributor. For more information, see \"Approving workflow runs from public forks.\"

\n

OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "201", @@ -43736,8 +43737,7 @@ "httpStatusCode": "404", "description": "

Resource not found

" } - ], - "descriptionHTML": "

Approves a workflow run for a pull request from a public fork of a first time contributor. For more information, see \"Approving workflow runs from public forks.\"

\n

OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -46602,13 +46602,13 @@ } ], "previews": [], + "descriptionHTML": "

Gets a specific workflow run attempt.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Gets a specific workflow run attempt.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

" + ] }, { "serverUrl": "https://api.github.com", @@ -46770,6 +46770,7 @@ } ], "previews": [], + "descriptionHTML": "

Cancels a workflow run using its id.

\n

OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "202", @@ -46779,8 +46780,7 @@ "httpStatusCode": "409", "description": "

Conflict

" } - ], - "descriptionHTML": "

Cancels a workflow run using its id.

\n

OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -46854,13 +46854,13 @@ } ], "previews": [], + "descriptionHTML": "

Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see \"Using environments for deployment.\"

\n

Note

\n

\nGitHub Apps can only review their own custom deployment protection rules. To approve or reject pending deployments that are waiting for review from a specific person or team, see POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments.

\n
\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ], - "descriptionHTML": "

Approve or reject custom deployment protection rules provided by a GitHub App for a workflow run. For more information, see \"Using environments for deployment.\"

\n

Note

\n

\nGitHub Apps can only review their own custom deployment protection rules. To approve or reject pending deployments that are waiting for review from a specific person or team, see POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments.

\n
\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

" + ] }, { "serverUrl": "https://api.github.com", @@ -110833,13 +110833,13 @@ } ], "previews": [], + "descriptionHTML": "

Enables an authenticated GitHub App to find the organization's installation information.

\n

You must use a JWT to access this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Enables an authenticated GitHub App to find the organization's installation information.

\n

You must use a JWT to access this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -123496,13 +123496,13 @@ } ], "previews": [], + "descriptionHTML": "

Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.

\n

Paid minutes only apply to packages stored for private repositories. For more information, see \"Managing billing for GitHub Packages.\"

\n

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

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Gets the estimated paid and estimated total storage used for GitHub Actions and GitHub Packages.

\n

Paid minutes only apply to packages stored for private repositories. For more information, see \"Managing billing for GitHub Packages.\"

\n

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

" + ] } ], "enhanced-billing": [ @@ -235939,13 +235939,13 @@ } ], "previews": [], + "descriptionHTML": "

Lists all development environment secrets available for a user's codespaces without revealing their\nencrypted values.

\n

The authenticated user must have Codespaces access to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the codespace or codespace:secrets scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Lists all development environment secrets available for a user's codespaces without revealing their\nencrypted values.

\n

The authenticated user must have Codespaces access to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the codespace or codespace:secrets scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -312133,13 +312133,13 @@ } ], "previews": [], + "descriptionHTML": "

To create an enterprise team, the authenticated user must be an owner of the enterprise.

", "statusCodes": [ { "httpStatusCode": "201", "description": "

Created

" } - ], - "descriptionHTML": "

To create an enterprise team, the authenticated user must be an owner of the enterprise.

" + ] }, { "serverUrl": "https://api.github.com", @@ -402429,13 +402429,13 @@ } ], "previews": [], + "descriptionHTML": "

Deletes a label using the given label name.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ], - "descriptionHTML": "

Deletes a label using the given label name.

" + ] }, { "serverUrl": "https://api.github.com", @@ -438763,13 +438763,13 @@ } ], "previews": [], + "descriptionHTML": "

Get Hypermedia links to resources accessible in GitHub's REST API

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Get Hypermedia links to resources accessible in GitHub's REST API

" + ] }, { "serverUrl": "https://api.github.com", @@ -439232,6 +439232,7 @@ } ], "previews": [], + "descriptionHTML": "

Get all supported GitHub Enterprise Cloud API versions.

", "statusCodes": [ { "httpStatusCode": "200", @@ -439241,8 +439242,7 @@ "httpStatusCode": "404", "description": "

Resource not found

" } - ], - "descriptionHTML": "

Get all supported GitHub Enterprise Cloud API versions.

" + ] }, { "serverUrl": "https://api.github.com", @@ -440553,6 +440553,7 @@ } ], "previews": [], + "descriptionHTML": "

Each array contains the day number, hour number, and number of commits:

\n
    \n
  • 0-6: Sunday - Saturday
  • \n
  • 0-23: Hour of day
  • \n
  • Number of commits
  • \n
\n

For example, [2, 14, 25] indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.

", "statusCodes": [ { "httpStatusCode": "200", @@ -440562,8 +440563,7 @@ "httpStatusCode": "204", "description": "

A header with no content is returned.

" } - ], - "descriptionHTML": "

Each array contains the day number, hour number, and number of commits:

\n
    \n
  • 0-6: Sunday - Saturday
  • \n
  • 0-23: Hour of day
  • \n
  • Number of commits
  • \n
\n

For example, [2, 14, 25] indicates that there were 25 total commits, during the 2:00pm hour on Tuesdays. All times are based on the time zone of individual commits.

" + ] } ], "traffic": [ @@ -440938,6 +440938,7 @@ } ], "previews": [], + "descriptionHTML": "

Get the top 10 popular contents over the last 14 days.

", "statusCodes": [ { "httpStatusCode": "200", @@ -440947,8 +440948,7 @@ "httpStatusCode": "403", "description": "

Forbidden

" } - ], - "descriptionHTML": "

Get the top 10 popular contents over the last 14 days.

" + ] }, { "serverUrl": "https://api.github.com", @@ -453533,6 +453533,7 @@ } ], "previews": [], + "descriptionHTML": "

Unlocks a repository. You can lock repositories when you start a user migration. Once the migration is complete you can unlock each repository to begin using it again or delete the repository if you no longer need the source data. Returns a status of 404 Not Found if the repository is not locked.

", "statusCodes": [ { "httpStatusCode": "204", @@ -453554,8 +453555,7 @@ "httpStatusCode": "404", "description": "

Resource not found

" } - ], - "descriptionHTML": "

Unlocks a repository. You can lock repositories when you start a user migration. Once the migration is complete you can unlock each repository to begin using it again or delete the repository if you no longer need the source data. Returns a status of 404 Not Found if the repository is not locked.

" + ] }, { "serverUrl": "https://api.github.com", @@ -460337,13 +460337,13 @@ } ], "previews": [], + "descriptionHTML": "

Get the number of API requests and rate-limited requests made within an organization by a specific actor within a specified time period.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Get the number of API requests and rate-limited requests made within an organization by a specific actor within a specified time period.

" + ] }, { "serverUrl": "https://api.github.com", @@ -463055,6 +463055,16 @@ } ], "bodyParameters": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Custom properties\" organization permissions": "read" + } + ] + }, "codeExamples": [ { "key": "default", @@ -463230,6 +463240,16 @@ ] } ], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Custom properties\" organization permissions": "write" + } + ] + }, "codeExamples": [ { "key": "default", @@ -466508,6 +466528,7 @@ } ], "previews": [], + "descriptionHTML": "

Lists all issue types for an organization. OAuth app tokens and personal access tokens (classic) need the read:org scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", @@ -466517,8 +466538,7 @@ "httpStatusCode": "404", "description": "

Resource not found

" } - ], - "descriptionHTML": "

Lists all issue types for an organization. OAuth app tokens and personal access tokens (classic) need the read:org scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -472328,13 +472348,13 @@ } ], "previews": [], + "descriptionHTML": "

Gets a hosted compute network configuration configured in an organization.

\n

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

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Gets a hosted compute network configuration configured in an organization.

\n

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

" + ] }, { "serverUrl": "https://api.github.com", @@ -499197,13 +499217,13 @@ } ], "previews": [], + "descriptionHTML": "

Gets a specific package for a package owned by the authenticated user.

\n

OAuth app tokens and personal access tokens (classic) need the read:packages scope to use this endpoint. For more information, see \"About permissions for GitHub Packages.\"

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Gets a specific package for a package owned by the authenticated user.

\n

OAuth app tokens and personal access tokens (classic) need the read:packages scope to use this endpoint. For more information, see \"About permissions for GitHub Packages.\"

" + ] }, { "serverUrl": "https://api.github.com", @@ -508160,6 +508180,7 @@ } ], "previews": [], + "descriptionHTML": "

Gets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.

\n

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

", "statusCodes": [ { "httpStatusCode": "200", @@ -508169,8 +508190,7 @@ "httpStatusCode": "404", "description": "

Resource not found

" } - ], - "descriptionHTML": "

Gets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.

\n

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

" + ] }, { "serverUrl": "https://api.github.com", @@ -590237,13 +590257,13 @@ } ], "previews": [], + "descriptionHTML": "

Lists all review comments for a specified pull request. By default, review comments\nare in ascending order by ID.

\n

This endpoint supports the following custom media types. For more information, see \"Media types.\"

\n
    \n
  • application/vnd.github-commitcomment.raw+json: Returns the raw markdown body. Response will include body. This is the default if you do not pass any specific media type.
  • \n
  • application/vnd.github-commitcomment.text+json: Returns a text only representation of the markdown body. Response will include body_text.
  • \n
  • application/vnd.github-commitcomment.html+json: Returns HTML rendered from the body's markdown. Response will include body_html.
  • \n
  • application/vnd.github-commitcomment.full+json: Returns raw, text, and HTML representations. Response will include body, body_text, and body_html.
  • \n
", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Lists all review comments for a specified pull request. By default, review comments\nare in ascending order by ID.

\n

This endpoint supports the following custom media types. For more information, see \"Media types.\"

\n
    \n
  • application/vnd.github-commitcomment.raw+json: Returns the raw markdown body. Response will include body. This is the default if you do not pass any specific media type.
  • \n
  • application/vnd.github-commitcomment.text+json: Returns a text only representation of the markdown body. Response will include body_text.
  • \n
  • application/vnd.github-commitcomment.html+json: Returns HTML rendered from the body's markdown. Response will include body_html.
  • \n
  • application/vnd.github-commitcomment.full+json: Returns raw, text, and HTML representations. Response will include body, body_text, and body_html.
  • \n
" + ] }, { "serverUrl": "https://api.github.com", @@ -606996,6 +607016,7 @@ } ], "previews": [], + "descriptionHTML": "

Create a reaction to a team discussion comment.

\n

A response with an HTTP 200 status means that you already added the reaction type to this team discussion comment.

\n

Note

\n

\nYou can also specify a team by org_id and team_id using the route POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions.

\n
\n

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

", "statusCodes": [ { "httpStatusCode": "200", @@ -607005,8 +607026,7 @@ "httpStatusCode": "201", "description": "

Created

" } - ], - "descriptionHTML": "

Create a reaction to a team discussion comment.

\n

A response with an HTTP 200 status means that you already added the reaction type to this team discussion comment.

\n

Note

\n

\nYou can also specify a team by org_id and team_id using the route POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions.

\n
\n

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

" + ] }, { "serverUrl": "https://api.github.com", @@ -627584,6 +627604,7 @@ } ], "previews": [], + "descriptionHTML": "

Creates a new repository in the specified organization. The authenticated user must be a member of the organization.

\n

OAuth app tokens and personal access tokens (classic) need the public_repo or repo scope to create a public repository, and repo scope to create a private repository.

", "statusCodes": [ { "httpStatusCode": "201", @@ -627597,8 +627618,7 @@ "httpStatusCode": "422", "description": "

Validation failed, or the endpoint has been spammed.

" } - ], - "descriptionHTML": "

Creates a new repository in the specified organization. The authenticated user must be a member of the organization.

\n

OAuth app tokens and personal access tokens (classic) need the public_repo or repo scope to create a public repository, and repo scope to create a private repository.

" + ] }, { "serverUrl": "https://api.github.com", @@ -638436,13 +638456,13 @@ } ], "previews": [], + "descriptionHTML": "

Enables Dependabot security updates for a repository. The authenticated user must have admin access to the repository. For more information, see \"Configuring Dependabot security updates\".

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ], - "descriptionHTML": "

Enables Dependabot security updates for a repository. The authenticated user must have admin access to the repository. For more information, see \"Configuring Dependabot security updates\".

" + ] }, { "serverUrl": "https://api.github.com", @@ -659539,17 +659559,6 @@ } ], "bodyParameters": [], - "progAccess": { - "userToServerRest": true, - "serverToServer": true, - "fineGrainedPat": true, - "permissions": [ - { - "\"Metadata\" repository permissions": "read" - } - ], - "allowsPublicRead": true - }, "codeExamples": [ { "key": "default", @@ -659686,16 +659695,6 @@ ] } ], - "progAccess": { - "userToServerRest": true, - "serverToServer": true, - "fineGrainedPat": true, - "permissions": [ - { - "\"Custom properties\" repository permissions": "write" - } - ] - }, "codeExamples": [ { "key": "default", @@ -684064,6 +684063,18 @@ "schema": { "type": "string" } + }, + { + "name": "search_type", + "description": "

The type of search to perform. Set to semantic to perform a semantic search.

", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "semantic" + ] + } } ], "bodyParameters": [], @@ -702328,6 +702339,7 @@ } ], "previews": [], + "descriptionHTML": "

Lists all global security advisories that match the specified parameters. If no other parameters are defined, the request will return only GitHub-reviewed advisories that are not malware.

\n

By default, all responses will exclude advisories for malware, because malware are not standard vulnerabilities. To list advisories for malware, you must include the type parameter in your request, with the value malware. For more information about the different types of security advisories, see \"About the GitHub Advisory database.\"

", "statusCodes": [ { "httpStatusCode": "200", @@ -702341,8 +702353,7 @@ "httpStatusCode": "429", "description": "

Too many requests

" } - ], - "descriptionHTML": "

Lists all global security advisories that match the specified parameters. If no other parameters are defined, the request will return only GitHub-reviewed advisories that are not malware.

\n

By default, all responses will exclude advisories for malware, because malware are not standard vulnerabilities. To list advisories for malware, you must include the type parameter in your request, with the value malware. For more information about the different types of security advisories, see \"About the GitHub Advisory database.\"

" + ] }, { "serverUrl": "https://api.github.com", @@ -729025,6 +729036,7 @@ } ], "previews": [], + "descriptionHTML": "

Warning

\n

\nClosing down notice: Projects (classic) is being deprecated in favor of the new Projects experience.\nSee the changelog for more information.

\n
", "statusCodes": [ { "httpStatusCode": "204", @@ -729034,8 +729046,7 @@ "httpStatusCode": "403", "description": "

Forbidden if the project is not owned by the organization

" } - ], - "descriptionHTML": "

Warning

\n

\nClosing down notice: Projects (classic) is being deprecated in favor of the new Projects experience.\nSee the changelog for more information.

\n
" + ] }, { "serverUrl": "https://api.github.com", @@ -729104,13 +729115,13 @@ } ], "previews": [], + "descriptionHTML": "

Warning

\n

\nClosing down notice: Projects (classic) is being deprecated in favor of the new Projects experience.\nSee the changelog for more information.

\n
", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ], - "descriptionHTML": "

Warning

\n

\nClosing down notice: Projects (classic) is being deprecated in favor of the new Projects experience.\nSee the changelog for more information.

\n
" + ] }, { "serverUrl": "https://api.github.com", @@ -748185,6 +748196,7 @@ } ], "previews": [], + "descriptionHTML": "

To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.

\n

Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

\n

Note

\n

\nWhen you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Cloud team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"Synchronizing teams between your identity provider and GitHub Enterprise Cloud.\"

\n
\n

Note

\n

\nYou can also specify a team by org_id and team_id using the route DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}.

\n
", "statusCodes": [ { "httpStatusCode": "204", @@ -748194,8 +748206,7 @@ "httpStatusCode": "403", "description": "

Forbidden if team synchronization is set up

" } - ], - "descriptionHTML": "

To remove a membership between a user and a team, the authenticated user must have 'admin' permissions to the team or be an owner of the organization that the team is associated with. Removing team membership does not delete the user, it just removes their membership from the team.

\n

Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

\n

Note

\n

\nWhen you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Cloud team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"Synchronizing teams between your identity provider and GitHub Enterprise Cloud.\"

\n
\n

Note

\n

\nYou can also specify a team by org_id and team_id using the route DELETE /organizations/{org_id}/team/{team_id}/memberships/{username}.

\n
" + ] }, { "serverUrl": "https://api.github.com", @@ -749270,6 +749281,7 @@ } ], "previews": [], + "descriptionHTML": "

Warning

\n

\nEndpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new Add or update team membership for a user endpoint.

\n
\n

Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

\n

If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.

\n

Note

\n

\nWhen you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Cloud team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"Synchronizing teams between your identity provider and GitHub Enterprise Cloud.\"

\n
\n

If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.

\n

If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.

", "statusCodes": [ { "httpStatusCode": "200", @@ -749287,8 +749299,7 @@ "httpStatusCode": "422", "description": "

Unprocessable Entity if you attempt to add an organization to a team

" } - ], - "descriptionHTML": "

Warning

\n

\nEndpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new Add or update team membership for a user endpoint.

\n
\n

Team synchronization is available for organizations using GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

\n

If the user is already a member of the team's organization, this endpoint will add the user to the team. To add a membership between an organization member and a team, the authenticated user must be an organization owner or a team maintainer.

\n

Note

\n

\nWhen you have team synchronization set up for a team with your organization's identity provider (IdP), you will see an error if you attempt to use the API for making changes to the team's membership. If you have access to manage group membership in your IdP, you can manage GitHub Enterprise Cloud team membership through your identity provider, which automatically adds and removes team members in an organization. For more information, see \"Synchronizing teams between your identity provider and GitHub Enterprise Cloud.\"

\n
\n

If the user is unaffiliated with the team's organization, this endpoint will send an invitation to the user via email. This newly-created membership will be in the \"pending\" state until the user accepts the invitation, at which point the membership will transition to the \"active\" state and the user will be added as a member of the team. To add a membership between an unaffiliated user and a team, the authenticated user must be an organization owner.

\n

If the user is already a member of the team, this endpoint will update the role of the team member's role. To update the membership of a team member, the authenticated user must be an organization owner or a team maintainer.

" + ] }, { "serverUrl": "https://api.github.com", diff --git a/src/rest/data/ghes-3.14-2022-11-28/schema.json b/src/rest/data/ghes-3.14-2022-11-28/schema.json index 8908764efa9f..2d9297908e0e 100644 --- a/src/rest/data/ghes-3.14-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.14-2022-11-28/schema.json @@ -341906,6 +341906,16 @@ } ], "bodyParameters": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Custom properties\" organization permissions": "read" + } + ] + }, "codeExamples": [ { "key": "default", @@ -342081,6 +342091,16 @@ ] } ], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Custom properties\" organization permissions": "write" + } + ] + }, "codeExamples": [ { "key": "default", @@ -477531,17 +477551,6 @@ } ], "bodyParameters": [], - "progAccess": { - "userToServerRest": true, - "serverToServer": true, - "fineGrainedPat": true, - "permissions": [ - { - "\"Metadata\" repository permissions": "read" - } - ], - "allowsPublicRead": true - }, "codeExamples": [ { "key": "default", @@ -477678,16 +477687,6 @@ ] } ], - "progAccess": { - "userToServerRest": true, - "serverToServer": true, - "fineGrainedPat": true, - "permissions": [ - { - "\"Custom properties\" repository permissions": "write" - } - ] - }, "codeExamples": [ { "key": "default", @@ -497064,6 +497063,18 @@ "schema": { "type": "string" } + }, + { + "name": "search_type", + "description": "

The type of search to perform. Set to semantic to perform a semantic search.

", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "semantic" + ] + } } ], "bodyParameters": [], diff --git a/src/rest/data/ghes-3.15-2022-11-28/schema.json b/src/rest/data/ghes-3.15-2022-11-28/schema.json index a7f0d93d6364..b4e3b4dd3afe 100644 --- a/src/rest/data/ghes-3.15-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.15-2022-11-28/schema.json @@ -345235,6 +345235,16 @@ } ], "bodyParameters": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Custom properties\" organization permissions": "read" + } + ] + }, "codeExamples": [ { "key": "default", @@ -345410,6 +345420,16 @@ ] } ], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Custom properties\" organization permissions": "write" + } + ] + }, "codeExamples": [ { "key": "default", @@ -481578,17 +481598,6 @@ } ], "bodyParameters": [], - "progAccess": { - "userToServerRest": true, - "serverToServer": true, - "fineGrainedPat": true, - "permissions": [ - { - "\"Metadata\" repository permissions": "read" - } - ], - "allowsPublicRead": true - }, "codeExamples": [ { "key": "default", @@ -481725,16 +481734,6 @@ ] } ], - "progAccess": { - "userToServerRest": true, - "serverToServer": true, - "fineGrainedPat": true, - "permissions": [ - { - "\"Custom properties\" repository permissions": "write" - } - ] - }, "codeExamples": [ { "key": "default", @@ -501967,6 +501966,18 @@ "schema": { "type": "string" } + }, + { + "name": "search_type", + "description": "

The type of search to perform. Set to semantic to perform a semantic search.

", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "semantic" + ] + } } ], "bodyParameters": [], diff --git a/src/rest/data/ghes-3.16-2022-11-28/schema.json b/src/rest/data/ghes-3.16-2022-11-28/schema.json index 64ba5f1ccc41..e1ff34c00984 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.16-2022-11-28/schema.json @@ -350590,6 +350590,16 @@ } ], "bodyParameters": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Custom properties\" organization permissions": "read" + } + ] + }, "codeExamples": [ { "key": "default", @@ -350765,6 +350775,16 @@ ] } ], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Custom properties\" organization permissions": "write" + } + ] + }, "codeExamples": [ { "key": "default", @@ -487571,17 +487591,6 @@ } ], "bodyParameters": [], - "progAccess": { - "userToServerRest": true, - "serverToServer": true, - "fineGrainedPat": true, - "permissions": [ - { - "\"Metadata\" repository permissions": "read" - } - ], - "allowsPublicRead": true - }, "codeExamples": [ { "key": "default", @@ -487718,16 +487727,6 @@ ] } ], - "progAccess": { - "userToServerRest": true, - "serverToServer": true, - "fineGrainedPat": true, - "permissions": [ - { - "\"Custom properties\" repository permissions": "write" - } - ] - }, "codeExamples": [ { "key": "default", @@ -507969,6 +507968,18 @@ "schema": { "type": "string" } + }, + { + "name": "search_type", + "description": "

The type of search to perform. Set to semantic to perform a semantic search.

", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "semantic" + ] + } } ], "bodyParameters": [], diff --git a/src/rest/data/ghes-3.17-2022-11-28/schema.json b/src/rest/data/ghes-3.17-2022-11-28/schema.json index 158d759f5a3b..f23c5f044076 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.17-2022-11-28/schema.json @@ -922,13 +922,13 @@ } ], "previews": [], - "descriptionHTML": "

Lists artifacts for a workflow run.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

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

Lists artifacts for a workflow run.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

" } ], "cache": [ @@ -8024,13 +8024,13 @@ } ], "previews": [], - "descriptionHTML": "

Lists all secrets available in a repository without revealing their encrypted\nvalues.

\n

Authenticated users must have collaborator access to a repository to create, update, or read secrets.

\n

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

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

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

Lists all secrets available in a repository without revealing their encrypted\nvalues.

\n

Authenticated users must have collaborator access to a repository to create, update, or read secrets.

\n

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

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -10165,13 +10165,13 @@ } ], "previews": [], - "descriptionHTML": "

Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have visibility set to selected. For more information, see \"Create a self-hosted runner group for an enterprise.\"

\n

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

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

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

Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have visibility set to selected. For more information, see \"Create a self-hosted runner group for an enterprise.\"

\n

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

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -29335,13 +29335,13 @@ } ], "previews": [], - "descriptionHTML": "

Lists jobs for a workflow run. You can use parameters to narrow the list of results. For more information\nabout using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

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

Lists jobs for a workflow run. You can use parameters to narrow the list of results. For more information\nabout using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

" } ], "workflow-runs": [ @@ -35577,13 +35577,13 @@ } ], "previews": [], - "descriptionHTML": "

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

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

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -40375,13 +40375,13 @@ } ], "previews": [], - "descriptionHTML": "

Approve or reject pending deployments that are waiting on approval by a required reviewer.

\n

Required reviewers with read access to the repository contents and deployments can use this endpoint.

\n

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

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

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

Approve or reject pending deployments that are waiting on approval by a required reviewer.

\n

Required reviewers with read access to the repository contents and deployments can use this endpoint.

\n

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

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -40468,13 +40468,13 @@ } ], "previews": [], - "descriptionHTML": "

Re-runs your workflow run using its id.

\n

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

", "statusCodes": [ { "httpStatusCode": "201", "description": "

Created

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

Re-runs your workflow run using its id.

\n

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

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -153292,13 +153292,13 @@ } ], "previews": [], - "descriptionHTML": "

Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the check_suite webhook event with the action rerequested. When a check suite is rerequested, its status is reset to queued and the conclusion is cleared.

", "statusCodes": [ { "httpStatusCode": "201", "description": "

Created

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

Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the check_suite webhook event with the action rerequested. When a check suite is rerequested, its status is reset to queued and the conclusion is cleared.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -199889,13 +199889,13 @@ } ], "previews": [], - "descriptionHTML": "", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -204563,13 +204563,13 @@ } ], "previews": [], - "descriptionHTML": "

Lists the environments for a repository.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

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

Lists the environments for a repository.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -220112,13 +220112,13 @@ } ], "previews": [], - "descriptionHTML": "", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -231428,13 +231428,13 @@ } ], "previews": [], - "descriptionHTML": "

If your GitHub instance uses LDAP Sync with Active Directory LDAP servers, Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a 403 response.

\n

You can suspend any user account except your own.

\n

Note that, if you choose not to pass any parameters, you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see \"HTTP method.\"

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

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

If your GitHub instance uses LDAP Sync with Active Directory LDAP servers, Active Directory LDAP-authenticated users cannot be suspended through this API. If you attempt to suspend an Active Directory LDAP-authenticated user through this API, it will return a 403 response.

\n

You can suspend any user account except your own.

\n

Note that, if you choose not to pass any parameters, you'll need to set Content-Length to zero when calling out to this endpoint. For more information, see \"HTTP method.\"

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -348417,7 +348417,6 @@ } ], "previews": [], - "descriptionHTML": "

Deletes an organization and all its repositories.

\n

The organization login will be unavailable for 90 days after deletion.

\n

Please review the Terms of Service regarding account deletion before using this endpoint:

\n

https://docs.github.com/enterprise-server@3.17/site-policy/github-terms/github-terms-of-service

", "statusCodes": [ { "httpStatusCode": "202", @@ -348431,7 +348430,8 @@ "httpStatusCode": "404", "description": "

Resource not found

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

Deletes an organization and all its repositories.

\n

The organization login will be unavailable for 90 days after deletion.

\n

Please review the Terms of Service regarding account deletion before using this endpoint:

\n

https://docs.github.com/enterprise-server@3.17/site-policy/github-terms/github-terms-of-service

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -351973,6 +351973,16 @@ } ], "bodyParameters": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Custom properties\" organization permissions": "read" + } + ] + }, "codeExamples": [ { "key": "default", @@ -352148,6 +352158,16 @@ ] } ], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Custom properties\" organization permissions": "write" + } + ] + }, "codeExamples": [ { "key": "default", @@ -354086,13 +354106,13 @@ } ], "previews": [], - "descriptionHTML": "

Lists the fine-grained permissions that can be used in custom repository roles for an organization. For more information, see \"About custom repository roles.\"

\n

The authenticated user must be an administrator of the organization or of a repository of the organization to use this endpoint.

\n

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

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

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

Lists the fine-grained permissions that can be used in custom repository roles for an organization. For more information, see \"About custom repository roles.\"

\n

The authenticated user must be an administrator of the organization or of a repository of the organization to use this endpoint.

\n

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

" } ], "members": [ @@ -372998,13 +373018,13 @@ } ], "previews": [], - "descriptionHTML": "

Warning

\n

\nClosing down notice: This operation is closing down and will be removed in Enterprise Server 3.20. Please use the \"Organization Roles\" endpoints instead.

\n
", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

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

Warning

\n

\nClosing down notice: This operation is closing down and will be removed in Enterprise Server 3.20. Please use the \"Organization Roles\" endpoints instead.

\n
" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -390559,13 +390579,13 @@ } ], "previews": [], - "descriptionHTML": "

Gets information about the single most recent build of a GitHub Enterprise Server Pages site.

\n

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

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

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

Gets information about the single most recent build of a GitHub Enterprise Server Pages site.

\n

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

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -390893,13 +390913,13 @@ } ], "previews": [], - "descriptionHTML": "

Gets information about a GitHub Enterprise Server Pages build.

\n

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

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

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

Gets information about a GitHub Enterprise Server Pages build.

\n

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

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -441968,13 +441988,13 @@ } ], "previews": [], - "descriptionHTML": "

Note

\n

\nYou can also specify a repository by repository_id using the route DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id.

\n
\n

Delete a reaction to an issue.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

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

Note

\n

\nYou can also specify a repository by repository_id using the route DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id.

\n
\n

Delete a reaction to an issue.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -445539,13 +445559,13 @@ } ], "previews": [], - "descriptionHTML": "

Warning

\n

\nEndpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new Create reaction for a team discussion endpoint.

\n
\n

Create a reaction to a team discussion.

\n

A response with an HTTP 200 status means that you already added the reaction type to this team discussion.

\n

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

", "statusCodes": [ { "httpStatusCode": "201", "description": "

Created

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

Warning

\n

\nEndpoint closing down notice: This endpoint route is closing down and will be removed from the Teams API. We recommend migrating your existing code to use the new Create reaction for a team discussion endpoint.

\n
\n

Create a reaction to a team discussion.

\n

A response with an HTTP 200 status means that you already added the reaction type to this team discussion.

\n

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

" } ] }, @@ -470852,13 +470872,13 @@ } ], "previews": [], - "descriptionHTML": "

A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original owner, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see about repository transfers.

", "statusCodes": [ { "httpStatusCode": "202", "description": "

Accepted

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

A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original owner, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see about repository transfers.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -489019,13 +489039,13 @@ } ], "previews": [], - "descriptionHTML": "

Gets a redirect URL to download a tar archive for a repository. If you omit :ref, the repository’s default branch (usually\nmain) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe Location header to make a second GET request.

\n

Note

\n

\nFor private repositories, these links are temporary and expire after five minutes.

\n
", "statusCodes": [ { "httpStatusCode": "302", "description": "

Found

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

Gets a redirect URL to download a tar archive for a repository. If you omit :ref, the repository’s default branch (usually\nmain) will be used. Please make sure your HTTP framework is configured to follow redirects or you will need to use\nthe Location header to make a second GET request.

\n

Note

\n

\nFor private repositories, these links are temporary and expire after five minutes.

\n
" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -489133,17 +489153,6 @@ } ], "bodyParameters": [], - "progAccess": { - "userToServerRest": true, - "serverToServer": true, - "fineGrainedPat": true, - "permissions": [ - { - "\"Metadata\" repository permissions": "read" - } - ], - "allowsPublicRead": true - }, "codeExamples": [ { "key": "default", @@ -489280,16 +489289,6 @@ ] } ], - "progAccess": { - "userToServerRest": true, - "serverToServer": true, - "fineGrainedPat": true, - "permissions": [ - { - "\"Custom properties\" repository permissions": "write" - } - ] - }, "codeExamples": [ { "key": "default", @@ -510626,6 +510625,18 @@ "schema": { "type": "string" } + }, + { + "name": "search_type", + "description": "

The type of search to perform. Set to semantic to perform a semantic search.

", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "semantic" + ] + } } ], "bodyParameters": [], diff --git a/src/rest/lib/config.json b/src/rest/lib/config.json index 5834042eb7f3..4a922258dfdc 100644 --- a/src/rest/lib/config.json +++ b/src/rest/lib/config.json @@ -44,5 +44,5 @@ ] } }, - "sha": "73684ea0156d151bb888c351ff7ce1544258a4b3" + "sha": "1fffcfe35ca7da072adbfa86a242f20fa0c17f9f" } \ No newline at end of file diff --git a/src/webhooks/lib/config.json b/src/webhooks/lib/config.json index ff4957c1502a..7d77757ea159 100644 --- a/src/webhooks/lib/config.json +++ b/src/webhooks/lib/config.json @@ -1,3 +1,3 @@ { - "sha": "73684ea0156d151bb888c351ff7ce1544258a4b3" + "sha": "1fffcfe35ca7da072adbfa86a242f20fa0c17f9f" } \ No newline at end of file