diff --git a/components/DefaultLayout.tsx b/components/DefaultLayout.tsx index d53ed3a777..4dfe3ab252 100644 --- a/components/DefaultLayout.tsx +++ b/components/DefaultLayout.tsx @@ -3,11 +3,11 @@ import Head from 'next/head' import { SidebarNav } from 'components/sidebar/SidebarNav' import { Header } from 'components/page-header/Header' import { SmallFooter } from 'components/page-footer/SmallFooter' -import { ScrollButton } from 'components/ScrollButton' +import { ScrollButton } from 'components/ui/ScrollButton' import { SupportSection } from 'components/page-footer/SupportSection' import { DeprecationBanner } from 'components/page-header/DeprecationBanner' import { useMainContext } from 'components/context/MainContext' -import { useTranslation } from './hooks/useTranslation' +import { useTranslation } from 'components/hooks/useTranslation' type Props = { children?: React.ReactNode } export const DefaultLayout = (props: Props) => { @@ -23,7 +23,7 @@ export const DefaultLayout = (props: Props) => { fullUrl, status, } = useMainContext() - const { t } = useTranslation('errors') + const { t } = useTranslation(['errors', 'scroll_button']) return (
@@ -90,7 +90,10 @@ export const DefaultLayout = (props: Props) => { - +
) diff --git a/components/Search.tsx b/components/Search.tsx index df93b3c40f..77d751ad23 100644 --- a/components/Search.tsx +++ b/components/Search.tsx @@ -192,7 +192,7 @@ export function Search({ dangerouslySetInnerHTML={{ __html: breadcrumbs }} />
- variant?: 'compact' | 'spaced' - titleVariant?: 'large' | 'default' } -export const ArticleList = ({ - title, - viewAllHref, - articles, - variant = 'compact', - titleVariant = 'default', -}: Props) => { + +export const ArticleList = ({ title, viewAllHref, articles }: ArticleListPropsT) => { return ( <> {title && (
-

- {title} -

+

{title}

{viewAllHref && ( View all @@ -45,7 +30,7 @@ export const ArticleList = ({
    {articles.map((link) => { return ( -
  • +
  • {!link.hideIntro && link.intro && ( - + { const { featuredArticles = [], whatsNewChangelog, changelogUrl } = useProductLandingContext() @@ -19,7 +19,6 @@ export const FeaturedArticles = () => { > @@ -31,7 +30,6 @@ export const FeaturedArticles = () => {
    { return { diff --git a/components/landing/TocLanding.tsx b/components/landing/TocLanding.tsx index db51362345..9437ebf09c 100644 --- a/components/landing/TocLanding.tsx +++ b/components/landing/TocLanding.tsx @@ -38,17 +38,12 @@ export const TocLanding = () => {
    - +
diff --git a/components/page-header/Header.tsx b/components/page-header/Header.tsx index bb86c2b3fb..28a4048ce9 100644 --- a/components/page-header/Header.tsx +++ b/components/page-header/Header.tsx @@ -65,7 +65,7 @@ export const Header = () => { {t('github_docs')} diff --git a/components/sidebar/SidebarNav.tsx b/components/sidebar/SidebarNav.tsx index a846843e9a..a25d8d1879 100644 --- a/components/sidebar/SidebarNav.tsx +++ b/components/sidebar/SidebarNav.tsx @@ -33,7 +33,7 @@ export const SidebarNav = () => { {t('github_docs')} diff --git a/components/sublanding/LearningTrack.module.scss b/components/sublanding/LearningTrack.module.scss new file mode 100644 index 0000000000..0e91d1de37 --- /dev/null +++ b/components/sublanding/LearningTrack.module.scss @@ -0,0 +1,3 @@ +.fadeBottom { + background: linear-gradient(to top, var(--color-bg-primary), transparent); +} diff --git a/components/sublanding/LearningTrack.tsx b/components/sublanding/LearningTrack.tsx index 1aab42af31..10126c37f6 100644 --- a/components/sublanding/LearningTrack.tsx +++ b/components/sublanding/LearningTrack.tsx @@ -1,8 +1,10 @@ +import cx from 'classnames' import { useTranslation } from 'components/hooks/useTranslation' import { ArrowRightIcon } from '@primer/octicons-react' import { useState } from 'react' import { FeaturedTrack } from 'components/context/ProductSubLandingContext' -import { TruncateLines } from 'components/TruncateLines' +import { TruncateLines } from 'components/ui/TruncateLines' +import styles from './LearningTrack.module.scss' type Props = { track: FeaturedTrack @@ -22,7 +24,7 @@ export const LearningTrack = ({ track }: Props) => {
-
{track?.title}
+
{track?.title}
{track?.description} @@ -68,7 +70,7 @@ export const LearningTrack = ({ track }: Props) => { onClick={showAll} >
diff --git a/components/sublanding/SubLandingHero.module.scss b/components/sublanding/SubLandingHero.module.scss new file mode 100644 index 0000000000..3eb73667f7 --- /dev/null +++ b/components/sublanding/SubLandingHero.module.scss @@ -0,0 +1,7 @@ +.fadeLeft { + background: linear-gradient(to right, var(--color-bg-primary), transparent); +} + +.fadeRight { + background: linear-gradient(to left, var(--color-bg-primary), transparent); +} diff --git a/components/sublanding/SubLandingHero.tsx b/components/sublanding/SubLandingHero.tsx index 7758fdf696..d19287b23a 100644 --- a/components/sublanding/SubLandingHero.tsx +++ b/components/sublanding/SubLandingHero.tsx @@ -1,10 +1,12 @@ +import cx from 'classnames' import { Breadcrumbs } from '../Breadcrumbs' import { useProductSubLandingContext } from 'components/context/ProductSubLandingContext' import { ArrowRightIcon, StarFillIcon } from '@primer/octicons-react' import { useTranslation } from 'components/hooks/useTranslation' import { Link } from 'components/Link' -import { TruncateLines } from 'components/TruncateLines' +import { TruncateLines } from 'components/ui/TruncateLines' import { Lead } from 'components/ui/Lead' +import styles from './SubLandingHero.module.scss' export const SubLandingHero = () => { const { title, intro, featuredTrack } = useProductSubLandingContext() @@ -32,7 +34,7 @@ export const SubLandingHero = () => { {t('guide_types')[guide.page?.type || '']}
-

{guide.title}

+

{guide.title}

@@ -63,7 +65,7 @@ export const SubLandingHero = () => { >
-

{featuredTrack.title}

+

{featuredTrack.title}

{featuredTrack.description}
{featuredTrack.guides && ( { {guideItems} -
-
+
+
)} diff --git a/components/ScrollButton.tsx b/components/ui/ScrollButton/ScrollButton.tsx similarity index 74% rename from components/ScrollButton.tsx rename to components/ui/ScrollButton/ScrollButton.tsx index 53711504eb..44afe60db8 100644 --- a/components/ScrollButton.tsx +++ b/components/ui/ScrollButton/ScrollButton.tsx @@ -1,11 +1,14 @@ import { useState, useEffect } from 'react' import cx from 'classnames' import { ChevronUpIcon } from '@primer/octicons-react' -import { useTranslation } from './hooks/useTranslation' -export const ScrollButton = () => { +export type ScrollButtonPropsT = { + className?: string + ariaLabel?: string +} + +export const ScrollButton = ({ className, ariaLabel }: ScrollButtonPropsT) => { const [show, setShow] = useState(false) - const { t } = useTranslation('scroll_button') useEffect(() => { // show scroll button only when view is scrolled down @@ -29,19 +32,14 @@ export const ScrollButton = () => { } return ( -
+
diff --git a/components/ui/ScrollButton/index.ts b/components/ui/ScrollButton/index.ts new file mode 100644 index 0000000000..c38d1d069b --- /dev/null +++ b/components/ui/ScrollButton/index.ts @@ -0,0 +1 @@ +export { ScrollButton } from './ScrollButton' diff --git a/components/TruncateLines.tsx b/components/ui/TruncateLines/TruncateLines.tsx similarity index 84% rename from components/TruncateLines.tsx rename to components/ui/TruncateLines/TruncateLines.tsx index 2013e3bb4e..35c9a0e6d4 100644 --- a/components/TruncateLines.tsx +++ b/components/ui/TruncateLines/TruncateLines.tsx @@ -1,13 +1,14 @@ import React, { ReactNode } from 'react' import cx from 'classnames' -type Props = { +export type TruncateLinesPropsT = { as?: keyof JSX.IntrinsicElements maxLines: number children: ReactNode className?: string } -export const TruncateLines = (props: Props) => { + +export const TruncateLines = (props: TruncateLinesPropsT) => { const { maxLines, className, children, as: Component = 'div' } = props return ( diff --git a/components/ui/TruncateLines/index.ts b/components/ui/TruncateLines/index.ts new file mode 100644 index 0000000000..9fb65865a4 --- /dev/null +++ b/components/ui/TruncateLines/index.ts @@ -0,0 +1 @@ +export { TruncateLines } from './TruncateLines' diff --git a/content/actions/hosting-your-own-runners/about-self-hosted-runners.md b/content/actions/hosting-your-own-runners/about-self-hosted-runners.md index 94ea3ee68d..d1b2dc419f 100644 --- a/content/actions/hosting-your-own-runners/about-self-hosted-runners.md +++ b/content/actions/hosting-your-own-runners/about-self-hosted-runners.md @@ -57,6 +57,13 @@ You can use any machine as a self-hosted runner as long at it meets these requir * The machine has enough hardware resources for the type of workflows you plan to run. The self-hosted runner application itself only requires minimal resources. * If you want to run workflows that use Docker container actions or service containers, you must use a Linux machine and Docker must be installed. +{% ifversion fpt or ghes > 3.2 %} +## Autoscaling your self-hosted runners + +You can automatically increase or decrease the number of self-hosted runners in your environment in response to the webhook events you receive. For more information, see "[Autoscaling with self-hosted runners](/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners)." + +{% endif %} + ## Usage limits There are some limits on {% data variables.product.prodname_actions %} usage when using self-hosted runners. These limits are subject to change. diff --git a/content/actions/hosting-your-own-runners/adding-self-hosted-runners.md b/content/actions/hosting-your-own-runners/adding-self-hosted-runners.md index dc7be26912..ae84af8f6e 100644 --- a/content/actions/hosting-your-own-runners/adding-self-hosted-runners.md +++ b/content/actions/hosting-your-own-runners/adding-self-hosted-runners.md @@ -35,22 +35,43 @@ For more information, see "[About self-hosted runners](/github/automating-your-w You can add self-hosted runners to a single repository. To add a self-hosted runner to a user repository, you must be the repository owner. For an organization repository, you must be an organization owner or have admin access to the repository. +{% ifversion fpt %} +{% data reusables.repositories.navigate-to-repo %} +{% data reusables.repositories.sidebar-settings %} +{% data reusables.github-actions.settings-sidebar-actions %} +{% data reusables.github-actions.settings-sidebar-actions-runners-updated %} +1. Click **New self-hosted runner**. +{% data reusables.github-actions.self-hosted-runner-configure %} +{% endif %} +{% ifversion ghae or ghes %} {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} {% data reusables.github-actions.settings-sidebar-actions-runners %} 1. Under {% ifversion fpt %}"Runners"{% else %}"Self-hosted runners"{% endif %}, click **Add runner**. {% data reusables.github-actions.self-hosted-runner-configure %} +{% endif %} {% data reusables.github-actions.self-hosted-runner-check-installation-success %} ## Adding a self-hosted runner to an organization You can add self-hosted runners at the organization level, where they can be used to process jobs for multiple repositories in an organization. To add a self-hosted runner to an organization, you must be an organization owner. +{% ifversion fpt %} +{% data reusables.organizations.navigate-to-org %} +{% data reusables.organizations.org_settings %} +{% data reusables.github-actions.settings-sidebar-actions %} +{% data reusables.github-actions.settings-sidebar-actions-runners-updated %} +1. Click **New runner**. +{% data reusables.github-actions.self-hosted-runner-configure %} +{% endif %} +{% ifversion ghae or ghes %} {% data reusables.organizations.navigate-to-org %} {% data reusables.organizations.org_settings %} {% data reusables.github-actions.settings-sidebar-actions-runners %} 1. Under {% ifversion fpt %}"Runners"{% else %}"Self-hosted runners"{% endif %}, click **Add runner**. {% data reusables.github-actions.self-hosted-runner-configure %} +{% endif %} + {% data reusables.github-actions.self-hosted-runner-check-installation-success %} {% data reusables.github-actions.self-hosted-runner-public-repo-access %} @@ -59,18 +80,27 @@ You can add self-hosted runners at the organization level, where they can be use You can add self-hosted runners to an enterprise, where they can be assigned to multiple organizations. The organization admins are then able to control which repositories can use it. +New runners are assigned to the default group. You can modify the runner's group after you've registered the runner. For more information, see "[Managing access to self-hosted runners](/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups#moving-a-self-hosted-runner-to-a-group)." + {% ifversion fpt %} To add a self-hosted runner to an enterprise account, you must be an enterprise owner. -{% elsif ghes or ghae %} -To add a self-hosted runner at the enterprise level of {% data variables.product.product_location %}, you must be a site administrator. -{% endif %} {% data reusables.enterprise-accounts.access-enterprise %} {% data reusables.enterprise-accounts.policies-tab %} {% data reusables.enterprise-accounts.actions-tab %} {% data reusables.enterprise-accounts.actions-runners-tab %} -1. Click **Add new**, then click **New runner**. New runners are assigned to the default group. You can modify the runner's group after you've registered the runner. For more information, see "[Managing access to self-hosted runners](/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups#moving-a-self-hosted-runner-to-a-group)." +1. Click **New runner**. {% data reusables.github-actions.self-hosted-runner-configure %} +{% endif %} +{% ifversion ghae or ghes %} +To add a self-hosted runner at the enterprise level of {% data variables.product.product_location %}, you must be a site administrator. +{% data reusables.enterprise-accounts.access-enterprise %} +{% data reusables.enterprise-accounts.policies-tab %} +{% data reusables.enterprise-accounts.actions-tab %} +{% data reusables.enterprise-accounts.actions-runners-tab %} +1. Click **Add new**, then click **New runner**. +{% data reusables.github-actions.self-hosted-runner-configure %} +{% endif %} {% data reusables.github-actions.self-hosted-runner-check-installation-success %} {% data reusables.github-actions.self-hosted-runner-public-repo-access %} diff --git a/content/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners.md b/content/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners.md new file mode 100644 index 0000000000..409cb08d44 --- /dev/null +++ b/content/actions/hosting-your-own-runners/autoscaling-with-self-hosted-runners.md @@ -0,0 +1,57 @@ +--- +title: Autoscaling with self-hosted runners +intro: 'You can automatically scale your self-hosted runners in response to webhook events.' +versions: + free-pro-team: '*' + enterprise-server: '>3.2' +type: 'overview' +--- + +{% data reusables.actions.ae-self-hosted-runners-notice %} +{% data reusables.actions.enterprise-beta %} +{% data reusables.actions.enterprise-github-hosted-runners %} +{% data reusables.actions.ae-beta %} + +## About autoscaling + +You can automatically increase or decrease the number of self-hosted runners in your environment in response to the webhook events you receive with a particular label. For example, you can create automation that adds a new self-hosted runner each time you receive a [`workflow_job`](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job) webhook event with the [`queued`](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job) activity, which notifies you that a new job is ready for processing. The webhook payload includes label data, so you can identify the type of runner the job is requesting. Once the job has finished, you can then create automation that removes the runner in response to the `workflow_job` [`completed`](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job) activity. + +## Using ephemeral runners for autoscaling + +{% data variables.product.prodname_dotcom %} recommends implementing autoscaling with ephemeral self-hosted runners; autoscaling with persistent self-hosted runners is not recommended. In certain cases, {% data variables.product.prodname_dotcom %} cannot guarantee that jobs are not assigned to persistent runners while they are shut down. With ephemeral runners, this can be guaranteed because {% data variables.product.prodname_dotcom %} only assigns one job to a runner. + +This approach allows you to manage your runners as ephemeral systems, since you can use automation to provide a clean environment for each job. This helps limit the exposure of any sensitive resources from previous jobs, and also helps mitigate the risk of a compromised runner receiving new jobs. + +To add an ephemeral runner to your environment, include the `--ephemeral` parameter when registering your runner using `config.sh`. For example: + +``` +$ ./config.sh --url https://github.com/octo-org --token example-token --ephemeral +``` + +The {% data variables.product.prodname_actions %} service will then automatically de-register the runner after it has processed one job. You can then create your own automation that wipes the runner after it has been de-registered. + +{% note %} + +**Note:** If a job is labeled for a certain type of runner, but none matching that type are available, the job does not immediately fail at the time of queueing. Instead, the job will remain queued until the 24 hour timeout period expires. + +{% endnote %} + +## Using webhooks for autoscaling + +You can create your own autoscaling environment by using payloads received from the [`workflow_job`](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job) webhook. This webhook is available at the repository, organization, and enterprise levels, and the payload for this event contains an `action` key that corresponds to the stages of a workflow job's life-cycle; for example when jobs are `queued`, `in_progress`, and `completed`. You must then create your own scaling automation in response to these webhook payloads. + +- For more information about the `workflow_job` webhook, see "[Webhook events and payloads](/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#workflow_job)." +- To learn how to work with webhooks, see "[Creating webhooks](/developers/webhooks-and-events/webhooks/creating-webhooks)." + +## Authentication requirements + +You can register and delete self-hosted runners using [the API](/rest/reference/actions#self-hosted-runners). To authenticate to the API, your autoscaling implementation can use an access token or a {% data variables.product.prodname_dotcom %} app. + +Your access token will require the following scope: + +- For private repositories, use an access token with the [`repo` scope](/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/#available-scopes). +- For public repositories, use an access token with the [`public_repo` scope](/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/#available-scopes). + +To authenticate using a {% data variables.product.prodname_dotcom %} App, it must be assigned the following permissions: +- For repositories, assign the `administration` permission. +- for organizations, assign the `organization_self_hosted_runners` permission. diff --git a/content/actions/hosting-your-own-runners/index.md b/content/actions/hosting-your-own-runners/index.md index 25b016f601..f253267a04 100644 --- a/content/actions/hosting-your-own-runners/index.md +++ b/content/actions/hosting-your-own-runners/index.md @@ -11,6 +11,7 @@ versions: children: - /about-self-hosted-runners - /adding-self-hosted-runners + - /autoscaling-with-self-hosted-runners - /configuring-the-self-hosted-runner-application-as-a-service - /using-a-proxy-server-with-self-hosted-runners - /using-labels-with-self-hosted-runners diff --git a/content/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups.md b/content/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups.md index bbc0ce1534..4eac5372fc 100644 --- a/content/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups.md +++ b/content/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups.md @@ -8,7 +8,7 @@ versions: ghes: '*' ghae: '*' type: tutorial -shortTitle: Manage access groups +shortTitle: Manage runner groups --- {% data reusables.actions.ae-self-hosted-runners-notice %} @@ -40,15 +40,32 @@ Self-hosted runners are automatically assigned to the default group when created When creating a group, you must choose a policy that defines which repositories have access to the runner group. +{% ifversion fpt %} +{% data reusables.organizations.navigate-to-org %} +{% data reusables.organizations.org_settings %} +{% data reusables.github-actions.settings-sidebar-actions-runner-groups %} +1. In the "Runner groups" section, click **New runner group**. + {% data reusables.github-actions.runner-group-assign-policy-repo %} + + {% warning %} + + **Warning**: {% indented_data_reference reusables.github-actions.self-hosted-runner-security spaces=3 %} + + For more information, see "[About self-hosted runners](/actions/hosting-your-own-runners/about-self-hosted-runners#self-hosted-runner-security-with-public-repositories)." + + {% endwarning %} +{% data reusables.github-actions.self-hosted-runner-create-group %} +{% endif %} +{% ifversion ghae or ghes %} {% data reusables.organizations.navigate-to-org %} {% data reusables.organizations.org_settings %} {% data reusables.github-actions.settings-sidebar-actions-runners %} -1. In the {% ifversion fpt %}"Runners"{% else %}"Self-hosted runners"{% endif %} section, click **Add new**, and then **New group**. +1. In the "Self-hosted runners" section, click **Add new**, and then **New group**. ![Add runner group](/assets/images/help/settings/actions-org-add-runner-group.png) 1. Enter a name for your runner group, and assign a policy for repository access. - {% ifversion fpt or ghes > 2.22 or ghae %} You can configure a runner group to be accessible to a specific list of repositories, or to all repositories in the organization. By default, only private repositories can access runners in a runner group, but you can override this.{% elsif ghes = 2.22 %}You can configure a runner group to be accessible to a specific list of repositories, all private repositories, or all repositories in the organization.{% endif %} + {% ifversion ghes > 2.22 or ghae %} You can configure a runner group to be accessible to a specific list of repositories, or to all repositories in the organization. By default, only private repositories can access runners in a runner group, but you can override this. This setting can't be overridden if configuring an organization's runner group that was shared by an enterprise.{% endif %}{% ifversion ghes = 2.22 %}You can configure a runner group to be accessible to a specific list of repositories, all private repositories, or all repositories in the organization.{% endif %} {% warning %} @@ -62,6 +79,8 @@ When creating a group, you must choose a policy that defines which repositories ![Add runner group options](/assets/images/help/settings/actions-org-add-runner-group-options.png) 1. Click **Save group** to create the group and apply the policy. +{% endif %} + ## Creating a self-hosted runner group for an enterprise @@ -71,6 +90,26 @@ Self-hosted runners are automatically assigned to the default group when created When creating a group, you must choose a policy that defines which organizations have access to the runner group. +{% ifversion fpt %} +{% data reusables.enterprise-accounts.access-enterprise %} +{% data reusables.enterprise-accounts.policies-tab %} +{% data reusables.enterprise-accounts.actions-tab %} +{% data reusables.enterprise-accounts.actions-runner-groups-tab %} +1. Click **New runner group**. + {% data reusables.github-actions.runner-group-assign-policy-org %} + + {% warning %} + + **Warning** + + {% indented_data_reference reusables.github-actions.self-hosted-runner-security spaces=3 %} + + For more information, see "[About self-hosted runners](/actions/hosting-your-own-runners/about-self-hosted-runners#self-hosted-runner-security-with-public-repositories)." + + {% endwarning %} +{% data reusables.github-actions.self-hosted-runner-create-group %} +{% endif %} +{% ifversion ghae or ghes %} {% data reusables.enterprise-accounts.access-enterprise %} {% data reusables.enterprise-accounts.policies-tab %} {% data reusables.enterprise-accounts.actions-tab %} @@ -80,7 +119,7 @@ When creating a group, you must choose a policy that defines which organizations ![Add runner group](/assets/images/help/settings/actions-enterprise-account-add-runner-group.png) 1. Enter a name for your runner group, and assign a policy for organization access. - {% ifversion fpt or ghes > 2.22 or ghae %} You can configure a runner group to be accessible to a specific list of organizations, or all organizations in the enterprise. By default, only private repositories can access runners in a runner group, but you can override this.{% elsif ghes = 2.22 %}You can configure a runner group to be accessible to all organizations in the enterprise or choose specific organizations.{% endif %} + {% ifversion fpt or ghes > 2.22 or ghae %} You can configure a runner group to be accessible to a specific list of organizations, or all organizations in the enterprise. By default, only private repositories can access runners in a runner group, but you can override this. This setting can't be overridden if configuring an organization's runner group that was shared by an enterprise.{% elsif ghes = 2.22 %}You can configure a runner group to be accessible to all organizations in the enterprise or choose specific organizations.{% endif %} {% warning %} @@ -94,13 +133,29 @@ When creating a group, you must choose a policy that defines which organizations ![Add runner group options](/assets/images/help/settings/actions-enterprise-account-add-runner-group-options.png) 1. Click **Save group** to create the group and apply the policy. +{% endif %} ## Changing the access policy of a self-hosted runner group You can update the access policy of a runner group, or rename a runner group. +{% ifversion fpt %} +{% data reusables.github-actions.self-hosted-runner-groups-navigate-to-repo-org-enterprise %} +{% data reusables.github-actions.settings-sidebar-actions-runner-groups-selection %} +1. Modify the access options, or change the runner group name. + {% warning %} + + **Warning** + + {% indented_data_reference reusables.github-actions.self-hosted-runner-security spaces=3 %} + + For more information, see "[About self-hosted runners](/actions/hosting-your-own-runners/about-self-hosted-runners#self-hosted-runner-security-with-public-repositories)." + + {% endwarning %} +{% endif %} +{% ifversion ghae or ghes %} {% data reusables.github-actions.self-hosted-runner-configure-runner-group-access %} - +{% endif %} ## Automatically adding a self-hosted runner to a group You can use the configuration script to automatically add a new self-hosted runner to a group. For example, this command registers a new self-hosted runner and uses the `--runnergroup` parameter to add it to a group named `rg-runnergroup`. @@ -118,18 +173,31 @@ Could not find any self-hosted runner group named "rg-runnergroup". ## Moving a self-hosted runner to a group If you don't specify a runner group during the registration process, your new self-hosted runners are automatically assigned to the default group, and can then be moved to another group. - +{% ifversion fpt %} +{% data reusables.github-actions.self-hosted-runner-navigate-to-repo-org-enterprise %} +1. In the "Runners" list, click the runner that you want to configure. +1. Select the Runner group dropdown menu. +1. In "Move runner to group", choose a destination group for the runner. +{% endif %} +{% ifversion ghae or ghes %} 1. In the {% ifversion fpt %}"Runners"{% else %}"Self-hosted runners"{% endif %} section of the settings page, locate the current group of the runner you want to move and expand the list of group members. ![View runner group members](/assets/images/help/settings/actions-org-runner-group-members.png) 1. Select the checkbox next to the self-hosted runner, and then click **Move to group** to see the available destinations. ![Runner group member move](/assets/images/help/settings/actions-org-runner-group-member-move.png) 1. To move the runner, click on the destination group. ![Runner group member move](/assets/images/help/settings/actions-org-runner-group-member-move-destination.png) - +{% endif %} ## Removing a self-hosted runner group Self-hosted runners are automatically returned to the default group when their group is removed. +{% ifversion fpt %} +{% data reusables.github-actions.self-hosted-runner-groups-navigate-to-repo-org-enterprise %} +1. In the list of groups, to the right of the group you want to delete, click {% octicon "kebab-horizontal" aria-label="The horizontal kebab icon" %}. +1. To remove the group, click **Remove group**. +1. Review the confirmation prompts, and click **Remove this runner group**. +{% endif %} +{% ifversion ghae or ghes %} 1. In the {% ifversion fpt %}"Runners"{% else %}"Self-hosted runners"{% endif %} section of the settings page, locate the group you want to delete, and click the {% octicon "kebab-horizontal" aria-label="The horizontal kebab icon" %} button. ![View runner group settings](/assets/images/help/settings/actions-org-runner-group-kebab.png) @@ -137,3 +205,4 @@ Self-hosted runners are automatically returned to the default group when their g ![View runner group settings](/assets/images/help/settings/actions-org-runner-group-remove.png) 1. Review the confirmation prompts, and click **Remove this runner group**. +{% endif %} diff --git a/content/actions/hosting-your-own-runners/monitoring-and-troubleshooting-self-hosted-runners.md b/content/actions/hosting-your-own-runners/monitoring-and-troubleshooting-self-hosted-runners.md index 3c62b2e265..4d0eb23175 100644 --- a/content/actions/hosting-your-own-runners/monitoring-and-troubleshooting-self-hosted-runners.md +++ b/content/actions/hosting-your-own-runners/monitoring-and-troubleshooting-self-hosted-runners.md @@ -27,8 +27,6 @@ shortTitle: Monitor & troubleshoot {% data reusables.github-actions.settings-sidebar-actions-runners %} 1. Under {% ifversion fpt %}"Runners"{% else %}"Self-hosted runners"{% endif %}, you can view a list of registered runners, including the runner's name, labels, and status. - ![Runner list](/assets/images/help/settings/actions-runner-list.png) - The status can be one of the following: * **Idle**: The runner is connected to {% data variables.product.product_name %} and is ready to execute jobs. diff --git a/content/actions/hosting-your-own-runners/removing-self-hosted-runners.md b/content/actions/hosting-your-own-runners/removing-self-hosted-runners.md index eda4136700..20e14c8246 100644 --- a/content/actions/hosting-your-own-runners/removing-self-hosted-runners.md +++ b/content/actions/hosting-your-own-runners/removing-self-hosted-runners.md @@ -30,12 +30,20 @@ shortTitle: Remove self-hosted runners To remove a self-hosted runner from a user repository you must be the repository owner. For an organization repository, you must be an organization owner or have admin access to the repository. We recommend that you also have access to the self-hosted runner machine. {% data reusables.github-actions.self-hosted-runner-reusing %} - +{% ifversion fpt %} +{% data reusables.repositories.navigate-to-repo %} +{% data reusables.repositories.sidebar-settings %} +{% data reusables.github-actions.settings-sidebar-actions %} +{% data reusables.github-actions.settings-sidebar-actions-runners-updated %} +{% data reusables.github-actions.settings-sidebar-actions-runner-selection %} +{% data reusables.github-actions.self-hosted-runner-removing-a-runner-updated %} +{% endif %} +{% ifversion ghae or ghes %} {% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} {% data reusables.github-actions.settings-sidebar-actions-runners %} {% data reusables.github-actions.self-hosted-runner-removing-a-runner %} - +{% endif %} ## Removing a runner from an organization {% note %} @@ -49,12 +57,20 @@ To remove a self-hosted runner from a user repository you must be the repository To remove a self-hosted runner from an organization, you must be an organization owner. We recommend that you also have access to the self-hosted runner machine. {% data reusables.github-actions.self-hosted-runner-reusing %} - +{% ifversion fpt %} +{% data reusables.organizations.navigate-to-org %} +{% data reusables.organizations.org_settings %} +{% data reusables.github-actions.settings-sidebar-actions %} +{% data reusables.github-actions.settings-sidebar-actions-runners-updated %} +{% data reusables.github-actions.settings-sidebar-actions-runner-selection %} +{% data reusables.github-actions.self-hosted-runner-removing-a-runner-updated %} +{% endif %} +{% ifversion ghae or ghes %} {% data reusables.organizations.navigate-to-org %} {% data reusables.organizations.org_settings %} {% data reusables.github-actions.settings-sidebar-actions-runners %} {% data reusables.github-actions.self-hosted-runner-removing-a-runner %} - +{% endif %} ## Removing a runner from an enterprise {% note %} @@ -64,17 +80,22 @@ To remove a self-hosted runner from an organization, you must be an organization {% data reusables.github-actions.self-hosted-runner-auto-removal %} {% endnote %} +{% data reusables.github-actions.self-hosted-runner-reusing %} {% ifversion fpt %} To remove a self-hosted runner from an enterprise account, you must be an enterprise owner. We recommend that you also have access to the self-hosted runner machine. -{% elsif ghes or ghae %} -To remove a self-hosted runner at the enterprise level of {% data variables.product.product_location %}, you must be a site administrator. We recommend that you also have access to the self-hosted runner machine. +{% data reusables.enterprise-accounts.access-enterprise %} +{% data reusables.enterprise-accounts.policies-tab %} +{% data reusables.enterprise-accounts.actions-tab %} +{% data reusables.enterprise-accounts.actions-runners-tab %} +{% data reusables.github-actions.settings-sidebar-actions-runner-selection %} +{% data reusables.github-actions.self-hosted-runner-removing-a-runner-updated %} {% endif %} - -{% data reusables.github-actions.self-hosted-runner-reusing %} - +{% ifversion ghae or ghes %} +To remove a self-hosted runner at the enterprise level of {% data variables.product.product_location %}, you must be a site administrator. We recommend that you also have access to the self-hosted runner machine. {% data reusables.enterprise-accounts.access-enterprise %} {% data reusables.enterprise-accounts.policies-tab %} {% data reusables.enterprise-accounts.actions-tab %} {% data reusables.enterprise-accounts.actions-runners-tab %} {% data reusables.github-actions.self-hosted-runner-removing-a-runner %} +{% endif %} diff --git a/content/actions/hosting-your-own-runners/using-labels-with-self-hosted-runners.md b/content/actions/hosting-your-own-runners/using-labels-with-self-hosted-runners.md index a4e16231ec..34ef600344 100644 --- a/content/actions/hosting-your-own-runners/using-labels-with-self-hosted-runners.md +++ b/content/actions/hosting-your-own-runners/using-labels-with-self-hosted-runners.md @@ -19,7 +19,14 @@ For information on how to use labels to route jobs to specific types of self-hos {% data reusables.github-actions.self-hosted-runner-management-permissions-required %} ## Creating a custom label - +{% ifversion fpt %} +{% data reusables.github-actions.self-hosted-runner-navigate-to-repo-org-enterprise %} + {% data reusables.github-actions.settings-sidebar-actions-runner-selection %} + 1. In the "Labels" section, click {% octicon "gear" aria-label="The Gear icon" %}. + 1. In the "Find or create a label" field, type the name of your new label and click **Create new label**. + The custom label is created and assigned to the self-hosted runner. Custom labels can be removed from self-hosted runners, but they currently can't be manually deleted. {% data reusables.github-actions.actions-unused-labels %} +{% endif %} +{% ifversion ghae or ghes %} {% data reusables.github-actions.self-hosted-runner-navigate-to-repo-org-enterprise %} {% data reusables.github-actions.self-hosted-runner-list %} {% data reusables.github-actions.self-hosted-runner-list-group %} @@ -28,23 +35,35 @@ For information on how to use labels to route jobs to specific types of self-hos ![Add runner label](/assets/images/help/settings/actions-add-runner-label.png) The custom label is created and assigned to the self-hosted runner. Custom labels can be removed from self-hosted runners, but they currently can't be manually deleted. {% data reusables.github-actions.actions-unused-labels %} - +{% endif %} ## Assigning a label to a self-hosted runner - +{% ifversion fpt %} +{% data reusables.github-actions.self-hosted-runner-navigate-to-repo-org-enterprise %} +{% data reusables.github-actions.settings-sidebar-actions-runner-selection %} +{% data reusables.github-actions.runner-label-settings %} + 1. To assign a label to your self-hosted runner, in the "Find or create a label" field, click the label. +{% endif %} +{% ifversion ghae or ghes %} {% data reusables.github-actions.self-hosted-runner-navigate-to-repo-org-enterprise %} {% data reusables.github-actions.self-hosted-runner-list %} {% data reusables.github-actions.self-hosted-runner-list-group %} {% data reusables.github-actions.self-hosted-runner-labels-view-assigned-labels %} 1. Click on a label to assign it to your self-hosted runner. - +{% endif %} ## Removing a custom label from a self-hosted runner - +{% ifversion fpt %} +{% data reusables.github-actions.self-hosted-runner-navigate-to-repo-org-enterprise %} +{% data reusables.github-actions.settings-sidebar-actions-runner-selection %} +{% data reusables.github-actions.runner-label-settings %} + 1. In the "Find or create a label" field, assigned labels are marked with the {% octicon "check" aria-label="The Check icon" %} icon. Click on a marked label to unassign it from your self-hosted runner. +{% endif %} +{% ifversion ghae or ghes %} {% data reusables.github-actions.self-hosted-runner-navigate-to-repo-org-enterprise %} {% data reusables.github-actions.self-hosted-runner-list %} {% data reusables.github-actions.self-hosted-runner-list-group %} {% data reusables.github-actions.self-hosted-runner-labels-view-assigned-labels %} 1. Click on the assigned label to remove it from your self-hosted runner. {% data reusables.github-actions.actions-unused-labels %} - +{% endif %} ## Using the configuration script to create and assign labels You can use the configuration script on the self-hosted runner to create and assign custom labels. For example, this command assigns a label named `gpu` to the self-hosted runner. diff --git a/content/actions/using-github-hosted-runners/using-groups-to-manage-access-to-ae-hosted-runners.md b/content/actions/using-github-hosted-runners/using-groups-to-manage-access-to-ae-hosted-runners.md index ca8573c289..4a01d748ef 100644 --- a/content/actions/using-github-hosted-runners/using-groups-to-manage-access-to-ae-hosted-runners.md +++ b/content/actions/using-github-hosted-runners/using-groups-to-manage-access-to-ae-hosted-runners.md @@ -31,11 +31,7 @@ When creating a group, you must choose a policy that defines which repositories ![Add runner group](/assets/images/help/settings/actions-hosted-runner-add-new-group.png) -1. Enter a name for your runner group, and assign a policy for repository access. - - You can configure a runner group to be accessible to a specific list of repositories, or to all repositories in the organization. By default, only private repositories can access runners in a runner group, but you can override this. - ![Add runner group options](/assets/images/help/settings/actions-org-add-runner-group-options.png) - + {% data reusables.github-actions.runner-group-assign-policy-repo %} 1. Click **Save group** to create the group and apply the policy. ## Creating an {% data variables.actions.hosted_runner %} group for an enterprise @@ -54,11 +50,8 @@ When creating a group, you must choose a policy that defines which organizations ![Add runner group](/assets/images/help/settings/actions-hosted-runner-add-new-group.png) -1. Enter a name for your runner group, and assign a policy for organization access. + {% data reusables.github-actions.runner-group-assign-policy-org %} - You can configure a runner group to be accessible to a specific list of organizations, or all organizations in the enterprise. By default, only private repositories can access runners in a runner group, but you can override this. - ![Add runner group options](/assets/images/help/settings/actions-enterprise-account-add-runner-group-options.png) - 1. Click **Save group** to create the group and apply the policy. ## Changing the access policy of an {% data variables.actions.hosted_runner %} group diff --git a/content/developers/webhooks-and-events/webhooks/webhook-events-and-payloads.md b/content/developers/webhooks-and-events/webhooks/webhook-events-and-payloads.md index 0b21f8c587..c77f1bc3e1 100644 --- a/content/developers/webhooks-and-events/webhooks/webhook-events-and-payloads.md +++ b/content/developers/webhooks-and-events/webhooks/webhook-events-and-payloads.md @@ -1390,6 +1390,30 @@ This event occurs when someone triggers a workflow run on GitHub or sends a `POS {{ webhookPayloadsForCurrentVersion.workflow_dispatch }} {% endif %} +{% ifversion fpt or ghes > 3.2 %} + +## workflow_job + +{% data reusables.webhooks.workflow_job_short_desc %} + +### Availability + +- Repository webhooks +- Organization webhooks +- Enterprise webhooks + +### Webhook payload object + +{% data reusables.webhooks.workflow_job_properties %} +{% data reusables.webhooks.repo_desc %} +{% data reusables.webhooks.org_desc %} +{% data reusables.webhooks.sender_desc %} + +### Webhook payload example + +{{ webhookPayloadsForCurrentVersion.workflow_job }} + +{% endif %} {% ifversion fpt or ghes > 2.22 %} ## workflow_run diff --git a/content/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account/about-identity-and-access-management-for-your-enterprise-account.md b/content/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account/about-identity-and-access-management-for-your-enterprise-account.md index f0f4c7db96..2e4960a813 100644 --- a/content/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account/about-identity-and-access-management-for-your-enterprise-account.md +++ b/content/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account/about-identity-and-access-management-for-your-enterprise-account.md @@ -18,6 +18,8 @@ After you enable SAML SSO, depending on the IdP you use, you may be able to enab If you use Azure AD as your IDP, you can use team synchronization to manage team membership within each organization. {% data reusables.identity-and-permissions.about-team-sync %} For more information, see "[Managing team synchronization for organizations in your enterprise account](/github/setting-up-and-managing-your-enterprise/managing-team-synchronization-for-organizations-in-your-enterprise-account)." +{% data reusables.saml.switching-from-org-to-enterprise %} For more information, see "[Switching your SAML configuration from an organization to an enterprise account](/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account/switching-your-saml-configuration-from-an-organization-to-an-enterprise-account)." + ## Supported IdPs We test and officially support the following IdPs. For SAML SSO, we offer limited support for all identity providers that implement the SAML 2.0 standard. For more information, see the [SAML Wiki](https://wiki.oasis-open.org/security) on the OASIS website. diff --git a/content/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account/configuring-saml-single-sign-on-for-your-enterprise-account-using-okta.md b/content/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account/configuring-saml-single-sign-on-for-your-enterprise-account-using-okta.md index 109ea5dc7c..e0c776c04d 100644 --- a/content/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account/configuring-saml-single-sign-on-for-your-enterprise-account-using-okta.md +++ b/content/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account/configuring-saml-single-sign-on-for-your-enterprise-account-using-okta.md @@ -21,6 +21,8 @@ You can control access to your enterprise account in {% data variables.product.p SAML SSO controls and secures access to enterprise account resources like organizations, repositories, issues, and pull requests. For more information, see "[Enforcing SAML single sign-on for organizations in your enterprise account](/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account/enforcing-saml-single-sign-on-for-organizations-in-your-enterprise-account)." +{% data reusables.saml.switching-from-org-to-enterprise %} For more information, see "[Switching your SAML configuration from an organization to an enterprise account](/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account/switching-your-saml-configuration-from-an-organization-to-an-enterprise-account)." + ## Prerequisites {% data reusables.saml.use-classic-ui %} diff --git a/content/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account/enforcing-saml-single-sign-on-for-organizations-in-your-enterprise-account.md b/content/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account/enforcing-saml-single-sign-on-for-organizations-in-your-enterprise-account.md index cd5e358891..ac9559d253 100644 --- a/content/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account/enforcing-saml-single-sign-on-for-organizations-in-your-enterprise-account.md +++ b/content/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account/enforcing-saml-single-sign-on-for-organizations-in-your-enterprise-account.md @@ -30,7 +30,7 @@ shortTitle: Enforce SAML **Notes:** -- When you enable SAML SSO for your enterprise, the enterprise configuration will override any existing organization-level SAML configurations. +- When you enable SAML SSO for your enterprise, the enterprise configuration will override any existing organization-level SAML configurations. {% data reusables.saml.switching-from-org-to-enterprise %} For more information, see "[Switching your SAML configuration from an organization to an enterprise account](/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account/switching-your-saml-configuration-from-an-organization-to-an-enterprise-account)." - When you enforce SAML SSO for an organization, {% data variables.product.company_short %} removes any members of the organization that have not authenticated successfully with your SAML IdP. When you require SAML SSO for your enterprise, {% data variables.product.company_short %} does not remove members of the enterprise that have not authenticated successfully with your SAML IdP. The next time a member accesses the enterprise's resources, the member must authenticate with your SAML IdP. {% endnote %} diff --git a/content/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account/index.md b/content/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account/index.md index 279d71e3a6..3f5d37c22d 100644 --- a/content/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account/index.md +++ b/content/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account/index.md @@ -11,6 +11,7 @@ children: - /enforcing-saml-single-sign-on-for-organizations-in-your-enterprise-account - /configuring-saml-single-sign-on-for-your-enterprise-account-using-okta - /managing-team-synchronization-for-organizations-in-your-enterprise-account + - /switching-your-saml-configuration-from-an-organization-to-an-enterprise-account shortTitle: Configure IAM --- diff --git a/content/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account/switching-your-saml-configuration-from-an-organization-to-an-enterprise-account.md b/content/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account/switching-your-saml-configuration-from-an-organization-to-an-enterprise-account.md new file mode 100644 index 0000000000..e725e50283 --- /dev/null +++ b/content/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account/switching-your-saml-configuration-from-an-organization-to-an-enterprise-account.md @@ -0,0 +1,39 @@ +--- +title: Switching your SAML configuration from an organization to an enterprise account +intro: 'Learn special considerations and best practices for replacing an organization-level SAML configuration with an enterprise-level SAML configuration.' +product: '{% data reusables.gated-features.enterprise-accounts %}' +permissions: Enterprise owners can configure SAML single sign-on for an enterprise account. +versions: + fpt: '*' +topics: + - Enterprise +shortTitle: Switching from organization +--- + +## About SAML single sign-on for enterprise accounts + +{% data reusables.saml.dotcom-saml-explanation %} {% data reusables.saml.about-saml-enterprise-accounts %} + +{% data reusables.saml.switching-from-org-to-enterprise %} + +When you configure SAML SSO at the organization level, each organization must be configured with a unique SSO tenant in your IdP, which means that your members will be associated with a unique SAML identity record for each organization they have succesfully authenticated with. If you configure SAML SSO for your enterprise account instead, each enterprise member will have one SAML identity that is used for all organizations owned by the enterprise account. + +After you configure SAML SSO for your enterprise account, the new configuration will override any existing SAML SSO configurations for organizations owned by the enterprise account. + +Enterprise members will not be notified when an enterprise owner enables SAML for the enterprise account. If SAML SSO was previously enforced at the organization level, members should not see a major difference when navigating directly to organization resources. The members will continue to be prompted to authenticate via SAML. If members navigate to organization resources via their IdP dashboard, they will need to click the new tile for the enterprise-level app, instead of the old tile for the organization-level app. The members will then be able to choose the organization to navigate to. + +Any personal access tokens (PATs), SSH keys, {% data variables.product.prodname_oauth_apps %}, and {% data variables.product.prodname_github_apps %} that were previously authorized for the organization will continue to be authorized for the organization. However, members will need to authorize any PATs, SSH keys, {% data variables.product.prodname_oauth_apps %}, and {% data variables.product.prodname_github_apps %} that were never authorized for use with SAML SSO for the organization. + +SCIM provisioning is not currently supported when SAML SSO is configured for an enterprise account. If you are currently using SCIM for an organization owned by your enterprise account, you will lose this functionality when switching to an enterprise-level configuration. + +You are not required to remove any organization-level SAML configurations before configuring SAML SSO for your enterprise account, but you may want to consider doing so. If SAML is ever disabled for the enterprise account in the future, any remaining organization-level SAML configurations will take effect. Removing the organization-level configurations can prevent unexpected issues in the future. + +## Switching your SAML configuration from an organization to an enterprise account + +1. Enforce SAML SSO for your enterprise account, making sure all organization members are assigned or given access to the IdP app being used for the enterprise account. For more information, see "[Enforcing SAML single sign-on for organizations in your enterprise account](/github/setting-up-and-managing-your-enterprise/configuring-identity-and-access-management-for-your-enterprise-account/enforcing-saml-single-sign-on-for-organizations-in-your-enterprise-account)." +1. Optionally, remove any existing SAML configuration for organizations owned by the enterprise account. To help you decide whether to remove the configurations, see "[About SAML single sign-on for enterprise accounts](#about-saml-single-sign-on-for-enterprise-accounts)." +1. If you kept any organization-level SAML configurations in place, to prevent confusion, consider hiding the tile for the organization-level apps in your IdP. +1. Advise your enterprise members about the change. + - Members will no longer be able to access their organizations by clicking the SAML app for the organization in the IdP dashboard. They will need to use the new app configured for the enterprise account. + - Members will need to authorize any PATs or SSH keys that were not previously authorized for use with SAML SSO for their organization. For more information, see "[Authorizing a personal access token for use with SAML single sign-on](/github/authenticating-to-github/authenticating-with-saml-single-sign-on/authorizing-a-personal-access-token-for-use-with-saml-single-sign-on)" and "[Authorizing an SSH key for use with SAML single sign-on](/github/authenticating-to-github/authenticating-with-saml-single-sign-on/authorizing-an-ssh-key-for-use-with-saml-single-sign-on)." + - Members may need to reauthorize {% data variables.product.prodname_oauth_apps %} that were previously authorized for the organization. For more information, see "[About authentication with SAML single sign-on](/github/authenticating-to-github/authenticating-with-saml-single-sign-on/about-authentication-with-saml-single-sign-on#about-oauth-apps-and-saml-sso)." \ No newline at end of file diff --git a/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners.md b/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners.md index fbdbfe5546..bf8d7b1c42 100644 --- a/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners.md +++ b/content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners.md @@ -16,7 +16,7 @@ topics: --- People with admin or owner permissions can set up a CODEOWNERS file in a repository. -The people you choose as code owners must have write permissions for the repository. When the code owner is a team, that team must have write permissions, even if all the individual members of the team already have write permissions directly, through organization membership, or through another team membership. +The people you choose as code owners must have write permissions for the repository. When the code owner is a team, that team must be visible and it must have write permissions, even if all the individual members of the team already have write permissions directly, through organization membership, or through another team membership. ## About code owners diff --git a/content/rest/reference/enterprise-admin.md b/content/rest/reference/enterprise-admin.md index d558888275..5b030db82c 100644 --- a/content/rest/reference/enterprise-admin.md +++ b/content/rest/reference/enterprise-admin.md @@ -191,16 +191,6 @@ $ curl -L 'https://api_key:your-amazing-password@hostname: {% endif %} -{% ifversion ghes > 3.2 %} - -## Git LFS - -{% for operation in currentRestOperations %} - {% if operation.subcategory == 'lfs' %}{% include rest_operation %}{% endif %} -{% endfor %} - -{% endif %} - {% ifversion ghae or ghes %} ## Organizations diff --git a/content/rest/reference/repos.md b/content/rest/reference/repos.md index 7ecb7153f8..ccbda5f5b5 100644 --- a/content/rest/reference/repos.md +++ b/content/rest/reference/repos.md @@ -207,6 +207,16 @@ Use the API endpoint for adding a collaborator. For more information, see "[Add {% if operation.subcategory == 'invitations' %}{% include rest_operation %}{% endif %} {% endfor %} +{% ifversion fpt or ghae or ghes > 3.2 %} + +## Git LFS + +{% for operation in currentRestOperations %} + {% if operation.subcategory == 'lfs' %}{% include rest_operation %}{% endif %} +{% endfor %} + +{% endif %} + ## Merging The Repo Merging API supports merging branches in a repository. This accomplishes diff --git a/data/reusables/enterprise-accounts/actions-runner-groups-tab.md b/data/reusables/enterprise-accounts/actions-runner-groups-tab.md new file mode 100644 index 0000000000..25b349604d --- /dev/null +++ b/data/reusables/enterprise-accounts/actions-runner-groups-tab.md @@ -0,0 +1 @@ +1. Click the **Runner groups** tab. \ No newline at end of file diff --git a/data/reusables/github-actions/runner-group-assign-policy-org.md b/data/reusables/github-actions/runner-group-assign-policy-org.md new file mode 100644 index 0000000000..64ea316d1a --- /dev/null +++ b/data/reusables/github-actions/runner-group-assign-policy-org.md @@ -0,0 +1,3 @@ +1. Enter a name for your runner group, and assign a policy for organization access. + + You can configure a runner group to be accessible to a specific list of organizations, or all organizations in the enterprise. By default, only private repositories can access runners in a runner group, but you can override this. This setting can't be overridden if configuring an organization's runner group that was shared by an enterprise. \ No newline at end of file diff --git a/data/reusables/github-actions/runner-group-assign-policy-repo.md b/data/reusables/github-actions/runner-group-assign-policy-repo.md new file mode 100644 index 0000000000..abdd4018a6 --- /dev/null +++ b/data/reusables/github-actions/runner-group-assign-policy-repo.md @@ -0,0 +1,3 @@ +1. Enter a name for your runner group, and assign a policy for repository access. + + You can configure a runner group to be accessible to a specific list of repositories, or to all repositories in the organization. By default, only private repositories can access runners in a runner group, but you can override this. This setting can't be overridden if configuring an organization's runner group that was shared by an enterprise. \ No newline at end of file diff --git a/data/reusables/github-actions/runner-label-settings.md b/data/reusables/github-actions/runner-label-settings.md new file mode 100644 index 0000000000..7fd28f8010 --- /dev/null +++ b/data/reusables/github-actions/runner-label-settings.md @@ -0,0 +1 @@ + 1. In the "Labels" section, click {% octicon "gear" aria-label="The Gear icon" %}. \ No newline at end of file diff --git a/data/reusables/github-actions/self-hosted-runner-check-installation-success.md b/data/reusables/github-actions/self-hosted-runner-check-installation-success.md index 591b712f59..a1ecf7a642 100644 --- a/data/reusables/github-actions/self-hosted-runner-check-installation-success.md +++ b/data/reusables/github-actions/self-hosted-runner-check-installation-success.md @@ -1,7 +1,7 @@ ### Checking that your self-hosted runner was successfully added -After completing the steps to add a self-hosted runner, the runner and its status are now listed under "Self-hosted runners". +After completing the steps to add a self-hosted runner, the runner and its status are now listed under {% ifversion fpt %}"Runners"{% elsif ghae or ghes %}"Self-hosted runners"{% endif %}. The self-hosted runner application must be active for the runner to accept jobs. When the runner application is connected to {% data variables.product.product_name %} and ready to receive jobs, you will see the following message on machine's terminal. diff --git a/data/reusables/github-actions/self-hosted-runner-configure.md b/data/reusables/github-actions/self-hosted-runner-configure.md index 35222a0ec0..f7f2e4c2c8 100644 --- a/data/reusables/github-actions/self-hosted-runner-configure.md +++ b/data/reusables/github-actions/self-hosted-runner-configure.md @@ -1,7 +1,4 @@ -1. Select the operating system and architecture of your self-hosted runner machine. - ![Select self-hosted runner operating system](/assets/images/help/settings/actions-runner-architecture-os.png) - - +1. Select the operating system image and architecture of your self-hosted runner machine. 1. You will see instructions showing you how to download the runner application and install it on your self-hosted runner machine. Open a shell on your self-hosted runner machine and run each shell command in the order shown. diff --git a/data/reusables/github-actions/self-hosted-runner-create-group.md b/data/reusables/github-actions/self-hosted-runner-create-group.md new file mode 100644 index 0000000000..1b1cc6d034 --- /dev/null +++ b/data/reusables/github-actions/self-hosted-runner-create-group.md @@ -0,0 +1 @@ +1. Click **Create group** to create the group and apply the policy. \ No newline at end of file diff --git a/data/reusables/github-actions/self-hosted-runner-groups-navigate-to-repo-org-enterprise.md b/data/reusables/github-actions/self-hosted-runner-groups-navigate-to-repo-org-enterprise.md new file mode 100644 index 0000000000..8a858e4166 --- /dev/null +++ b/data/reusables/github-actions/self-hosted-runner-groups-navigate-to-repo-org-enterprise.md @@ -0,0 +1,10 @@ +1. Navigate to where your self-hosted runner groups are located: + * **In an organization or repository**: navigate to the main page and click {% octicon "gear" aria-label="The Settings gear" %} **Settings**. + * {% ifversion fpt %}**If using an enterprise account**: navigate to your enterprise account by visiting `https://github.com/enterprises/ENTERPRISE-NAME`, replacing `ENTERPRISE-NAME` with your enterprise account's name.{% elsif ghes or ghae %}**If using an enterprise-level runner**: + + 1. In the upper-right corner of any page, click {% octicon "rocket" aria-label="The rocket ship" %}. + 1. In the left sidebar, click **Enterprise overview**. + 1. {% endif %} In the enterprise sidebar, {% octicon "law" aria-label="The law icon" %} **Policies**. +1. Navigate to the "Runner groups" settings: + * **In an organization or repository**: Click **Actions** in the left sidebar{% ifversion fpt %}, then click **Runner groups** below it{% endif %}. + * {% ifversion fpt %}**If using an enterprise account**:{% elsif ghes or ghae %}**If using an enterprise-level runner**:{% endif %} Click **Actions** under "{% octicon "law" aria-label="The law icon" %} Policies"{% ifversion fpt %}, then click the **Runners groups** tab{% endif %}. diff --git a/data/reusables/github-actions/self-hosted-runner-removing-a-runner-updated.md b/data/reusables/github-actions/self-hosted-runner-removing-a-runner-updated.md new file mode 100644 index 0000000000..fca17414e9 --- /dev/null +++ b/data/reusables/github-actions/self-hosted-runner-removing-a-runner-updated.md @@ -0,0 +1,12 @@ +1. Click **Remove**. +1. You will see instructions for removing the self-hosted runner. Complete either of the following steps to remove the runner, depending on whether it is still accessible: + + * **If you have access to the runner machine:** Follow the on-screen instructions for your machine's operating system to run the removal command. The instructions include the required URL and an automatically-generated, time-limited token. + + The removal command does the following tasks: + + * Removes the runner from {% data variables.product.product_name %}. + * Removes any self-hosted runner application configuration files on the machine. + * Removes any services configured if not running in interactive mode. + + * **If you don't have access to the machine:** Click **Force remove this runner** to force {% data variables.product.product_name %} to remove the runner. diff --git a/data/reusables/github-actions/settings-sidebar-actions-runner-groups-selection.md b/data/reusables/github-actions/settings-sidebar-actions-runner-groups-selection.md new file mode 100644 index 0000000000..b60a52acbe --- /dev/null +++ b/data/reusables/github-actions/settings-sidebar-actions-runner-groups-selection.md @@ -0,0 +1 @@ +1. In the list of groups, click the runner group you'd like to configure. diff --git a/data/reusables/github-actions/settings-sidebar-actions-runner-groups.md b/data/reusables/github-actions/settings-sidebar-actions-runner-groups.md new file mode 100644 index 0000000000..1be447145b --- /dev/null +++ b/data/reusables/github-actions/settings-sidebar-actions-runner-groups.md @@ -0,0 +1,2 @@ +1. In the left sidebar, click **Actions**. +1. In the left sidebar, under "Actions", click **Runner groups**. diff --git a/data/reusables/github-actions/settings-sidebar-actions-runner-selection.md b/data/reusables/github-actions/settings-sidebar-actions-runner-selection.md new file mode 100644 index 0000000000..c4985fa1c5 --- /dev/null +++ b/data/reusables/github-actions/settings-sidebar-actions-runner-selection.md @@ -0,0 +1 @@ +1. In the list of runners, click the runner you'd like to configure. diff --git a/data/reusables/github-actions/settings-sidebar-actions-runners-updated.md b/data/reusables/github-actions/settings-sidebar-actions-runners-updated.md new file mode 100644 index 0000000000..b3818637db --- /dev/null +++ b/data/reusables/github-actions/settings-sidebar-actions-runners-updated.md @@ -0,0 +1 @@ +1. In the left sidebar, under "Actions", click **Runners**. \ No newline at end of file diff --git a/data/reusables/github-actions/settings-sidebar-actions.md b/data/reusables/github-actions/settings-sidebar-actions.md new file mode 100644 index 0000000000..60237723b0 --- /dev/null +++ b/data/reusables/github-actions/settings-sidebar-actions.md @@ -0,0 +1 @@ +1. In the left sidebar, click **Actions**. \ No newline at end of file diff --git a/data/reusables/saml/switching-from-org-to-enterprise.md b/data/reusables/saml/switching-from-org-to-enterprise.md new file mode 100644 index 0000000000..4cb267fa13 --- /dev/null +++ b/data/reusables/saml/switching-from-org-to-enterprise.md @@ -0,0 +1 @@ +There are special considerations when enabling SAML SSO for your enterprise account if any of the organizations owned by the enterprise account are already configured to use SAML SSO. \ No newline at end of file diff --git a/data/reusables/webhooks/workflow_job_properties.md b/data/reusables/webhooks/workflow_job_properties.md new file mode 100644 index 0000000000..e026184b18 --- /dev/null +++ b/data/reusables/webhooks/workflow_job_properties.md @@ -0,0 +1,4 @@ +Key | Type | Description +----|------|------------- +`action`|`string` | The action performed. Can be one of:
  • `queued` - A new job was created.
  • `in_progress` - The job has started processing on the runner.
  • `completed` - The `status` of the job is `completed`.
+`workflow_job`|`object`| The workflow job. Many `workflow_job` keys, such as `head_sha`, `conclusion`, and `started_at` are the same as those in a [`check_run`](#check_run) object. \ No newline at end of file diff --git a/data/reusables/webhooks/workflow_job_short_desc.md b/data/reusables/webhooks/workflow_job_short_desc.md new file mode 100644 index 0000000000..08dc892ea3 --- /dev/null +++ b/data/reusables/webhooks/workflow_job_short_desc.md @@ -0,0 +1 @@ +A {% data variables.product.prodname_actions %} workflow job has been queued, is in progress, or has been completed on a repository. {% data reusables.webhooks.action_type_desc %} diff --git a/lib/render-content/create-processor.js b/lib/render-content/create-processor.js index 5e579a3c87..c09a9fe1a2 100644 --- a/lib/render-content/create-processor.js +++ b/lib/render-content/create-processor.js @@ -8,11 +8,11 @@ import raw from 'rehype-raw' import slug from 'rehype-slug' import autolinkHeadings from 'rehype-autolink-headings' import highlight from 'rehype-highlight' -import dockerfile from 'highlight.js/lib/languages/dockerfile.js' -import http from 'highlight.js/lib/languages/http.js' -import groovy from 'highlight.js/lib/languages/groovy.js' -import erb from 'highlight.js/lib/languages/erb.js' -import powershell from 'highlight.js/lib/languages/powershell.js' +import dockerfile from 'highlight.js/lib/languages/dockerfile' +import http from 'highlight.js/lib/languages/http' +import groovy from 'highlight.js/lib/languages/groovy' +import erb from 'highlight.js/lib/languages/erb' +import powershell from 'highlight.js/lib/languages/powershell' import html from 'rehype-stringify' import HighlightjsGraphql from 'highlightjs-graphql' import remarkCodeExtra from 'remark-code-extra' diff --git a/lib/rest/static/decorated/api.github.com.json b/lib/rest/static/decorated/api.github.com.json index d0aae756ba..7c140c50c7 100644 --- a/lib/rest/static/decorated/api.github.com.json +++ b/lib/rest/static/decorated/api.github.com.json @@ -65384,13 +65384,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/timeline", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/timeline
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/issues/42/timeline", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/issues/42/timeline
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/timeline', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42,\n mediaType: {\n previews: [\n 'mockingbird'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/timeline', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42,\n  mediaType: {\n    previews: [\n      'mockingbird'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/timeline', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/timeline', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42\n})\n
" } ], "summary": "List timeline events for an issue", @@ -65407,12 +65407,6 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "mockingbird", - "note": "The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-23-timeline-preview-api/) for full details. To access the API you must provide a custom [media type](https://docs.github.com/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mockingbird-preview\n```", - "html": "

The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details. To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.mockingbird-preview
" - }, { "required": false, "name": "starfox", @@ -65444,11 +65438,6 @@ "httpStatusCode": "410", "httpStatusMessage": "Gone", "description": "Gone" - }, - { - "httpStatusCode": "415", - "httpStatusMessage": "Unsupported Media Type", - "description": "Preview header missing" } ], "bodyParameters": [], @@ -66491,6 +66480,149 @@ } ] }, + { + "verb": "put", + "requestPath": "/repos/{owner}/{repo}/lfs", + "serverUrl": "https://api.github.com", + "parameters": [ + { + "name": "owner", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "" + }, + { + "name": "repo", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "" + } + ], + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl \\\n -X PUT \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/lfs", + "html": "
curl \\\n  -X PUT \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/lfs
" + }, + { + "lang": "JavaScript", + "source": "await octokit.request('PUT /repos/{owner}/{repo}/lfs', {\n owner: 'octocat',\n repo: 'hello-world'\n})", + "html": "
await octokit.request('PUT /repos/{owner}/{repo}/lfs', {\n  owner: 'octocat',\n  repo: 'hello-world'\n})\n
" + } + ], + "summary": "Enable Git LFS for a repository", + "description": "**Note:** The Git LFS API endpoints are currently in beta and are subject to change.", + "operationId": "repos/enable-lfs-for-repo", + "tags": [ + "repos" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#enable-git-lfs-for-a-repository" + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "previews": [], + "category": "repos", + "subcategory": "lfs" + }, + "slug": "enable-git-lfs-for-a-repository", + "category": "repos", + "categoryLabel": "Repos", + "subcategory": "lfs", + "subcategoryLabel": "Lfs", + "notes": [], + "responses": [ + { + "httpStatusCode": "202", + "httpStatusMessage": "Accepted", + "description": "Accepted" + }, + { + "httpStatusCode": "403", + "httpStatusMessage": "Forbidden", + "description": "We will return a 403 with one of the following messages:\n\n- Git LFS support not enabled because Git LFS is globally disabled.\n- Git LFS support not enabled because Git LFS is disabled for the root repository in the network.\n- Git LFS support not enabled because Git LFS is disabled for ." + } + ], + "bodyParameters": [], + "descriptionHTML": "

Note: The Git LFS API endpoints are currently in beta and are subject to change.

" + }, + { + "verb": "delete", + "requestPath": "/repos/{owner}/{repo}/lfs", + "serverUrl": "https://api.github.com", + "parameters": [ + { + "name": "owner", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "" + }, + { + "name": "repo", + "in": "path", + "required": true, + "schema": { + "type": "string" + }, + "descriptionHTML": "" + } + ], + "x-codeSamples": [ + { + "lang": "Shell", + "source": "curl \\\n -X DELETE \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://api.github.com/repos/octocat/hello-world/lfs", + "html": "
curl \\\n  -X DELETE \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://api.github.com/repos/octocat/hello-world/lfs
" + }, + { + "lang": "JavaScript", + "source": "await octokit.request('DELETE /repos/{owner}/{repo}/lfs', {\n owner: 'octocat',\n repo: 'hello-world'\n})", + "html": "
await octokit.request('DELETE /repos/{owner}/{repo}/lfs', {\n  owner: 'octocat',\n  repo: 'hello-world'\n})\n
" + } + ], + "summary": "Disable Git LFS for a repository", + "description": "**Note:** The Git LFS API endpoints are currently in beta and are subject to change.", + "operationId": "repos/disable-lfs-for-repo", + "tags": [ + "repos" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#disable-git-lfs-for-a-repository" + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "previews": [], + "category": "repos", + "subcategory": "lfs" + }, + "slug": "disable-git-lfs-for-a-repository", + "category": "repos", + "categoryLabel": "Repos", + "subcategory": "lfs", + "subcategoryLabel": "Lfs", + "notes": [], + "responses": [ + { + "httpStatusCode": "204", + "httpStatusMessage": "No Content", + "description": "Response" + } + ], + "bodyParameters": [], + "descriptionHTML": "

Note: The Git LFS API endpoints are currently in beta and are subject to change.

" + }, { "verb": "get", "requestPath": "/repos/{owner}/{repo}/license", diff --git a/lib/rest/static/decorated/ghes-2.18.json b/lib/rest/static/decorated/ghes-2.18.json index 88f45895dd..2bc2ec6835 100644 --- a/lib/rest/static/decorated/ghes-2.18.json +++ b/lib/rest/static/decorated/ghes-2.18.json @@ -42967,12 +42967,6 @@ "name": "mockingbird", "note": "The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-23-timeline-preview-api/) for full details. To access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mockingbird-preview\n```", "html": "

The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details. To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.mockingbird-preview
" - }, - { - "required": false, - "name": "starfox", - "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```", - "html": "

Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the blog post.

\n

To receive the project_card attribute, project boards must be enabled for a repository, and you must provide a custom media type in the Accept header:

\n
application/vnd.github.starfox-preview+json
" } ], "category": "issues", @@ -42999,11 +42993,6 @@ "httpStatusCode": "410", "httpStatusMessage": "Gone", "description": "Gone" - }, - { - "httpStatusCode": "415", - "httpStatusMessage": "Unsupported Media Type", - "description": "Preview header missing" } ], "bodyParameters": [], diff --git a/lib/rest/static/decorated/ghes-2.19.json b/lib/rest/static/decorated/ghes-2.19.json index 6d074ad55b..41122ffc6a 100644 --- a/lib/rest/static/decorated/ghes-2.19.json +++ b/lib/rest/static/decorated/ghes-2.19.json @@ -43665,12 +43665,6 @@ "name": "mockingbird", "note": "The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-23-timeline-preview-api/) for full details. To access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mockingbird-preview\n```", "html": "

The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details. To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.mockingbird-preview
" - }, - { - "required": false, - "name": "starfox", - "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```", - "html": "

Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the blog post.

\n

To receive the project_card attribute, project boards must be enabled for a repository, and you must provide a custom media type in the Accept header:

\n
application/vnd.github.starfox-preview+json
" } ], "category": "issues", @@ -43697,11 +43691,6 @@ "httpStatusCode": "410", "httpStatusMessage": "Gone", "description": "Gone" - }, - { - "httpStatusCode": "415", - "httpStatusMessage": "Unsupported Media Type", - "description": "Preview header missing" } ], "bodyParameters": [], diff --git a/lib/rest/static/decorated/ghes-2.20.json b/lib/rest/static/decorated/ghes-2.20.json index 098cf8ed30..b348d9440e 100644 --- a/lib/rest/static/decorated/ghes-2.20.json +++ b/lib/rest/static/decorated/ghes-2.20.json @@ -44146,12 +44146,6 @@ "name": "mockingbird", "note": "The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-23-timeline-preview-api/) for full details. To access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mockingbird-preview\n```", "html": "

The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details. To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.mockingbird-preview
" - }, - { - "required": false, - "name": "starfox", - "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```", - "html": "

Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the blog post.

\n

To receive the project_card attribute, project boards must be enabled for a repository, and you must provide a custom media type in the Accept header:

\n
application/vnd.github.starfox-preview+json
" } ], "category": "issues", @@ -44178,11 +44172,6 @@ "httpStatusCode": "410", "httpStatusMessage": "Gone", "description": "Gone" - }, - { - "httpStatusCode": "415", - "httpStatusMessage": "Unsupported Media Type", - "description": "Preview header missing" } ], "bodyParameters": [], diff --git a/lib/rest/static/decorated/ghes-2.21.json b/lib/rest/static/decorated/ghes-2.21.json index 14a9ce7d4b..68af53855e 100644 --- a/lib/rest/static/decorated/ghes-2.21.json +++ b/lib/rest/static/decorated/ghes-2.21.json @@ -48140,12 +48140,6 @@ "name": "mockingbird", "note": "The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-23-timeline-preview-api/) for full details. To access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mockingbird-preview\n```", "html": "

The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details. To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.mockingbird-preview
" - }, - { - "required": false, - "name": "starfox", - "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```", - "html": "

Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the blog post.

\n

To receive the project_card attribute, project boards must be enabled for a repository, and you must provide a custom media type in the Accept header:

\n
application/vnd.github.starfox-preview+json
" } ], "category": "issues", @@ -48172,11 +48166,6 @@ "httpStatusCode": "410", "httpStatusMessage": "Gone", "description": "Gone" - }, - { - "httpStatusCode": "415", - "httpStatusMessage": "Unsupported Media Type", - "description": "Preview header missing" } ], "bodyParameters": [], diff --git a/lib/rest/static/decorated/ghes-2.22.json b/lib/rest/static/decorated/ghes-2.22.json index 411c7bd165..3d1d659fdc 100644 --- a/lib/rest/static/decorated/ghes-2.22.json +++ b/lib/rest/static/decorated/ghes-2.22.json @@ -55914,12 +55914,6 @@ "name": "mockingbird", "note": "The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-23-timeline-preview-api/) for full details. To access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mockingbird-preview\n```", "html": "

The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details. To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.mockingbird-preview
" - }, - { - "required": false, - "name": "starfox", - "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```", - "html": "

Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the blog post.

\n

To receive the project_card attribute, project boards must be enabled for a repository, and you must provide a custom media type in the Accept header:

\n
application/vnd.github.starfox-preview+json
" } ], "category": "issues", @@ -55946,11 +55940,6 @@ "httpStatusCode": "410", "httpStatusMessage": "Gone", "description": "Gone" - }, - { - "httpStatusCode": "415", - "httpStatusMessage": "Unsupported Media Type", - "description": "Preview header missing" } ], "bodyParameters": [], diff --git a/lib/rest/static/decorated/ghes-3.0.json b/lib/rest/static/decorated/ghes-3.0.json index 6273a85081..8ee300c9e8 100644 --- a/lib/rest/static/decorated/ghes-3.0.json +++ b/lib/rest/static/decorated/ghes-3.0.json @@ -60715,12 +60715,6 @@ "name": "mockingbird", "note": "The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-23-timeline-preview-api/) for full details. To access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mockingbird-preview\n```", "html": "

The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details. To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.mockingbird-preview
" - }, - { - "required": false, - "name": "starfox", - "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```", - "html": "

Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the blog post.

\n

To receive the project_card attribute, project boards must be enabled for a repository, and you must provide a custom media type in the Accept header:

\n
application/vnd.github.starfox-preview+json
" } ], "category": "issues", @@ -60747,11 +60741,6 @@ "httpStatusCode": "410", "httpStatusMessage": "Gone", "description": "Gone" - }, - { - "httpStatusCode": "415", - "httpStatusMessage": "Unsupported Media Type", - "description": "Preview header missing" } ], "bodyParameters": [], diff --git a/lib/rest/static/decorated/ghes-3.1.json b/lib/rest/static/decorated/ghes-3.1.json index 199ffb700e..b81511b404 100644 --- a/lib/rest/static/decorated/ghes-3.1.json +++ b/lib/rest/static/decorated/ghes-3.1.json @@ -61405,12 +61405,6 @@ "name": "mockingbird", "note": "The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-23-timeline-preview-api/) for full details. To access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mockingbird-preview\n```", "html": "

The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details. To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.mockingbird-preview
" - }, - { - "required": false, - "name": "starfox", - "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```", - "html": "

Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the blog post.

\n

To receive the project_card attribute, project boards must be enabled for a repository, and you must provide a custom media type in the Accept header:

\n
application/vnd.github.starfox-preview+json
" } ], "category": "issues", @@ -61437,11 +61431,6 @@ "httpStatusCode": "410", "httpStatusMessage": "Gone", "description": "Gone" - }, - { - "httpStatusCode": "415", - "httpStatusMessage": "Unsupported Media Type", - "description": "Preview header missing" } ], "bodyParameters": [], diff --git a/lib/rest/static/decorated/ghes-3.2.json b/lib/rest/static/decorated/ghes-3.2.json index 61e2c225ad..1af8e87fbf 100644 --- a/lib/rest/static/decorated/ghes-3.2.json +++ b/lib/rest/static/decorated/ghes-3.2.json @@ -63621,12 +63621,6 @@ "name": "mockingbird", "note": "The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-23-timeline-preview-api/) for full details. To access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mockingbird-preview\n```", "html": "

The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details. To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.mockingbird-preview
" - }, - { - "required": false, - "name": "starfox", - "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```", - "html": "

Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the blog post.

\n

To receive the project_card attribute, project boards must be enabled for a repository, and you must provide a custom media type in the Accept header:

\n
application/vnd.github.starfox-preview+json
" } ], "category": "issues", @@ -63653,11 +63647,6 @@ "httpStatusCode": "410", "httpStatusMessage": "Gone", "description": "Gone" - }, - { - "httpStatusCode": "415", - "httpStatusMessage": "Unsupported Media Type", - "description": "Preview header missing" } ], "bodyParameters": [], diff --git a/lib/rest/static/decorated/github.ae.json b/lib/rest/static/decorated/github.ae.json index ba942a8ce1..57b3c0d36d 100644 --- a/lib/rest/static/decorated/github.ae.json +++ b/lib/rest/static/decorated/github.ae.json @@ -54856,13 +54856,13 @@ "x-codeSamples": [ { "lang": "Shell", - "source": "curl \\\n -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n https://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline", - "html": "
curl \\\n  -H \"Accept: application/vnd.github.mockingbird-preview+json\" \\\n  https://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline
" + "source": "curl \\\n -H \"Accept: application/vnd.github.v3+json\" \\\n https://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline", + "html": "
curl \\\n  -H \"Accept: application/vnd.github.v3+json\" \\\n  https://{hostname}/api/v3/repos/octocat/hello-world/issues/42/timeline
" }, { "lang": "JavaScript", - "source": "await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/timeline', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42,\n mediaType: {\n previews: [\n 'mockingbird'\n ]\n }\n})", - "html": "
await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/timeline', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42,\n  mediaType: {\n    previews: [\n      'mockingbird'\n    ]\n  }\n})\n
" + "source": "await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/timeline', {\n owner: 'octocat',\n repo: 'hello-world',\n issue_number: 42\n})", + "html": "
await octokit.request('GET /repos/{owner}/{repo}/issues/{issue_number}/timeline', {\n  owner: 'octocat',\n  repo: 'hello-world',\n  issue_number: 42\n})\n
" } ], "summary": "List timeline events for an issue", @@ -54879,12 +54879,6 @@ "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "mockingbird", - "note": "The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-23-timeline-preview-api/) for full details. To access the API you must provide a custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mockingbird-preview\n```", - "html": "

The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the blog post for full details. To access the API you must provide a custom media type in the Accept header:

\n
application/vnd.github.mockingbird-preview
" - }, { "required": false, "name": "starfox", @@ -54916,11 +54910,6 @@ "httpStatusCode": "410", "httpStatusMessage": "Gone", "description": "Gone" - }, - { - "httpStatusCode": "415", - "httpStatusMessage": "Unsupported Media Type", - "description": "Preview header missing" } ], "bodyParameters": [], @@ -56000,25 +55989,25 @@ } ], "summary": "Enable Git LFS for a repository", - "description": "", - "operationId": "enterprise-admin/enable-lfs-for-repo", + "description": "**Note:** The Git LFS API endpoints are currently in beta and are subject to change.", + "operationId": "repos/enable-lfs-for-repo", "tags": [ - "enterprise-admin" + "repos" ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#enable-git-lfs-for-a-repository" + "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#enable-git-lfs-for-a-repository" }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [], - "category": "enterprise-admin", + "category": "repos", "subcategory": "lfs" }, "slug": "enable-git-lfs-for-a-repository", - "category": "enterprise-admin", - "categoryLabel": "Enterprise admin", + "category": "repos", + "categoryLabel": "Repos", "subcategory": "lfs", "subcategoryLabel": "Lfs", "notes": [], @@ -56035,7 +56024,7 @@ } ], "bodyParameters": [], - "descriptionHTML": "" + "descriptionHTML": "

Note: The Git LFS API endpoints are currently in beta and are subject to change.

" }, { "verb": "delete", @@ -56074,25 +56063,25 @@ } ], "summary": "Disable Git LFS for a repository", - "description": "", - "operationId": "enterprise-admin/disable-lfs-for-repo", + "description": "**Note:** The Git LFS API endpoints are currently in beta and are subject to change.", + "operationId": "repos/disable-lfs-for-repo", "tags": [ - "enterprise-admin" + "repos" ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#disable-git-lfs-for-a-repository" + "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#disable-git-lfs-for-a-repository" }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, "previews": [], - "category": "enterprise-admin", + "category": "repos", "subcategory": "lfs" }, "slug": "disable-git-lfs-for-a-repository", - "category": "enterprise-admin", - "categoryLabel": "Enterprise admin", + "category": "repos", + "categoryLabel": "Repos", "subcategory": "lfs", "subcategoryLabel": "Lfs", "notes": [], @@ -56104,7 +56093,7 @@ } ], "bodyParameters": [], - "descriptionHTML": "" + "descriptionHTML": "

Note: The Git LFS API endpoints are currently in beta and are subject to change.

" }, { "verb": "get", diff --git a/lib/rest/static/dereferenced/api.github.com.deref.json b/lib/rest/static/dereferenced/api.github.com.deref.json index ce57601a76..23593f8437 100644 --- a/lib/rest/static/dereferenced/api.github.com.deref.json +++ b/lib/rest/static/dereferenced/api.github.com.deref.json @@ -278568,39 +278568,12 @@ } } } - }, - "415": { - "description": "Preview header missing", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "mockingbird", - "note": "The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-23-timeline-preview-api/) for full details. To access the API you must provide a custom [media type](https://docs.github.com/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mockingbird-preview\n```" - }, { "required": false, "name": "starfox", @@ -279975,6 +279948,106 @@ } } }, + "/repos/{owner}/{repo}/lfs": { + "put": { + "summary": "Enable Git LFS for a repository", + "description": "**Note:** The Git LFS API endpoints are currently in beta and are subject to change.", + "operationId": "repos/enable-lfs-for-repo", + "tags": [ + "repos" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#enable-git-lfs-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "202": { + "description": "Accepted", + "content": { + "application/json": { + "schema": { + "type": "object" + } + } + } + }, + "403": { + "description": "We will return a 403 with one of the following messages:\n\n- Git LFS support not enabled because Git LFS is globally disabled.\n- Git LFS support not enabled because Git LFS is disabled for the root repository in the network.\n- Git LFS support not enabled because Git LFS is disabled for ." + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "previews": [ + + ], + "category": "repos", + "subcategory": "lfs" + } + }, + "delete": { + "summary": "Disable Git LFS for a repository", + "description": "**Note:** The Git LFS API endpoints are currently in beta and are subject to change.", + "operationId": "repos/disable-lfs-for-repo", + "tags": [ + "repos" + ], + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/rest/reference/repos#disable-git-lfs-for-a-repository" + }, + "parameters": [ + { + "name": "owner", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repo", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "Response" + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": false, + "previews": [ + + ], + "category": "repos", + "subcategory": "lfs" + } + } + }, "/repos/{owner}/{repo}/license": { "get": { "summary": "Get the license for a repository", diff --git a/lib/rest/static/dereferenced/ghes-2.18.deref.json b/lib/rest/static/dereferenced/ghes-2.18.deref.json index f7e2b44084..70c9214402 100644 --- a/lib/rest/static/dereferenced/ghes-2.18.deref.json +++ b/lib/rest/static/dereferenced/ghes-2.18.deref.json @@ -196052,28 +196052,6 @@ } } } - }, - "415": { - "description": "Preview header missing", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } } }, "x-github": { @@ -196084,11 +196062,6 @@ "required": true, "name": "mockingbird", "note": "The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-23-timeline-preview-api/) for full details. To access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mockingbird-preview\n```" - }, - { - "required": false, - "name": "starfox", - "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@2.18/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" } ], "category": "issues", diff --git a/lib/rest/static/dereferenced/ghes-2.19.deref.json b/lib/rest/static/dereferenced/ghes-2.19.deref.json index c469692376..a102681f90 100644 --- a/lib/rest/static/dereferenced/ghes-2.19.deref.json +++ b/lib/rest/static/dereferenced/ghes-2.19.deref.json @@ -199578,28 +199578,6 @@ } } } - }, - "415": { - "description": "Preview header missing", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } } }, "x-github": { @@ -199610,11 +199588,6 @@ "required": true, "name": "mockingbird", "note": "The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-23-timeline-preview-api/) for full details. To access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mockingbird-preview\n```" - }, - { - "required": false, - "name": "starfox", - "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@2.19/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" } ], "category": "issues", diff --git a/lib/rest/static/dereferenced/ghes-2.20.deref.json b/lib/rest/static/dereferenced/ghes-2.20.deref.json index 9b9e6ca4cb..addcf97225 100644 --- a/lib/rest/static/dereferenced/ghes-2.20.deref.json +++ b/lib/rest/static/dereferenced/ghes-2.20.deref.json @@ -202026,28 +202026,6 @@ } } } - }, - "415": { - "description": "Preview header missing", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } } }, "x-github": { @@ -202058,11 +202036,6 @@ "required": true, "name": "mockingbird", "note": "The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-23-timeline-preview-api/) for full details. To access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mockingbird-preview\n```" - }, - { - "required": false, - "name": "starfox", - "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@2.20/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" } ], "category": "issues", diff --git a/lib/rest/static/dereferenced/ghes-2.21.deref.json b/lib/rest/static/dereferenced/ghes-2.21.deref.json index f283729dd8..d3bfa528f8 100644 --- a/lib/rest/static/dereferenced/ghes-2.21.deref.json +++ b/lib/rest/static/dereferenced/ghes-2.21.deref.json @@ -214453,28 +214453,6 @@ } } } - }, - "415": { - "description": "Preview header missing", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } } }, "x-github": { @@ -214485,11 +214463,6 @@ "required": true, "name": "mockingbird", "note": "The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-23-timeline-preview-api/) for full details. To access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mockingbird-preview\n```" - }, - { - "required": false, - "name": "starfox", - "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@2.21/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" } ], "category": "issues", diff --git a/lib/rest/static/dereferenced/ghes-2.22.deref.json b/lib/rest/static/dereferenced/ghes-2.22.deref.json index 17e6abb3df..6279323757 100644 --- a/lib/rest/static/dereferenced/ghes-2.22.deref.json +++ b/lib/rest/static/dereferenced/ghes-2.22.deref.json @@ -246234,28 +246234,6 @@ } } } - }, - "415": { - "description": "Preview header missing", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } } }, "x-github": { @@ -246266,11 +246244,6 @@ "required": true, "name": "mockingbird", "note": "The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-23-timeline-preview-api/) for full details. To access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mockingbird-preview\n```" - }, - { - "required": false, - "name": "starfox", - "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@2.22/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" } ], "category": "issues", diff --git a/lib/rest/static/dereferenced/ghes-3.0.deref.json b/lib/rest/static/dereferenced/ghes-3.0.deref.json index 197ccf059b..d84830b0ba 100644 --- a/lib/rest/static/dereferenced/ghes-3.0.deref.json +++ b/lib/rest/static/dereferenced/ghes-3.0.deref.json @@ -253066,28 +253066,6 @@ } } } - }, - "415": { - "description": "Preview header missing", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } } }, "x-github": { @@ -253098,11 +253076,6 @@ "required": true, "name": "mockingbird", "note": "The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-23-timeline-preview-api/) for full details. To access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mockingbird-preview\n```" - }, - { - "required": false, - "name": "starfox", - "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.0/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" } ], "category": "issues", diff --git a/lib/rest/static/dereferenced/ghes-3.1.deref.json b/lib/rest/static/dereferenced/ghes-3.1.deref.json index d4aed9a897..b09b1ab743 100644 --- a/lib/rest/static/dereferenced/ghes-3.1.deref.json +++ b/lib/rest/static/dereferenced/ghes-3.1.deref.json @@ -256038,28 +256038,6 @@ } } } - }, - "415": { - "description": "Preview header missing", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } } }, "x-github": { @@ -256070,11 +256048,6 @@ "required": true, "name": "mockingbird", "note": "The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-23-timeline-preview-api/) for full details. To access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mockingbird-preview\n```" - }, - { - "required": false, - "name": "starfox", - "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.1/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" } ], "category": "issues", diff --git a/lib/rest/static/dereferenced/ghes-3.2.deref.json b/lib/rest/static/dereferenced/ghes-3.2.deref.json index 9d669579bf..06ac3f741f 100644 --- a/lib/rest/static/dereferenced/ghes-3.2.deref.json +++ b/lib/rest/static/dereferenced/ghes-3.2.deref.json @@ -262850,28 +262850,6 @@ } } } - }, - "415": { - "description": "Preview header missing", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } } }, "x-github": { @@ -262882,11 +262860,6 @@ "required": true, "name": "mockingbird", "note": "The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-23-timeline-preview-api/) for full details. To access the API you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mockingbird-preview\n```" - }, - { - "required": false, - "name": "starfox", - "note": "Project card details are now shown in REST API v3 responses for project-related issue and timeline events. This feature is now available for developers to preview. For details, see the [blog post](https://developer.github.com/changes/2018-09-05-project-card-events).\n\nTo receive the `project_card` attribute, project boards must be [enabled](https://help.github.com/articles/disabling-project-boards-in-a-repository) for a repository, and you must provide a custom [media type](https://docs.github.com/enterprise-server@3.2/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.starfox-preview+json\n```" } ], "category": "issues", diff --git a/lib/rest/static/dereferenced/github.ae.deref.json b/lib/rest/static/dereferenced/github.ae.deref.json index d1b5adc99c..28b749d124 100644 --- a/lib/rest/static/dereferenced/github.ae.deref.json +++ b/lib/rest/static/dereferenced/github.ae.deref.json @@ -226899,39 +226899,12 @@ } } } - }, - "415": { - "description": "Preview header missing", - "content": { - "application/json": { - "schema": { - "type": "object", - "required": [ - "message", - "documentation_url" - ], - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - } - } - } - } - } } }, "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, "previews": [ - { - "required": true, - "name": "mockingbird", - "note": "The API to get issue timeline events is currently available for developers to preview. During the preview period, the APIs may change without advance notice. Please see the [blog post](https://developer.github.com/changes/2016-05-23-timeline-preview-api/) for full details. To access the API you must provide a custom [media type](https://docs.github.com/github-ae@latest/rest/overview/media-types) in the `Accept` header:\n```shell\napplication/vnd.github.mockingbird-preview\n```" - }, { "required": false, "name": "starfox", @@ -228309,14 +228282,14 @@ "/repos/{owner}/{repo}/lfs": { "put": { "summary": "Enable Git LFS for a repository", - "description": "", - "operationId": "enterprise-admin/enable-lfs-for-repo", + "description": "**Note:** The Git LFS API endpoints are currently in beta and are subject to change.", + "operationId": "repos/enable-lfs-for-repo", "tags": [ - "enterprise-admin" + "repos" ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#enable-git-lfs-for-a-repository" + "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#enable-git-lfs-for-a-repository" }, "parameters": [ { @@ -228357,20 +228330,20 @@ "previews": [ ], - "category": "enterprise-admin", + "category": "repos", "subcategory": "lfs" } }, "delete": { "summary": "Disable Git LFS for a repository", - "description": "", - "operationId": "enterprise-admin/disable-lfs-for-repo", + "description": "**Note:** The Git LFS API endpoints are currently in beta and are subject to change.", + "operationId": "repos/disable-lfs-for-repo", "tags": [ - "enterprise-admin" + "repos" ], "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/enterprise-admin#disable-git-lfs-for-a-repository" + "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#disable-git-lfs-for-a-repository" }, "parameters": [ { @@ -228401,7 +228374,7 @@ "previews": [ ], - "category": "enterprise-admin", + "category": "repos", "subcategory": "lfs" } } diff --git a/lib/search/indexes/github-docs-2.22-cn-records.json.br b/lib/search/indexes/github-docs-2.22-cn-records.json.br index 7b7b452efd..4fdd725a4e 100644 --- a/lib/search/indexes/github-docs-2.22-cn-records.json.br +++ b/lib/search/indexes/github-docs-2.22-cn-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e3032be3c279897383425d4ef8bd965cdd60765f9f1d1e377f68da5262eeddab -size 506660 +oid sha256:f50ee22894c3c152b7848b352b30f5cd0abd31d332bda2356ee553ab0573d08c +size 506669 diff --git a/lib/search/indexes/github-docs-2.22-cn.json.br b/lib/search/indexes/github-docs-2.22-cn.json.br index e8f4d5b6a7..0ee3b0571d 100644 --- a/lib/search/indexes/github-docs-2.22-cn.json.br +++ b/lib/search/indexes/github-docs-2.22-cn.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:380a763e02200ab664a6e4d74b911d96783b7858e4e9ec8ef88b20499f9e0373 -size 801995 +oid sha256:93b376c6c8a00db64894387cf01797a88426da37a9291e8beaece4ecc99727e8 +size 802134 diff --git a/lib/search/indexes/github-docs-2.22-de-records.json.br b/lib/search/indexes/github-docs-2.22-de-records.json.br index ef41bc6d42..934d76232c 100644 --- a/lib/search/indexes/github-docs-2.22-de-records.json.br +++ b/lib/search/indexes/github-docs-2.22-de-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b96a355c778c1797782e671d3e98ebc03a6d91336b089cfeee8a5c4f065be52b -size 469335 +oid sha256:726fd6ef337c3e410dbe78c485a12ed055516f269d7977b81ef465cca091389b +size 469401 diff --git a/lib/search/indexes/github-docs-2.22-de.json.br b/lib/search/indexes/github-docs-2.22-de.json.br index 6b66c15ac2..49d4ec9025 100644 --- a/lib/search/indexes/github-docs-2.22-de.json.br +++ b/lib/search/indexes/github-docs-2.22-de.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7ba4532b23c952b946546874ca37e7589e0ba10071d2d838109b299280c74872 -size 2076738 +oid sha256:a47cfe086304ebff58931daf26faa1479258325117cad9f8bea53ee289fe39b7 +size 2077093 diff --git a/lib/search/indexes/github-docs-2.22-en-records.json.br b/lib/search/indexes/github-docs-2.22-en-records.json.br index ce222f76b6..635b658d30 100644 --- a/lib/search/indexes/github-docs-2.22-en-records.json.br +++ b/lib/search/indexes/github-docs-2.22-en-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dcd6d3cb83fce94d00a9e78b5cd2695565d26e8c6f5a7f877cf3d2845dd60034 -size 430919 +oid sha256:907dedfdb60f776f8c55d33467a53a91732f3f051063b14a6adbd83337eea252 +size 430428 diff --git a/lib/search/indexes/github-docs-2.22-en.json.br b/lib/search/indexes/github-docs-2.22-en.json.br index fa37536ff5..1f4bd083c9 100644 --- a/lib/search/indexes/github-docs-2.22-en.json.br +++ b/lib/search/indexes/github-docs-2.22-en.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bbedebbeb6f0bb3655f6626e67aeffe938557a1b0b775ef76113146de6bf7d21 -size 1681139 +oid sha256:4d9c2679718670fc03e2f6577522a8521e6aaa33be8b3396532ae58973dde5d9 +size 1681920 diff --git a/lib/search/indexes/github-docs-2.22-es-records.json.br b/lib/search/indexes/github-docs-2.22-es-records.json.br index 6a9149ee92..05653b99c7 100644 --- a/lib/search/indexes/github-docs-2.22-es-records.json.br +++ b/lib/search/indexes/github-docs-2.22-es-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:65d6a978a6bf23db32e39eec4e3f43bfddeb34ddf7ec601608707d961add2d60 -size 279972 +oid sha256:adce3f50e7fc02058aa3c1ad08519b0465f6aad6ed09a28a4350bbb5da42ce1b +size 280209 diff --git a/lib/search/indexes/github-docs-2.22-es.json.br b/lib/search/indexes/github-docs-2.22-es.json.br index 38c8d9c8a1..69c0a78603 100644 --- a/lib/search/indexes/github-docs-2.22-es.json.br +++ b/lib/search/indexes/github-docs-2.22-es.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:331568c0732332b4b5a8ebd1dfc51a0e877a7b9e7b648999c361e11a91c39656 -size 1066658 +oid sha256:c441bb092459e109c62476ea897860d7c2ae5433abf0837ccd7479095aea5bb3 +size 1066280 diff --git a/lib/search/indexes/github-docs-2.22-ja-records.json.br b/lib/search/indexes/github-docs-2.22-ja-records.json.br index c962d861cd..31f7b58ade 100644 --- a/lib/search/indexes/github-docs-2.22-ja-records.json.br +++ b/lib/search/indexes/github-docs-2.22-ja-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5baa3649eed7f1e74d359dda7127b11ac75697d885d8ba9313e91b73e5741e24 -size 528542 +oid sha256:79909e29949a5ea4aa188633a631b4a5914b67a428edbe9de2e17720aee03597 +size 528713 diff --git a/lib/search/indexes/github-docs-2.22-ja.json.br b/lib/search/indexes/github-docs-2.22-ja.json.br index dcaa350403..59b54cb756 100644 --- a/lib/search/indexes/github-docs-2.22-ja.json.br +++ b/lib/search/indexes/github-docs-2.22-ja.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7e577b6c30684621ac242249568ad494bc43a86e05375ef76ff12f6f66130e0a -size 2796981 +oid sha256:94f6995aeec10d93c86fccc30c60732e01143587129ee2271b78aaf564c0f02c +size 2796443 diff --git a/lib/search/indexes/github-docs-2.22-pt-records.json.br b/lib/search/indexes/github-docs-2.22-pt-records.json.br index f0e43dbb40..fb124c1466 100644 --- a/lib/search/indexes/github-docs-2.22-pt-records.json.br +++ b/lib/search/indexes/github-docs-2.22-pt-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:41ab99b846559718b69d12a0506c26cb9c1eb60bf10eb833ea8b0e1bd03f6125 -size 443182 +oid sha256:6ec33bcac8ac2a4bb532369870fe0e43d08cb72e29c859b9086332938d2b9a7b +size 443093 diff --git a/lib/search/indexes/github-docs-2.22-pt.json.br b/lib/search/indexes/github-docs-2.22-pt.json.br index e7de8a7579..275fb08582 100644 --- a/lib/search/indexes/github-docs-2.22-pt.json.br +++ b/lib/search/indexes/github-docs-2.22-pt.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3a62338633e82e8bef850f9b7db1c22874fa8d278ce7e28812602c4852b57d58 -size 1850199 +oid sha256:b77fa94ac0ef9b48b81d35dbc41707645a82bc51a48f7ff03ad0f560ea6d6107 +size 1849893 diff --git a/lib/search/indexes/github-docs-3.0-cn-records.json.br b/lib/search/indexes/github-docs-3.0-cn-records.json.br index f5e9238904..d3f872348b 100644 --- a/lib/search/indexes/github-docs-3.0-cn-records.json.br +++ b/lib/search/indexes/github-docs-3.0-cn-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:563dde49bdf7bf393fe0c922c712f39a6534f310ac143783a85607862eacde0a -size 524518 +oid sha256:c65ece089c4c5777d7ea0eef7cc414ecda970eeba9d445270dfae54ec02813c3 +size 524481 diff --git a/lib/search/indexes/github-docs-3.0-cn.json.br b/lib/search/indexes/github-docs-3.0-cn.json.br index f531c2d62f..dc680287fd 100644 --- a/lib/search/indexes/github-docs-3.0-cn.json.br +++ b/lib/search/indexes/github-docs-3.0-cn.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ad99140460f917c11c9a273ce705359fd74553667d5d489a866984a5b7c1ff3d -size 834145 +oid sha256:7a78683fb95c080c629f1cd038d7b0b47063acda8783d396fb5d48cfdeb6fa6b +size 833304 diff --git a/lib/search/indexes/github-docs-3.0-de-records.json.br b/lib/search/indexes/github-docs-3.0-de-records.json.br index 25750689ca..b0f258480b 100644 --- a/lib/search/indexes/github-docs-3.0-de-records.json.br +++ b/lib/search/indexes/github-docs-3.0-de-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:af874ba2bffe716a36312469126a670c0de06040fd4b3137e41922073424d980 -size 490084 +oid sha256:9d5c834afd57550e8e9cd2aeca3c1cb27b3ab6cd90194ed47a81c4d9a118402b +size 490124 diff --git a/lib/search/indexes/github-docs-3.0-de.json.br b/lib/search/indexes/github-docs-3.0-de.json.br index 2f9fb50e67..63ff1f92bc 100644 --- a/lib/search/indexes/github-docs-3.0-de.json.br +++ b/lib/search/indexes/github-docs-3.0-de.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ede9400fcc8ce2378fb6473395561bc67ea5a63ba0ad841c01712f1a954a9092 -size 2178149 +oid sha256:4bfb698536710b31a085522fc42d889f4190f18fa58f679c196852193d87d572 +size 2177670 diff --git a/lib/search/indexes/github-docs-3.0-en-records.json.br b/lib/search/indexes/github-docs-3.0-en-records.json.br index 5a16146907..39d287fb9d 100644 --- a/lib/search/indexes/github-docs-3.0-en-records.json.br +++ b/lib/search/indexes/github-docs-3.0-en-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7528c91f801722d576a8812c99eaad05fdee55aa30fd73526f3f1a695a1db668 -size 450559 +oid sha256:ca4e482cfe6b12487057b869bd316f86fcec2ad3d358311f3be5a8362f0a8362 +size 450609 diff --git a/lib/search/indexes/github-docs-3.0-en.json.br b/lib/search/indexes/github-docs-3.0-en.json.br index 824d8b2b95..2ee0939a9b 100644 --- a/lib/search/indexes/github-docs-3.0-en.json.br +++ b/lib/search/indexes/github-docs-3.0-en.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:41d93662a124a77ccb31f95d2ce7103a1ab5c4a34dab9e078f8001d1b99b10b2 -size 1755097 +oid sha256:c42711dc9b05cf8b91a299c6ac8105e242c368d6bb0dc2a28765c6cc93cca44c +size 1755236 diff --git a/lib/search/indexes/github-docs-3.0-es-records.json.br b/lib/search/indexes/github-docs-3.0-es-records.json.br index bd14a999fc..c0172f6de6 100644 --- a/lib/search/indexes/github-docs-3.0-es-records.json.br +++ b/lib/search/indexes/github-docs-3.0-es-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:da8b8444dfe1e29d3993f4c773ffab20821f692ad4a87ad25b5118cb54fd2adc -size 278133 +oid sha256:560544596725d7c56af6d45df16da4c2f596ef85543fc307c583261a6fef8a04 +size 278213 diff --git a/lib/search/indexes/github-docs-3.0-es.json.br b/lib/search/indexes/github-docs-3.0-es.json.br index bb56f5487b..c6aaceef2e 100644 --- a/lib/search/indexes/github-docs-3.0-es.json.br +++ b/lib/search/indexes/github-docs-3.0-es.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6ca1d8a3ea7b2e45ea1f62aa434cc0d2145662a1d979f874dbc36ec64cb1b2f9 -size 1054929 +oid sha256:eedfc63ac2c08ca9307628337e29e8c9efab25a27a71d7db653f2165b08d8257 +size 1055136 diff --git a/lib/search/indexes/github-docs-3.0-ja-records.json.br b/lib/search/indexes/github-docs-3.0-ja-records.json.br index 5b1f4dcd7f..9f1bc29007 100644 --- a/lib/search/indexes/github-docs-3.0-ja-records.json.br +++ b/lib/search/indexes/github-docs-3.0-ja-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:12aebcd09965253adf15d836265542a795552191b3481db7263ace81c0ff712a -size 549880 +oid sha256:9189bdbdb15623b459313d6f1cec8ae010368079b345cfb95da3b4835e727288 +size 550010 diff --git a/lib/search/indexes/github-docs-3.0-ja.json.br b/lib/search/indexes/github-docs-3.0-ja.json.br index fee55bcf59..06909979c4 100644 --- a/lib/search/indexes/github-docs-3.0-ja.json.br +++ b/lib/search/indexes/github-docs-3.0-ja.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:18939b606894e9c535b3cd9eb778260d77c95cfc878d3fb1e2205c46156c1a9b -size 2909638 +oid sha256:8e212059f730f559c3be7eebdbac308ed391f91700e55691a1e6fa24b803b610 +size 2911165 diff --git a/lib/search/indexes/github-docs-3.0-pt-records.json.br b/lib/search/indexes/github-docs-3.0-pt-records.json.br index 22afe9ca72..3deaaf5fc5 100644 --- a/lib/search/indexes/github-docs-3.0-pt-records.json.br +++ b/lib/search/indexes/github-docs-3.0-pt-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fa26937152186bc3aa79dd311872e586def281559ce73bc9cc1150ca4bdbdb89 -size 464415 +oid sha256:db10600531d14e8fbdd487034e1778faf60eba1cc03b3691edd0814e30666f53 +size 464491 diff --git a/lib/search/indexes/github-docs-3.0-pt.json.br b/lib/search/indexes/github-docs-3.0-pt.json.br index c746119dc7..ca9eef829f 100644 --- a/lib/search/indexes/github-docs-3.0-pt.json.br +++ b/lib/search/indexes/github-docs-3.0-pt.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c1341a8ae85d65dd80222bc13c89e1ecddaa161c90b745f036a984bbe20e7d8c -size 1936477 +oid sha256:ed8a047f231abe94f3bc13dce06a823aee7650eff019221f26f234f4d5c93715 +size 1936075 diff --git a/lib/search/indexes/github-docs-3.1-cn-records.json.br b/lib/search/indexes/github-docs-3.1-cn-records.json.br index 2f1001538e..4a08c6b6de 100644 --- a/lib/search/indexes/github-docs-3.1-cn-records.json.br +++ b/lib/search/indexes/github-docs-3.1-cn-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1a22be3135e1f0019acd62d8391dd08b614c0aa5dcccc5dd1cd1954e4c89cd0c -size 533843 +oid sha256:db28e98bca5d5fbeed6cd04ee081381cf8f5a3f5d1cb36f5051598b07f904d56 +size 533820 diff --git a/lib/search/indexes/github-docs-3.1-cn.json.br b/lib/search/indexes/github-docs-3.1-cn.json.br index e22d822eaa..4513f54aa1 100644 --- a/lib/search/indexes/github-docs-3.1-cn.json.br +++ b/lib/search/indexes/github-docs-3.1-cn.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4a8e34aecb80b3ff6095796db66734f9f495c9791beddaf359b66c0d05e553e5 -size 845610 +oid sha256:4fac4b0e486c0990c36c7716510e946afae5e21510ce935e82bef58024e21c53 +size 845942 diff --git a/lib/search/indexes/github-docs-3.1-de-records.json.br b/lib/search/indexes/github-docs-3.1-de-records.json.br index d46bcf094e..7e6b08b614 100644 --- a/lib/search/indexes/github-docs-3.1-de-records.json.br +++ b/lib/search/indexes/github-docs-3.1-de-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b2d70f43861bf1014114fd3a2bdfc016ecc45d0a423620d5b3cef95042f55450 -size 497070 +oid sha256:6091ebc6913e5acabfe5f720a5ab3df24c4ba4eeaacc1900580df65765caa720 +size 497115 diff --git a/lib/search/indexes/github-docs-3.1-de.json.br b/lib/search/indexes/github-docs-3.1-de.json.br index d36c850b3c..bb40e216d6 100644 --- a/lib/search/indexes/github-docs-3.1-de.json.br +++ b/lib/search/indexes/github-docs-3.1-de.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:25c88438d5ef4477c7b3791113ecd4c6879aa0b80b03c0f866f364c4c6b17b91 -size 2219916 +oid sha256:9a622569acfdf938c97e66085765e10fe02ae7492d27f7ef0afede575af41e69 +size 2219544 diff --git a/lib/search/indexes/github-docs-3.1-en-records.json.br b/lib/search/indexes/github-docs-3.1-en-records.json.br index 0a66056036..fb82838ca2 100644 --- a/lib/search/indexes/github-docs-3.1-en-records.json.br +++ b/lib/search/indexes/github-docs-3.1-en-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2daaa0b43580f2567a8050aa5abae7f037ff117aa4bfed4f9a760dab7704dd30 -size 459130 +oid sha256:e6d5ab79e6fc3d0250d5fdb8ab8d851430528d6c39435516f85be76a214fb128 +size 459179 diff --git a/lib/search/indexes/github-docs-3.1-en.json.br b/lib/search/indexes/github-docs-3.1-en.json.br index 9f839ebf5f..78b46cb2f2 100644 --- a/lib/search/indexes/github-docs-3.1-en.json.br +++ b/lib/search/indexes/github-docs-3.1-en.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0f49deb9d8504848b0de934fc19e2c412a77fd432e48da85ed0433bb6c9edd24 -size 1792041 +oid sha256:a0ebc42b64e0b902fef18f4dfe41ff014c97a3e3ed149c13c595898f14744de3 +size 1791351 diff --git a/lib/search/indexes/github-docs-3.1-es-records.json.br b/lib/search/indexes/github-docs-3.1-es-records.json.br index 22366b71a4..75d8fe5aad 100644 --- a/lib/search/indexes/github-docs-3.1-es-records.json.br +++ b/lib/search/indexes/github-docs-3.1-es-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:34e81134666b02fc39ce49ce1a1d08552be3892ece7562d00a429f7a0d45389b -size 278420 +oid sha256:452f3170ac44d7a6c596aabc3e7594bd32b4211ab2ed0c36858d83bd7130bc72 +size 278530 diff --git a/lib/search/indexes/github-docs-3.1-es.json.br b/lib/search/indexes/github-docs-3.1-es.json.br index 6c7f284236..b09020ac59 100644 --- a/lib/search/indexes/github-docs-3.1-es.json.br +++ b/lib/search/indexes/github-docs-3.1-es.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:26743f15cde7b5b749b09d331e6e1b009e8e8f0bcbd76dce12d1c1c1c544ee48 -size 1056120 +oid sha256:b18374312124c3a800568094d83060b50df34a5bd5406aaec7602252d3095dbe +size 1055975 diff --git a/lib/search/indexes/github-docs-3.1-ja-records.json.br b/lib/search/indexes/github-docs-3.1-ja-records.json.br index 3e923198b9..4dec07ef61 100644 --- a/lib/search/indexes/github-docs-3.1-ja-records.json.br +++ b/lib/search/indexes/github-docs-3.1-ja-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b32071e8519c45a45c1572cf9fe1c2d33f67d6ffcff7ac3beef1c6da60497102 -size 558541 +oid sha256:3cc0a1a3b6814deeeb792b91cfd961032bacbbe33e5cdd91fa43cd86ab1d8a81 +size 558539 diff --git a/lib/search/indexes/github-docs-3.1-ja.json.br b/lib/search/indexes/github-docs-3.1-ja.json.br index a00924443e..7715bc2bae 100644 --- a/lib/search/indexes/github-docs-3.1-ja.json.br +++ b/lib/search/indexes/github-docs-3.1-ja.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:69c6f06a11d4f92b5de34962ac49398f77363098599039cc6eccd8ab30f09a68 -size 2964211 +oid sha256:77b81c97e56ef1db0e657fa4a9d892a39d0615501a54409510de35fc6dbc5d5c +size 2962110 diff --git a/lib/search/indexes/github-docs-3.1-pt-records.json.br b/lib/search/indexes/github-docs-3.1-pt-records.json.br index b645bb4a17..d380c3e17e 100644 --- a/lib/search/indexes/github-docs-3.1-pt-records.json.br +++ b/lib/search/indexes/github-docs-3.1-pt-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d7a182ec12e74a0570cf6d5a99a6fba66bbe3f4e873967d5295c711466e4cbb3 -size 472257 +oid sha256:d769e51d414832e8eabbebd5f178d1f4f3f78103a2d8cbf8fb061f37412709ef +size 472150 diff --git a/lib/search/indexes/github-docs-3.1-pt.json.br b/lib/search/indexes/github-docs-3.1-pt.json.br index 47612bfbad..f5d1496ff1 100644 --- a/lib/search/indexes/github-docs-3.1-pt.json.br +++ b/lib/search/indexes/github-docs-3.1-pt.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f0c2e33d2fc455be4766155b6ce0a9be8a445b0c170c530ce13419e3c3e6ce2a -size 1971993 +oid sha256:c90f40a22e363e509e2c7c2ff9d78cbd130951c67e16f1c35a0702171cd7e86a +size 1971593 diff --git a/lib/search/indexes/github-docs-3.2-cn-records.json.br b/lib/search/indexes/github-docs-3.2-cn-records.json.br index 81621434a4..ac530057b3 100644 --- a/lib/search/indexes/github-docs-3.2-cn-records.json.br +++ b/lib/search/indexes/github-docs-3.2-cn-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3d8833abfcbb82eab06df1afdc6c5cd2fba13dd0680f69f96f500b8b7011c587 -size 539352 +oid sha256:ab020e0f3be638059b0e80631209900c9f24000da7e88167ac82b84720469bbd +size 539475 diff --git a/lib/search/indexes/github-docs-3.2-cn.json.br b/lib/search/indexes/github-docs-3.2-cn.json.br index 8d13a3a1a6..7b6ca8e93f 100644 --- a/lib/search/indexes/github-docs-3.2-cn.json.br +++ b/lib/search/indexes/github-docs-3.2-cn.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9536c844f66a21c45e9268d517aaa052c3e4f7e7d401118d6edb76ab35397a2a -size 852758 +oid sha256:f1d6867eb6ebde13ea73faba6df1cad8733c5aa83275ab63fac0df1afb592d2e +size 852577 diff --git a/lib/search/indexes/github-docs-3.2-de-records.json.br b/lib/search/indexes/github-docs-3.2-de-records.json.br index 5475307111..b6e07cf7da 100644 --- a/lib/search/indexes/github-docs-3.2-de-records.json.br +++ b/lib/search/indexes/github-docs-3.2-de-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1cc26b8d753a3da16a9dfda3c6ba2596399a3297b8e9e5b0f0ebf81de104b343 -size 501661 +oid sha256:54c0f8fa73655685ab21b2c8b594a10aa88b0b37da13525288f8a76410218b2a +size 501435 diff --git a/lib/search/indexes/github-docs-3.2-de.json.br b/lib/search/indexes/github-docs-3.2-de.json.br index 5c3fe4a28b..6e735728fd 100644 --- a/lib/search/indexes/github-docs-3.2-de.json.br +++ b/lib/search/indexes/github-docs-3.2-de.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:bc2f84fbd0f5964d54a5348cffa786db286a8bae5227383df3a0f9b1f2bb473f -size 2243071 +oid sha256:bc20fa47fa1bb48eeea5e411f58056b788c9c9b6d1c68c2d2edca0f536b6e2ec +size 2243229 diff --git a/lib/search/indexes/github-docs-3.2-en-records.json.br b/lib/search/indexes/github-docs-3.2-en-records.json.br index 35b793233b..36e65c47ef 100644 --- a/lib/search/indexes/github-docs-3.2-en-records.json.br +++ b/lib/search/indexes/github-docs-3.2-en-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1ee6f382f0b8be83cd646c18fb15d70f3b927434c3d7e265f48bf7c5a0009b96 -size 467797 +oid sha256:8f82d2397c8e2a00367ee74cd678db4d6a76b9b891d13d16bf8d5d9f84e1dc1f +size 467761 diff --git a/lib/search/indexes/github-docs-3.2-en.json.br b/lib/search/indexes/github-docs-3.2-en.json.br index 1f09d469af..2fa14bca40 100644 --- a/lib/search/indexes/github-docs-3.2-en.json.br +++ b/lib/search/indexes/github-docs-3.2-en.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8495ed832c476dd505d4599848b1f911d546b45f603284e4e6d4e46f6968b64d -size 1823691 +oid sha256:be980832901c59cff56cb3b516f0f06035fc73a701bef4cc900ae89b08b3ac02 +size 1823490 diff --git a/lib/search/indexes/github-docs-3.2-es-records.json.br b/lib/search/indexes/github-docs-3.2-es-records.json.br index e28d273494..6bf155bf29 100644 --- a/lib/search/indexes/github-docs-3.2-es-records.json.br +++ b/lib/search/indexes/github-docs-3.2-es-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:69b391cfe6d2bad5300baabac3107f5092e201a66e7392f71b8114bd0d696fc8 -size 278472 +oid sha256:3f248d6cd8000e4372eb503a2b983e5ff875fca3fed11245c8bf62c8b98c35ab +size 278315 diff --git a/lib/search/indexes/github-docs-3.2-es.json.br b/lib/search/indexes/github-docs-3.2-es.json.br index b4661fa8b9..170194c336 100644 --- a/lib/search/indexes/github-docs-3.2-es.json.br +++ b/lib/search/indexes/github-docs-3.2-es.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a7b187843e368a6deb80835c18db4c1ae59507443547a9f85ffbf6065f1c7737 -size 1055903 +oid sha256:74f7ccd6c949710b1b081ae2c36274cdb5ef383b38f103b07f2faec8ccc4b108 +size 1056392 diff --git a/lib/search/indexes/github-docs-3.2-ja-records.json.br b/lib/search/indexes/github-docs-3.2-ja-records.json.br index 274072e7b6..98086cbc73 100644 --- a/lib/search/indexes/github-docs-3.2-ja-records.json.br +++ b/lib/search/indexes/github-docs-3.2-ja-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0a774ed7b608c50b662cd4066505a307236cc72a9f8c86bbbb2fabbeb778aca3 -size 565003 +oid sha256:5f845ed5ef068c415ac02612e84b76b6c15a6a2dbef4629ce4d9a84d44d5d575 +size 564630 diff --git a/lib/search/indexes/github-docs-3.2-ja.json.br b/lib/search/indexes/github-docs-3.2-ja.json.br index 044d628adf..eea8c5918a 100644 --- a/lib/search/indexes/github-docs-3.2-ja.json.br +++ b/lib/search/indexes/github-docs-3.2-ja.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:360279073b01bfbdb781635864071307e5edb06787ae356446e9b2a98f10abdb -size 2997216 +oid sha256:a94606f240edf7c377ce6b823a1d8530be87b78afa08773df31973e7dcdf4403 +size 2995616 diff --git a/lib/search/indexes/github-docs-3.2-pt-records.json.br b/lib/search/indexes/github-docs-3.2-pt-records.json.br index 044eb746cc..fa226eeb30 100644 --- a/lib/search/indexes/github-docs-3.2-pt-records.json.br +++ b/lib/search/indexes/github-docs-3.2-pt-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:18b1a896eae359b4fe06517edc8a7a61e3f2609cc1e21a727599a136aef1d6b8 -size 476941 +oid sha256:7bc2a63a2be9525fa58cfb7fe62de09c655159826e6c45896773d215a9f1a805 +size 476770 diff --git a/lib/search/indexes/github-docs-3.2-pt.json.br b/lib/search/indexes/github-docs-3.2-pt.json.br index 1a3aaa00f5..56e8f29199 100644 --- a/lib/search/indexes/github-docs-3.2-pt.json.br +++ b/lib/search/indexes/github-docs-3.2-pt.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a5c74b78fd50ca62caede685a2a7144e4351df0cb53fad67279bc88c02af434b -size 1994401 +oid sha256:e2ab8f63a69838e3522faec8d919c762f10ae5efa79927dfd6e2c0b45400ef3d +size 1994210 diff --git a/lib/search/indexes/github-docs-dotcom-cn-records.json.br b/lib/search/indexes/github-docs-dotcom-cn-records.json.br index 523653e89e..ed1f32a79a 100644 --- a/lib/search/indexes/github-docs-dotcom-cn-records.json.br +++ b/lib/search/indexes/github-docs-dotcom-cn-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3a109640f312bc91bd381358d0c348522c76107cac58292200327283b6e9bda4 -size 695452 +oid sha256:9876fe74212334130dd7704580cdfec9d0f126468d00f108fefe945464ffd8fb +size 695279 diff --git a/lib/search/indexes/github-docs-dotcom-cn.json.br b/lib/search/indexes/github-docs-dotcom-cn.json.br index 98e5829b0b..09203f80ad 100644 --- a/lib/search/indexes/github-docs-dotcom-cn.json.br +++ b/lib/search/indexes/github-docs-dotcom-cn.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dd97d874f3e077305937be2efc7f562e89a71bcb99ad93d8df5c73a5c916297d -size 946740 +oid sha256:4ab4b29625c361f360a6340ea015311874f1b1ba45ff64860600c70222841ecf +size 947140 diff --git a/lib/search/indexes/github-docs-dotcom-de-records.json.br b/lib/search/indexes/github-docs-dotcom-de-records.json.br index cff717443a..e8bc789c4e 100644 --- a/lib/search/indexes/github-docs-dotcom-de-records.json.br +++ b/lib/search/indexes/github-docs-dotcom-de-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:998f5bcf087b73b65a720c8c3b68955e639d26fcbdff5b2adbc267eb2b78ba94 -size 633700 +oid sha256:b8f72c1848647caa13e26754019bb2fc3cecd909bc1f7d9c81b72dda33b89ade +size 633548 diff --git a/lib/search/indexes/github-docs-dotcom-de.json.br b/lib/search/indexes/github-docs-dotcom-de.json.br index c53eb987b4..6060766a55 100644 --- a/lib/search/indexes/github-docs-dotcom-de.json.br +++ b/lib/search/indexes/github-docs-dotcom-de.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:262f485f961c209d569e14dfe553ef451350fab44b743c160ca4843dc96bcfee -size 2818670 +oid sha256:bb773d55d62b1f2a58f8ed3d114d78286e1f1223b29044158786fa64f7b972a7 +size 2819453 diff --git a/lib/search/indexes/github-docs-dotcom-en-records.json.br b/lib/search/indexes/github-docs-dotcom-en-records.json.br index cfc5df79f2..0c8211bf6f 100644 --- a/lib/search/indexes/github-docs-dotcom-en-records.json.br +++ b/lib/search/indexes/github-docs-dotcom-en-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5517964895abb647f2ba577edfb9467904df2433e7251bdaf98a288b9dff6cbf -size 624013 +oid sha256:c5719cfe84167057300748661bd02c8522b2da5840d7a374ed84c99a42188499 +size 625074 diff --git a/lib/search/indexes/github-docs-dotcom-en.json.br b/lib/search/indexes/github-docs-dotcom-en.json.br index c8488d2dcf..83da6a3b02 100644 --- a/lib/search/indexes/github-docs-dotcom-en.json.br +++ b/lib/search/indexes/github-docs-dotcom-en.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:13ed3a7d8bec4f0884f7e916087797aaeeb23b24e234e37bf2e7f03576ad4fe7 -size 2371930 +oid sha256:56ae8fce028940695fe14166eab7ad9fbe9286b19a476aeb77176295ddf15c90 +size 2376137 diff --git a/lib/search/indexes/github-docs-dotcom-es-records.json.br b/lib/search/indexes/github-docs-dotcom-es-records.json.br index 358586f3ea..21fd5ef109 100644 --- a/lib/search/indexes/github-docs-dotcom-es-records.json.br +++ b/lib/search/indexes/github-docs-dotcom-es-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6f9f779433f39e2cfd92c5e3b554fcc73684268ff6c086035112647cd82b11c9 -size 306453 +oid sha256:42bb37c54e714a571cfa2319693a5f5c6fc8d9488bfc85db8a64093a60332d23 +size 306422 diff --git a/lib/search/indexes/github-docs-dotcom-es.json.br b/lib/search/indexes/github-docs-dotcom-es.json.br index e1400155da..a4cc5c9917 100644 --- a/lib/search/indexes/github-docs-dotcom-es.json.br +++ b/lib/search/indexes/github-docs-dotcom-es.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:52f0d3b1d4f725df7c41138be89d0d107e6cbce0c90faaca905856414500ac31 -size 1088608 +oid sha256:09dcf3104819b52f480dc54b84006f42d2805cb9b58093c3e135ce929a1003fc +size 1088043 diff --git a/lib/search/indexes/github-docs-dotcom-ja-records.json.br b/lib/search/indexes/github-docs-dotcom-ja-records.json.br index 778e4c3026..c48dbf20aa 100644 --- a/lib/search/indexes/github-docs-dotcom-ja-records.json.br +++ b/lib/search/indexes/github-docs-dotcom-ja-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:92a5212448799a07e8c8829a25bbed608925d6afec23e7baf69f975ed8850e37 -size 723491 +oid sha256:2927b01dda894de6e13a583df0cb42bd96b46402e6e9b90c867c83e9a079200a +size 723555 diff --git a/lib/search/indexes/github-docs-dotcom-ja.json.br b/lib/search/indexes/github-docs-dotcom-ja.json.br index c78d2e342e..5179552b55 100644 --- a/lib/search/indexes/github-docs-dotcom-ja.json.br +++ b/lib/search/indexes/github-docs-dotcom-ja.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ff30b9d1796e0cb9a44d46a4eced9cc4db1000059728cfa087a3bd0a3ca499b9 -size 3756241 +oid sha256:b684e324836e61dd750aed18cf8abadcf82cb887ed5e90e8c0a7bb964bd1e13e +size 3753933 diff --git a/lib/search/indexes/github-docs-dotcom-pt-records.json.br b/lib/search/indexes/github-docs-dotcom-pt-records.json.br index cd509639b4..ee8c38a738 100644 --- a/lib/search/indexes/github-docs-dotcom-pt-records.json.br +++ b/lib/search/indexes/github-docs-dotcom-pt-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c942a9e66b3f5e6d9e4aadef03673ba2bd5adb02fb56cf4da407918bc842dedf -size 607595 +oid sha256:43ea84979d2be7ba238840df87b55b01d2ce0ffbd39dfb6745c6ba72cdfcc8af +size 607245 diff --git a/lib/search/indexes/github-docs-dotcom-pt.json.br b/lib/search/indexes/github-docs-dotcom-pt.json.br index 10a434b6d2..80b17f6821 100644 --- a/lib/search/indexes/github-docs-dotcom-pt.json.br +++ b/lib/search/indexes/github-docs-dotcom-pt.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:b7363c58b1982d152df6aeed8c79a117e2e1477c808fb1c469441b7fee3f40c4 -size 2487925 +oid sha256:1d16cb370d767fa8069ad017e560385265e500382d8fb311cba732f4c2489aee +size 2488216 diff --git a/lib/search/indexes/github-docs-ghae-cn-records.json.br b/lib/search/indexes/github-docs-ghae-cn-records.json.br index a827ba0315..01767fe2d2 100644 --- a/lib/search/indexes/github-docs-ghae-cn-records.json.br +++ b/lib/search/indexes/github-docs-ghae-cn-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4d9785511921167616d869956ccaf32dd8f616715d5e00f890895a7f4e738842 -size 413928 +oid sha256:c62b946195c04a477ab85d7ff33e03e51d3d7acc95bb55bb7b6b17f423a7301c +size 413702 diff --git a/lib/search/indexes/github-docs-ghae-cn.json.br b/lib/search/indexes/github-docs-ghae-cn.json.br index 0e21ea9ef6..7d09989ac8 100644 --- a/lib/search/indexes/github-docs-ghae-cn.json.br +++ b/lib/search/indexes/github-docs-ghae-cn.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:56ccf8b72d7b10c9db7ee0e26378d73a7be1202ba36497bf99ad9eb97fa1dde6 -size 630105 +oid sha256:68603510a10df379a004c11d877a7dc750a9c5fb8a8b76a4dbfad15a5c25703f +size 629875 diff --git a/lib/search/indexes/github-docs-ghae-de-records.json.br b/lib/search/indexes/github-docs-ghae-de-records.json.br index 066d498d1f..b1272254a6 100644 --- a/lib/search/indexes/github-docs-ghae-de-records.json.br +++ b/lib/search/indexes/github-docs-ghae-de-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:088c7d7ced379fbfcd11a41308562aa1b5b6441265e70219b10bb61abad827ae -size 390508 +oid sha256:35ee7af199fcd541e01a05fbd1ef8028ef36f4a9e6ef45c828be2f409f0ca5ef +size 390500 diff --git a/lib/search/indexes/github-docs-ghae-de.json.br b/lib/search/indexes/github-docs-ghae-de.json.br index 322178e3d8..b3d398799d 100644 --- a/lib/search/indexes/github-docs-ghae-de.json.br +++ b/lib/search/indexes/github-docs-ghae-de.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2e500827443af38cc85811c11cac5a37a9ce73f5ec657cde463743a76f5478c9 -size 1697989 +oid sha256:eba90ac2f56d868881a4d5b79fb6ee2f6bb76e1844edf6bccee6995c06c3b625 +size 1697410 diff --git a/lib/search/indexes/github-docs-ghae-en-records.json.br b/lib/search/indexes/github-docs-ghae-en-records.json.br index 13786c2ed0..8e731a09af 100644 --- a/lib/search/indexes/github-docs-ghae-en-records.json.br +++ b/lib/search/indexes/github-docs-ghae-en-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1182378c158a721b37c735dff6f32abbe679b55fe82fb4c954da5785ce349568 -size 360489 +oid sha256:32d4b947e59963522522e1e74c8281ea4e62ead002db87f098c95941dbac49ca +size 360659 diff --git a/lib/search/indexes/github-docs-ghae-en.json.br b/lib/search/indexes/github-docs-ghae-en.json.br index fe83db60a6..c70ddc33e1 100644 --- a/lib/search/indexes/github-docs-ghae-en.json.br +++ b/lib/search/indexes/github-docs-ghae-en.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6ba62047696f2e39eb05a742f4c2a5c0d1fd79f10d7a522b78a449c05abfeab8 -size 1343317 +oid sha256:4fd69f8f42e721bd459b2cbe1da41a4c4c8c3045df3abea9901709e901063c63 +size 1343499 diff --git a/lib/search/indexes/github-docs-ghae-es-records.json.br b/lib/search/indexes/github-docs-ghae-es-records.json.br index 40efed0ab3..3d5408e4d0 100644 --- a/lib/search/indexes/github-docs-ghae-es-records.json.br +++ b/lib/search/indexes/github-docs-ghae-es-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c86bcde392e96ef98e37a30c376b40076b9be71c7ae645c958db121cc7826d40 -size 200732 +oid sha256:4a91f31749fdd63958fc022f6d35bc839fdbab267d7439ea52d4fc1d473a695d +size 200761 diff --git a/lib/search/indexes/github-docs-ghae-es.json.br b/lib/search/indexes/github-docs-ghae-es.json.br index e10453e692..48b1cef391 100644 --- a/lib/search/indexes/github-docs-ghae-es.json.br +++ b/lib/search/indexes/github-docs-ghae-es.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e354b76178aa33017998fcc1121bae3c204434c9ec837d0528f60298b2ec5316 -size 717803 +oid sha256:d7f7859f47937510c789f8eee9f13a6d407bdc4417192152c812c868e5827aa8 +size 717684 diff --git a/lib/search/indexes/github-docs-ghae-ja-records.json.br b/lib/search/indexes/github-docs-ghae-ja-records.json.br index 2828687e62..6f647ccbb0 100644 --- a/lib/search/indexes/github-docs-ghae-ja-records.json.br +++ b/lib/search/indexes/github-docs-ghae-ja-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:83df61dec23c4e1da99beba39f6426cb488c754bcaa38fb45b4d77290b035d17 -size 435080 +oid sha256:e7c8e331a9431630275163b7bbcf794d2cbc50a8d2d634abf9c488bccf04acdc +size 435231 diff --git a/lib/search/indexes/github-docs-ghae-ja.json.br b/lib/search/indexes/github-docs-ghae-ja.json.br index 350a146066..d401d50869 100644 --- a/lib/search/indexes/github-docs-ghae-ja.json.br +++ b/lib/search/indexes/github-docs-ghae-ja.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1a6f877da79842b7cd30b133fa0001ad5b8d46de801ac2c86425d49c6c74d148 -size 2216652 +oid sha256:f9bb5dff783def4fad0aec46526c8e9406ead62f419bfc56d384b343044474b7 +size 2216828 diff --git a/lib/search/indexes/github-docs-ghae-pt-records.json.br b/lib/search/indexes/github-docs-ghae-pt-records.json.br index 1177b0ea32..b5a3d0e8b7 100644 --- a/lib/search/indexes/github-docs-ghae-pt-records.json.br +++ b/lib/search/indexes/github-docs-ghae-pt-records.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6dbcb08f24184bcec1cf2d958e5eee1c6d422fd87a3e0fde2d59a9ab727d90cd -size 371535 +oid sha256:1e323de380b91aeef3fcd1d6790be89e4d59f82bc40c5de95a23969f122275fc +size 371355 diff --git a/lib/search/indexes/github-docs-ghae-pt.json.br b/lib/search/indexes/github-docs-ghae-pt.json.br index a58427ad51..6603e1c94b 100644 --- a/lib/search/indexes/github-docs-ghae-pt.json.br +++ b/lib/search/indexes/github-docs-ghae-pt.json.br @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c9ce4ae6bfcffd47ee842b4e9bcbf418066d0b0f40b3c02c8f60941d193681c6 -size 1496374 +oid sha256:f4bdb782eb497e6cf1929cd777cd666738cc3c41a02872304cd3de81a4fc3bdb +size 1496157 diff --git a/lib/webhooks/static/dotcom/workflow_job.payload.json b/lib/webhooks/static/dotcom/workflow_job.payload.json new file mode 100644 index 0000000000..a6f3c0b9d8 --- /dev/null +++ b/lib/webhooks/static/dotcom/workflow_job.payload.json @@ -0,0 +1,150 @@ +{ + "action": "queued", + "workflow_job": { + "id": 2832853555, + "run_id": 940463255, + "run_url": "https://api.github.com/repos/octo-org/example-workflow/actions/runs/940463255", + "node_id": "MDg6Q2hlY2tSdW4yODMyODUzNT55", + "head_sha": "e3103f8eb03e1ad7f2331c5446b23c070fc54055", + "url": "https://api.github.com/repos/octo-org/example-workflow/actions/jobs/2832853555", + "html_url": "https://github.com/octo-org/example-workflow/runs/2832853555", + "status": "queued", + "conclusion": null, + "started_at": "2021-06-15T19:22:27Z", + "completed_at": null, + "name": "Test workflow", + "steps": [ + + ], + "check_run_url": "https://api.github.com/repos/octo-org/example-workflow/check-runs/2832853555", + "labels": ["gpu", "db-app", "dc-03"] + }, + "repository": { + "id": 376034443, + "node_id": "MDEwOlJlcG9zaXRvcnkzNzYwMzQ0ND55", + "name": "example-workflow", + "full_name": "octo-org/example-workflow", + "private": true, + "owner": { + "login": "octo-org", + "id": 33435655, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzNDM1Nj55", + "avatar_url": "https://avatars.githubusercontent.com/u/21031067?s=460&u=d851e01410b4f1674f000ba7e0dc94e0b82cd9cc&v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/octo-org", + "html_url": "https://github.com/octo-org", + "followers_url": "https://api.github.com/users/octo-org/followers", + "following_url": "https://api.github.com/users/octo-org/following{/other_user}", + "gists_url": "https://api.github.com/users/octo-org/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octo-org/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octo-org/subscriptions", + "organizations_url": "https://api.github.com/users/octo-org/orgs", + "repos_url": "https://api.github.com/users/octo-org/repos", + "events_url": "https://api.github.com/users/octo-org/events{/privacy}", + "received_events_url": "https://api.github.com/users/octo-org/received_events", + "type": "Organization", + "site_admin": false + }, + "html_url": "https://github.com/octo-org/example-workflow", + "description": "Test workflow", + "fork": false, + "url": "https://api.github.com/repos/octo-org/example-workflow", + "forks_url": "https://api.github.com/repos/octo-org/example-workflow/forks", + "keys_url": "https://api.github.com/repos/octo-org/example-workflow/keys{/key_id}", + "collaborators_url": "https://api.github.com/repos/octo-org/example-workflow/collaborators{/collaborator}", + "teams_url": "https://api.github.com/repos/octo-org/example-workflow/teams", + "hooks_url": "https://api.github.com/repos/octo-org/example-workflow/hooks", + "issue_events_url": "https://api.github.com/repos/octo-org/example-workflow/issues/events{/number}", + "events_url": "https://api.github.com/repos/octo-org/example-workflow/events", + "assignees_url": "https://api.github.com/repos/octo-org/example-workflow/assignees{/user}", + "branches_url": "https://api.github.com/repos/octo-org/example-workflow/branches{/branch}", + "tags_url": "https://api.github.com/repos/octo-org/example-workflow/tags", + "blobs_url": "https://api.github.com/repos/octo-org/example-workflow/git/blobs{/sha}", + "git_tags_url": "https://api.github.com/repos/octo-org/example-workflow/git/tags{/sha}", + "git_refs_url": "https://api.github.com/repos/octo-org/example-workflow/git/refs{/sha}", + "trees_url": "https://api.github.com/repos/octo-org/example-workflow/git/trees{/sha}", + "statuses_url": "https://api.github.com/repos/octo-org/example-workflow/statuses/{sha}", + "languages_url": "https://api.github.com/repos/octo-org/example-workflow/languages", + "stargazers_url": "https://api.github.com/repos/octo-org/example-workflow/stargazers", + "contributors_url": "https://api.github.com/repos/octo-org/example-workflow/contributors", + "subscribers_url": "https://api.github.com/repos/octo-org/example-workflow/subscribers", + "subscription_url": "https://api.github.com/repos/octo-org/example-workflow/subscription", + "commits_url": "https://api.github.com/repos/octo-org/example-workflow/commits{/sha}", + "git_commits_url": "https://api.github.com/repos/octo-org/example-workflow/git/commits{/sha}", + "comments_url": "https://api.github.com/repos/octo-org/example-workflow/comments{/number}", + "issue_comment_url": "https://api.github.com/repos/octo-org/example-workflow/issues/comments{/number}", + "contents_url": "https://api.github.com/repos/octo-org/example-workflow/contents/{+path}", + "compare_url": "https://api.github.com/repos/octo-org/example-workflow/compare/{base}...{head}", + "merges_url": "https://api.github.com/repos/octo-org/example-workflow/merges", + "archive_url": "https://api.github.com/repos/octo-org/example-workflow/{archive_format}{/ref}", + "downloads_url": "https://api.github.com/repos/octo-org/example-workflow/downloads", + "issues_url": "https://api.github.com/repos/octo-org/example-workflow/issues{/number}", + "pulls_url": "https://api.github.com/repos/octo-org/example-workflow/pulls{/number}", + "milestones_url": "https://api.github.com/repos/octo-org/example-workflow/milestones{/number}", + "notifications_url": "https://api.github.com/repos/octo-org/example-workflow/notifications{?since,all,participating}", + "labels_url": "https://api.github.com/repos/octo-org/example-workflow/labels{/name}", + "releases_url": "https://api.github.com/repos/octo-org/example-workflow/releases{/id}", + "deployments_url": "https://api.github.com/repos/octo-org/example-workflow/deployments", + "created_at": "2021-06-11T13:29:13Z", + "updated_at": "2021-06-11T13:33:01Z", + "pushed_at": "2021-06-11T13:32:58Z", + "git_url": "git://github.com/octo-org/example-workflow.git", + "ssh_url": "git@github.com:octo-org/example-workflow.git", + "clone_url": "https://github.com/octo-org/example-workflow.git", + "svn_url": "https://github.com/octo-org/example-workflow", + "homepage": null, + "size": 1, + "stargazers_count": 0, + "watchers_count": 0, + "language": null, + "has_issues": true, + "has_projects": true, + "has_downloads": true, + "has_wiki": true, + "has_pages": false, + "forks_count": 0, + "mirror_url": null, + "archived": false, + "disabled": false, + "open_issues_count": 0, + "license": null, + "forks": 0, + "open_issues": 0, + "watchers": 0, + "default_branch": "main" + }, + "organization": { + "login": "octo-org", + "id": 33435655, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMzNDM1Nj55", + "url": "https://api.github.com/orgs/octo-org", + "repos_url": "https://api.github.com/orgs/octo-org/repos", + "events_url": "https://api.github.com/orgs/octo-org/events", + "hooks_url": "https://api.github.com/orgs/octo-org/hooks", + "issues_url": "https://api.github.com/orgs/octo-org/issues", + "members_url": "https://api.github.com/orgs/octo-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/octo-org/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/21031067?s=460&u=d851e01410b4f1674f000ba7e0dc94e0b82cd9cc&v=4", + "description": "octo-org" + }, + "sender": { + "login": "octocat", + "id": 319655, + "node_id": "MDQ6VXNlcjMxOTY1NQ55", + "avatar_url": "https://avatars.githubusercontent.com/u/21031067?s=460&u=d851e01410b4f1674f000ba7e0dc94e0b82cd9cc&v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/octocat", + "html_url": "https://github.com/octocat", + "followers_url": "https://api.github.com/users/octocat/followers", + "following_url": "https://api.github.com/users/octocat/following{/other_user}", + "gists_url": "https://api.github.com/users/octocat/gists{/gist_id}", + "starred_url": "https://api.github.com/users/octocat/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/octocat/subscriptions", + "organizations_url": "https://api.github.com/users/octocat/orgs", + "repos_url": "https://api.github.com/users/octocat/repos", + "events_url": "https://api.github.com/users/octocat/events{/privacy}", + "received_events_url": "https://api.github.com/users/octocat/received_events", + "type": "User", + "site_admin": true + } +} diff --git a/pages/index.tsx b/pages/index.tsx index 446188a132..dec9c3fe9d 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -61,7 +61,7 @@ function LandingPage(props: LandingPageProps) {
-

{t('search:need_help')}

+

{t('search:need_help')}

{SearchInput}
@@ -115,15 +115,11 @@ function LandingPage(props: LandingPageProps) {
- +
- +
diff --git a/pages/storybook.tsx b/pages/storybook.tsx index e3cb665f6f..171feb8a50 100644 --- a/pages/storybook.tsx +++ b/pages/storybook.tsx @@ -1,4 +1,4 @@ -import React from 'react' +import React, { ReactNode } from 'react' import ReactDomServer from 'react-dom/server' import { BumpLink, BumpLinkPropsT } from 'components/ui/BumpLink/BumpLink' import { Callout, CalloutPropsT } from 'components/ui/Callout/Callout' @@ -7,6 +7,13 @@ import { MarkdownContent, MarkdownContentPropsT, } from 'components/ui/MarkdownContent/MarkdownContent' +import { ScrollButton, ScrollButtonPropsT } from 'components/ui/ScrollButton/ScrollButton' +import { TruncateLines, TruncateLinesPropsT } from 'components/ui/TruncateLines/TruncateLines' + +type GenericProps = { + children?: string | ReactNode + className?: string +} const markdownExample = ( <> @@ -82,7 +89,19 @@ const markdownExample = ( // Trying to keep these alphabetical order const stories = [ { - name: 'BumpLink', // {component.name} gets optimized away + name: 'BtnPrimaryMatte', // {component.name} gets optimized away + component: ({ children, className }: GenericProps) => { + return + }, + variants: [ + { + children: 'Primary button in blue', + className: 'btn btn-primary-matte btn-large f4', + }, + ], + }, + { + name: 'BumpLink', component: BumpLink, variants: [ { title: 'Think basic', href: 'http://example.com' } as BumpLinkPropsT, @@ -129,6 +148,24 @@ const stories = [ component: MarkdownContent, variants: [{ children: markdownExample } as MarkdownContentPropsT], }, + { + name: 'ScrollButton', + component: ScrollButton, + variants: [{ className: '', ariaLabel: 'Scroll to top' } as ScrollButtonPropsT], + }, + { + name: 'TruncateLines', + component: TruncateLines, + variants: [ + { + as: 'p', + maxLines: 2, + children: + 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.', + className: 'color-bg-secondary', + } as TruncateLinesPropsT, + ], + }, ] function displayProps(props: Object) { @@ -156,7 +193,7 @@ export default function Storybook() {
{stories.map(({ name, component, variants }) => ( -
+

{name}

{variants.map((props) => (
diff --git a/stylesheets/shadows.scss b/stylesheets/shadows.scss index 63af06627e..e338b32de9 100644 --- a/stylesheets/shadows.scss +++ b/stylesheets/shadows.scss @@ -1,33 +1,7 @@ -.hover-shadow { - /* & { - transition: box-shadow 0.3s ease-in-out; +.hover-shadow-large { + transition: box-shadow 0.3s ease-in-out; - &:hover { - box-shadow: var(--color-shadow-small) !important; - } + &:hover { + box-shadow: var(--color-shadow-large) !important; } - - &-medium { - transition: box-shadow 0.3s ease-in-out; - - &:hover { - box-shadow: var(--color-shadow-medium) !important; - } - } */ - - &-large { - transition: box-shadow 0.3s ease-in-out; - - &:hover { - box-shadow: var(--color-shadow-large) !important; - } - } - - /* &-extra-large { - transition: box-shadow 0.3s ease-in-out; - - &:hover { - box-shadow: var(--color-shadow-extra-large) !important; - } - } */ } diff --git a/stylesheets/utilities.scss b/stylesheets/utilities.scss index 90dea4546a..82419086f2 100644 --- a/stylesheets/utilities.scss +++ b/stylesheets/utilities.scss @@ -45,24 +45,6 @@ opacity: 1; } -/* Text utilities -------------------------------------------------------------------------------*/ -.underline-dashed { - padding-bottom: $spacer-1; - background-image: linear-gradient( - to right, - var(--color-auto-gray-3) 50%, - transparent 0% - ); - background-repeat: repeat-x; - background-position: bottom; - background-size: 10px 1px; -} - -.font-weight-semibold { - font-weight: $font-weight-semibold; -} - /* List utilities ------------------------------------------------------------------------------*/ .list-style-inside { @@ -87,20 +69,6 @@ z-index: 2; } -/* Gradient utilities -------------------------------------------------------------------------------*/ -.fade-tertiary-left { - background: linear-gradient(to right, var(--color-bg-primary), transparent); -} - -.fade-tertiary-right { - background: linear-gradient(to left, var(--color-bg-primary), transparent); -} - -.fade-tertiary-bottom { - background: linear-gradient(to top, var(--color-bg-primary), transparent); -} - /* Blue primary button ------------------------------------------------------------------------------*/ .btn-primary-matte {