From 8d9d765a932f2e0bb3ea73fec3920dc152ee1c0f Mon Sep 17 00:00:00 2001 From: Joshua Walker <3141202+joshuawalker@users.noreply.github.com> Date: Fri, 15 Dec 2023 21:48:37 +1300 Subject: [PATCH 1/2] Add service account info to mandatory 2FA doc (#47811) Co-authored-by: Sophie <29382425+sophietheking@users.noreply.github.com> --- .../about-mandatory-two-factor-authentication.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/content/authentication/securing-your-account-with-two-factor-authentication-2fa/about-mandatory-two-factor-authentication.md b/content/authentication/securing-your-account-with-two-factor-authentication-2fa/about-mandatory-two-factor-authentication.md index d0fb2144060d..fed161dcf4cb 100644 --- a/content/authentication/securing-your-account-with-two-factor-authentication-2fa/about-mandatory-two-factor-authentication.md +++ b/content/authentication/securing-your-account-with-two-factor-authentication-2fa/about-mandatory-two-factor-authentication.md @@ -87,6 +87,10 @@ If you have been selected for mandatory 2FA, you must enroll in 2FA on {% data v When you log in to {% data variables.product.prodname_dotcom_the_website %}, email verification does not count as 2FA. Your account's email address is used for password resets, which are a form of account recovery. If an attacker has access to your email inbox, they can reset the password for your account and pass the email device verification check, reducing your account's protection to a single factor. We require a second factor to prevent this scenario, so that second factor must be distinct from your email inbox. When you enable 2FA, we will no longer perform email verification on login. +### About service accounts and mandatory 2FA + +Unattended or shared access accounts in your organization, such as bots and service accounts, that are selected for mandatory two-factor authentication, must enroll in 2FA. Enabling 2FA will not revoke or change the behavior of tokens issued for the service account. {% data variables.product.prodname_dotcom %} recommends securely storing the TOTP secret of the service account in shared credential storage. For more information, see "[AUTOTITLE](/organizations/keeping-your-organization-secure/managing-two-factor-authentication-for-your-organization/managing-bots-and-service-accounts-with-two-factor-authentication)." + ## About your privacy with mandatory 2FA If you have been selected for mandatory 2FA, that **does not** mean you have to provide {% data variables.product.prodname_dotcom %} with your phone number. You only have to provide your phone number if you use SMS for 2FA. Instead, we recommend configuring a TOTP app as your primary 2FA method. For more information, see "[AUTOTITLE](/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication#configuring-two-factor-authentication-using-a-totp-app)." From 1459ee6c328d67a4593afce040c0b47a1c390eb6 Mon Sep 17 00:00:00 2001 From: Anne-Marie <102995847+am-stead@users.noreply.github.com> Date: Fri, 15 Dec 2023 09:53:20 +0100 Subject: [PATCH 2/2] [Improvement]: Get started (phase 1): Move "Fork a repo" and "Contributing to projects" #12501 (#47687) --- .../getting-started/dependabot-quickstart-guide.md | 2 +- .../working-on-github-docs-in-a-codespace.md | 2 +- ...ing-and-forking-repositories-from-github-desktop.md | 2 +- .../contributing-to-a-project.md} | 9 ++++++--- .../get-started/exploring-projects-on-github/index.md | 3 ++- content/get-started/quickstart/index.md | 3 +-- content/get-started/quickstart/set-up-git.md | 2 +- content/get-started/using-git/about-git.md | 2 +- content/github-cli/index.md | 6 +++--- .../working-with-forks/about-forks.md | 2 +- .../working-with-forks}/fork-a-repo.md | 10 +++++----- .../working-with-forks/index.md | 2 +- .../working-with-files/managing-files/editing-files.md | 2 +- .../github-account-recovery-policy.md | 4 ++-- .../getting-started/contributing-to-projects.md | 2 +- data/reusables/getting-started/fork-a-repository.md | 2 +- src/redirects/tests/redirects.js | 4 ++-- 17 files changed, 31 insertions(+), 28 deletions(-) rename content/get-started/{quickstart/contributing-to-projects.md => exploring-projects-on-github/contributing-to-a-project.md} (93%) rename content/{get-started/quickstart => pull-requests/collaborating-with-pull-requests/working-with-forks}/fork-a-repo.md (97%) diff --git a/content/code-security/getting-started/dependabot-quickstart-guide.md b/content/code-security/getting-started/dependabot-quickstart-guide.md index 561f7dece91c..350bd4e0a7f9 100644 --- a/content/code-security/getting-started/dependabot-quickstart-guide.md +++ b/content/code-security/getting-started/dependabot-quickstart-guide.md @@ -38,7 +38,7 @@ You need to start by forking the demo repository. 1. Navigate to [https://github.com/dependabot/demo](https://github.com/dependabot/demo). 1. At the top of the page, on the right, click **{% octicon "repo-forked" aria-hidden="true" %} Fork**. -1. Select an owner (you can select your {% data variables.product.prodname_dotcom %} personal account) and type a repository name. For more information about forking repositories, see "[AUTOTITLE](/get-started/quickstart/fork-a-repo#forking-a-repository)." +1. Select an owner (you can select your {% data variables.product.prodname_dotcom %} personal account) and type a repository name. For more information about forking repositories, see "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo#forking-a-repository)." 1. Click **Create fork**. ## Enabling {% data variables.product.prodname_dependabot %} for your repository diff --git a/content/contributing/setting-up-your-environment-to-work-on-github-docs/working-on-github-docs-in-a-codespace.md b/content/contributing/setting-up-your-environment-to-work-on-github-docs/working-on-github-docs-in-a-codespace.md index ff9b7e66c202..4e9d96757af0 100644 --- a/content/contributing/setting-up-your-environment-to-work-on-github-docs/working-on-github-docs-in-a-codespace.md +++ b/content/contributing/setting-up-your-environment-to-work-on-github-docs/working-on-github-docs-in-a-codespace.md @@ -18,7 +18,7 @@ For more information, see "[AUTOTITLE](/free-pro-team@latest/codespaces/overview The following steps assume you have {% data variables.product.prodname_github_codespaces %} set up to edit files using {% data variables.product.prodname_vscode %} for Web. The steps are very similar if you have set a different editor. For more information, see "[AUTOTITLE](/free-pro-team@latest/codespaces/customizing-your-codespace/setting-your-default-editor-for-codespaces)." 1. Navigate to the open source repository for {% data variables.product.prodname_docs %}, [`github/docs`](https://github.com/github/docs). -1. If you're an open source contributor, create a fork of the repository, then follow the rest of the steps in this procedure from your fork. For more information, see "[AUTOTITLE](/get-started/quickstart/fork-a-repo)." +1. If you're an open source contributor, create a fork of the repository, then follow the rest of the steps in this procedure from your fork. For more information, see "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo)." 1. Create a branch to work on. For more information, see "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-and-deleting-branches-within-your-repository)." 1. On the main page of the repository, click **{% octicon "code" aria-hidden="true" %} Code**, then click **Create codespace on BRANCH-NAME**. diff --git a/content/desktop/adding-and-cloning-repositories/cloning-and-forking-repositories-from-github-desktop.md b/content/desktop/adding-and-cloning-repositories/cloning-and-forking-repositories-from-github-desktop.md index a0b453a81e45..3f901b6bc26b 100644 --- a/content/desktop/adding-and-cloning-repositories/cloning-and-forking-repositories-from-github-desktop.md +++ b/content/desktop/adding-and-cloning-repositories/cloning-and-forking-repositories-from-github-desktop.md @@ -32,7 +32,7 @@ You can also clone a repository directly from {% data variables.product.prodname ## Forking a repository -You can fork a repository on {% data variables.product.prodname_dotcom_the_website %} or in {% data variables.product.prodname_desktop %}. For information about forking on {% data variables.product.prodname_dotcom_the_website %}, see "[AUTOTITLE](/get-started/quickstart/fork-a-repo?tool=webui)." +You can fork a repository on {% data variables.product.prodname_dotcom_the_website %} or in {% data variables.product.prodname_desktop %}. For information about forking on {% data variables.product.prodname_dotcom_the_website %}, see "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo?tool=webui)." {% data reusables.desktop.forking-a-repo %} diff --git a/content/get-started/quickstart/contributing-to-projects.md b/content/get-started/exploring-projects-on-github/contributing-to-a-project.md similarity index 93% rename from content/get-started/quickstart/contributing-to-projects.md rename to content/get-started/exploring-projects-on-github/contributing-to-a-project.md index 9793d331d527..995f0dfa7ec5 100644 --- a/content/get-started/quickstart/contributing-to-projects.md +++ b/content/get-started/exploring-projects-on-github/contributing-to-a-project.md @@ -1,5 +1,6 @@ --- -title: Contributing to projects +title: Contributing to a project +shortTitle: Contribute to a project intro: Learn how to contribute to a project through forking. permissions: '{% data reusables.enterprise-accounts.emu-permission-fork %}' versions: @@ -12,6 +13,8 @@ topics: - Forks - GitHub - Open Source +redirect_from: + - /get-started/quickstart/contributing-to-projects --- ## About forking @@ -20,7 +23,7 @@ If you want to contribute to someone else's project but don't have write access {% data reusables.repositories.fork-definition-long %} -You can contribute by submitting pull requests from your fork to the upstream repository. For more information, see "[AUTOTITLE](/get-started/quickstart/fork-a-repo)." +You can contribute by submitting pull requests from your fork to the upstream repository. For more information, see "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo)." ## Forking a repository @@ -195,7 +198,7 @@ To do so, head on over to the repository on {% data variables.product.product_na ## Managing feedback -Pull Requests are an area for discussion. In this case, the Octocat is very busy, and probably won't merge your changes. For other projects, don't be offended if the project owner rejects your pull request, or asks for more information on why it's been made. It may even be that the project owner chooses not to merge your pull request, and that's totally okay. Your changes exist in your fork. And who knows--maybe someone you've never met will find your changes much more valuable than the original project. +Pull requests are an area for discussion. Don't be offended if the project owner rejects your pull request, or asks for more information on why it's been made. Even if the project owner chooses not to merge your pull request, your changes still exist in your fork. It could be that someone else will find your fork much more valuable than the original project. ## Finding projects diff --git a/content/get-started/exploring-projects-on-github/index.md b/content/get-started/exploring-projects-on-github/index.md index 5dee7bb0f7ef..e3dd5cc6b40b 100644 --- a/content/get-started/exploring-projects-on-github/index.md +++ b/content/get-started/exploring-projects-on-github/index.md @@ -16,9 +16,10 @@ topics: - Projects children: - /finding-ways-to-contribute-to-open-source-on-github + - /contributing-to-a-project - /saving-repositories-with-stars - /following-people - /following-organizations + shortTitle: Explore projects --- - diff --git a/content/get-started/quickstart/index.md b/content/get-started/quickstart/index.md index f715bbd20b7f..98292a6b2e73 100644 --- a/content/get-started/quickstart/index.md +++ b/content/get-started/quickstart/index.md @@ -15,9 +15,7 @@ children: - /creating-an-account-on-github - /hello-world - /set-up-git - - /fork-a-repo - /github-flow - - /contributing-to-projects - /be-social - /communicating-on-github - /github-glossary @@ -26,3 +24,4 @@ children: redirect_from: - /github/getting-started-with-github/quickstart --- + diff --git a/content/get-started/quickstart/set-up-git.md b/content/get-started/quickstart/set-up-git.md index 1b3e69421807..6c11fc0302f0 100644 --- a/content/get-started/quickstart/set-up-git.md +++ b/content/get-started/quickstart/set-up-git.md @@ -33,7 +33,7 @@ If you want to work with Git locally, but do not want to use the command line, y If you do not need to work with files locally, {% data variables.product.product_name %} lets you complete many Git-related actions directly in the browser, including: - [AUTOTITLE](/repositories/creating-and-managing-repositories/quickstart-for-repositories) -- [Forking a repository](/get-started/quickstart/fork-a-repo) +- [AUTOTITLE](/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo) - [Managing files](/repositories/working-with-files/managing-files) - [Being social](/get-started/quickstart/be-social) diff --git a/content/get-started/using-git/about-git.md b/content/get-started/using-git/about-git.md index c9a6e26f2353..087acbae53d2 100644 --- a/content/get-started/using-git/about-git.md +++ b/content/get-started/using-git/about-git.md @@ -163,4 +163,4 @@ There are two primary ways people collaborate on {% data variables.product.produ With a shared repository, individuals and teams are explicitly designated as contributors with read, write, or administrator access. This simple permission structure, combined with features like protected branches, helps teams progress quickly when they adopt {% data variables.product.product_name %}. -For an open source project, or for projects to which anyone can contribute, managing individual permissions can be challenging, but a fork and pull model allows anyone who can view the project to contribute. A fork is a copy of a project under a developer's personal account. Every developer has full control of their fork and is free to implement a fix or a new feature. Work completed in forks is either kept separate, or is surfaced back to the original project via a pull request. There, maintainers can review the suggested changes before they're merged. For more information, see "[AUTOTITLE](/get-started/quickstart/contributing-to-projects)." +For an open source project, or for projects to which anyone can contribute, managing individual permissions can be challenging, but a fork and pull model allows anyone who can view the project to contribute. A fork is a copy of a project under a developer's personal account. Every developer has full control of their fork and is free to implement a fix or a new feature. Work completed in forks is either kept separate, or is surfaced back to the original project via a pull request. There, maintainers can review the suggested changes before they're merged. For more information, see "[AUTOTITLE](/get-started/exploring-projects-on-github/contributing-to-a-project)." diff --git a/content/github-cli/index.md b/content/github-cli/index.md index c3916551f379..ad72d69575df 100644 --- a/content/github-cli/index.md +++ b/content/github-cli/index.md @@ -1,6 +1,6 @@ --- -title: "{% data variables.product.prodname_cli %} documentation" -shortTitle: "{% data variables.product.prodname_cli %}" +title: '{% data variables.product.prodname_cli %} documentation' +shortTitle: '{% data variables.product.prodname_cli %}' intro: '{% data reusables.cli.about-cli %}' versions: fpt: '*' @@ -26,7 +26,7 @@ featuredLinks: - /repositories/creating-and-managing-repositories/quickstart-for-repositories - /pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally - /pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/merging-a-pull-request - - /get-started/quickstart/fork-a-repo + - /pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo - /repositories/creating-and-managing-repositories/cloning-a-repository popularHeading: Popular CLI tasks changelog: diff --git a/content/pull-requests/collaborating-with-pull-requests/working-with-forks/about-forks.md b/content/pull-requests/collaborating-with-pull-requests/working-with-forks/about-forks.md index c336b8ad49d7..2db2ba2ec4da 100644 --- a/content/pull-requests/collaborating-with-pull-requests/working-with-forks/about-forks.md +++ b/content/pull-requests/collaborating-with-pull-requests/working-with-forks/about-forks.md @@ -33,7 +33,7 @@ Deleting a fork will not delete the original upstream repository. You can make a {% data reusables.repositories.you-can-fork %} -For instructions for forking a repository, see "[AUTOTITLE](/get-started/quickstart/fork-a-repo#forking-a-repository)." For more information about when you can create forks, and the permission and visibility settings of forks, see "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/working-with-forks/about-permissions-and-visibility-of-forks)." +For instructions for forking a repository, see "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo)." For more information about when you can create forks, and the permission and visibility settings of forks, see "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/working-with-forks/about-permissions-and-visibility-of-forks)." {% tip %} diff --git a/content/get-started/quickstart/fork-a-repo.md b/content/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo.md similarity index 97% rename from content/get-started/quickstart/fork-a-repo.md rename to content/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo.md index 88c05228655e..cdc1fc444775 100644 --- a/content/get-started/quickstart/fork-a-repo.md +++ b/content/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo.md @@ -1,11 +1,13 @@ --- -title: Fork a repo +title: Fork a repository +allowTitleToDifferFromFilename: true redirect_from: - /fork-a-repo - /forking - /articles/fork-a-repo - /github/getting-started-with-github/fork-a-repo - /github/getting-started-with-github/quickstart/fork-a-repo + - /get-started/quickstart/fork-a-repo intro: A fork is a new repository that shares code and visibility settings with the original “upstream” repository. permissions: '{% data reusables.enterprise-accounts.emu-permission-fork %}' versions: @@ -96,7 +98,7 @@ gh repo fork REPOSITORY --org "octo-org" {% desktop %} -You can fork a repository on {% data variables.product.prodname_dotcom_the_website %} or in {% data variables.product.prodname_desktop %}. For information about forking on {% data variables.product.prodname_dotcom_the_website %}, see [the web browser version of this article](/get-started/quickstart/fork-a-repo?tool=webui). +You can fork a repository on {% data variables.product.prodname_dotcom_the_website %} or in {% data variables.product.prodname_desktop %}. For information about forking on {% data variables.product.prodname_dotcom_the_website %}, see [the web browser version of this article](/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo?tool=webui). {% data reusables.desktop.forking-a-repo %} @@ -228,12 +230,10 @@ Fork a repository to start contributing to a project. {% data reusables.reposito {% endif %} -## Next Steps +## Next steps You have now forked a repository, practiced cloning your fork, and configured an upstream repository. -- For more information about cloning the fork and syncing the changes in a forked repository from your computer, see "[AUTOTITLE](/get-started/quickstart/set-up-git)." - - You can also create a new repository where you can put all your projects and share the code on {% data variables.product.prodname_dotcom %}. {% data reusables.getting-started.create-a-repository %}" - {% data reusables.getting-started.being-social %} diff --git a/content/pull-requests/collaborating-with-pull-requests/working-with-forks/index.md b/content/pull-requests/collaborating-with-pull-requests/working-with-forks/index.md index 74b937715117..4d4bc59fa692 100644 --- a/content/pull-requests/collaborating-with-pull-requests/working-with-forks/index.md +++ b/content/pull-requests/collaborating-with-pull-requests/working-with-forks/index.md @@ -14,10 +14,10 @@ topics: - Pull requests children: - /about-forks + - /fork-a-repo - /about-permissions-and-visibility-of-forks - /configuring-a-remote-repository-for-a-fork - /syncing-a-fork - /allowing-changes-to-a-pull-request-branch-created-from-a-fork - /what-happens-to-forks-when-a-repository-is-deleted-or-changes-visibility --- - diff --git a/content/repositories/working-with-files/managing-files/editing-files.md b/content/repositories/working-with-files/managing-files/editing-files.md index 1ca5d89b6bed..14ae78fbd1a2 100644 --- a/content/repositories/working-with-files/managing-files/editing-files.md +++ b/content/repositories/working-with-files/managing-files/editing-files.md @@ -44,7 +44,7 @@ shortTitle: Edit files ## Editing files in another user's repository -When you edit a file in another user's repository, we'll automatically [fork the repository](/get-started/quickstart/fork-a-repo) and [open a pull request](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request) for you. +When you edit a file in another user's repository, we'll automatically [fork the repository](/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo) and [open a pull request](/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request) for you. 1. In another user's repository, browse to the folder that contains the file you want to edit. Click the name of the file you want to edit. 1. Above the file content, click {% octicon "pencil" aria-label="Edit file" %}. At this point, {% data variables.product.prodname_dotcom %} forks the repository for you. diff --git a/content/site-policy/other-site-policies/github-account-recovery-policy.md b/content/site-policy/other-site-policies/github-account-recovery-policy.md index 76526549b93b..ceeaaa849273 100644 --- a/content/site-policy/other-site-policies/github-account-recovery-policy.md +++ b/content/site-policy/other-site-policies/github-account-recovery-policy.md @@ -8,7 +8,7 @@ topics: - Legal --- -GitHub provides [a number of account recovery methods](/authentication/securing-your-account-with-two-factor-authentication-2fa/recovering-your-account-if-you-lose-your-2fa-credentials) including an [automated recovery process](/authentication/securing-your-account-with-two-factor-authentication-2fa/recovering-your-account-if-you-lose-your-2fa-credentials#authenticating-with-a-verified-device-ssh-token-or-personal-access-token) if you have lost access to your GitHub.com account. **If you cannot use any of the provided recovery methods, you have permanently lost access to your account.** +GitHub provides [a number of account recovery methods](/authentication/securing-your-account-with-two-factor-authentication-2fa/recovering-your-account-if-you-lose-your-2fa-credentials) including an [automated recovery process](/authentication/securing-your-account-with-two-factor-authentication-2fa/recovering-your-account-if-you-lose-your-2fa-credentials#authenticating-with-a-verified-device-ssh-token-or-personal-access-token) if you have lost access to your GitHub.com account. **If you cannot use any of the provided recovery methods, you have permanently lost access to your account.** You can, however, [unlink email addresses](/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-your-personal-account/unlinking-your-email-address-from-a-locked-account) from a locked account in order to create a new account or use the email on another existing account. @@ -28,7 +28,7 @@ Please contact Support to request removal of a payment method from a locked out ## Can I recover the contents of a user or organization account I lost access to? -If you have lost access to a user account, you may [clone](/repositories/creating-and-managing-repositories/cloning-a-repository) or [fork](/get-started/quickstart/fork-a-repo) any content that is public. +If you have lost access to a user account, you may [clone](/repositories/creating-and-managing-repositories/cloning-a-repository) or [fork](/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo) any content that is public. If you have lost access to an organization account, you may clone or fork any content that is public and you may be able to request that remaining members of the organization clone or fork any private content. diff --git a/data/reusables/getting-started/contributing-to-projects.md b/data/reusables/getting-started/contributing-to-projects.md index 8769f9e2404d..b7f1ffc278a2 100644 --- a/data/reusables/getting-started/contributing-to-projects.md +++ b/data/reusables/getting-started/contributing-to-projects.md @@ -1 +1 @@ -{% data variables.product.prodname_dotcom %} connects users and allows you to interact with other projects. To learn more about contributing to someone else's project, see "[AUTOTITLE](/get-started/quickstart/contributing-to-projects)." +{% data variables.product.prodname_dotcom %} connects users and allows you to interact with other projects. To learn more about contributing to someone else's project, see "[AUTOTITLE](/get-started/exploring-projects-on-github/contributing-to-a-project)." diff --git a/data/reusables/getting-started/fork-a-repository.md b/data/reusables/getting-started/fork-a-repository.md index 8f5d1a77a393..b8489b72efa3 100644 --- a/data/reusables/getting-started/fork-a-repository.md +++ b/data/reusables/getting-started/fork-a-repository.md @@ -1 +1 @@ -Forking a repository will allow you to make changes to another repository without affecting the original. For more information, see "[AUTOTITLE](/get-started/quickstart/fork-a-repo)." +Forking a repository will allow you to make changes to another repository without affecting the original. For more information, see "[AUTOTITLE](/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo)." diff --git a/src/redirects/tests/redirects.js b/src/redirects/tests/redirects.js index 22a411971e22..d730ccd1b9cd 100644 --- a/src/redirects/tests/redirects.js +++ b/src/redirects/tests/redirects.js @@ -311,7 +311,7 @@ describe('redirects', () => { }) describe('enterprise user article', () => { - const userArticle = `/en/enterprise-server@${enterpriseServerReleases.latest}/get-started/quickstart/fork-a-repo` + const userArticle = `/en/enterprise-server@${enterpriseServerReleases.latest}/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo` test('no product redirects to GitHub.com product on the latest version', async () => { const res = await get( @@ -343,7 +343,7 @@ describe('redirects', () => { }) describe('enterprise user article with frontmatter redirect', () => { - const userArticle = `/en/enterprise-server@${enterpriseServerReleases.latest}/get-started/quickstart/fork-a-repo` + const userArticle = `/en/enterprise-server@${enterpriseServerReleases.latest}/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo` const redirectFromPath = '/articles/fork-a-repo' test('redirects to expected article', async () => {