From d3f2b20ad8d6e5c21ea51e21efb284d16b4ee504 Mon Sep 17 00:00:00 2001 From: Kate Catlin Date: Mon, 27 Nov 2023 17:37:17 -0700 Subject: [PATCH] Adding API mention to temp private fork section (#46816) Co-authored-by: Sarah Edwards --- ...ivate-fork-to-resolve-a-repository-security-vulnerability.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/code-security/security-advisories/working-with-repository-security-advisories/collaborating-in-a-temporary-private-fork-to-resolve-a-repository-security-vulnerability.md b/content/code-security/security-advisories/working-with-repository-security-advisories/collaborating-in-a-temporary-private-fork-to-resolve-a-repository-security-vulnerability.md index bfac9ac9ea1b..d3584b969728 100644 --- a/content/code-security/security-advisories/working-with-repository-security-advisories/collaborating-in-a-temporary-private-fork-to-resolve-a-repository-security-vulnerability.md +++ b/content/code-security/security-advisories/working-with-repository-security-advisories/collaborating-in-a-temporary-private-fork-to-resolve-a-repository-security-vulnerability.md @@ -50,6 +50,8 @@ To keep information about vulnerabilities secure, integrations, including CI, ca For example, if you create a temporary private fork in a repository called `octocat-repo`, and the automatically generated ID for the draft advisory is `GHSA-x854-cvjg-vx26`, the temporary fork will be called `octocat-repo-ghsa-x854-cvjg-vx26`. +You can also use the REST API to create temporary private forks. For more information, see "[Create a temporary private fork](/rest/security-advisories/repository-advisories#create-a-temporary-private-fork)" in the REST API documentation. + ## Adding collaborators to a temporary private fork Anyone with admin permissions to a security advisory can add additional collaborators to the security advisory, and collaborators on the security advisory can access the temporary private fork. For more information, see "[AUTOTITLE](/code-security/security-advisories/working-with-repository-security-advisories/adding-a-collaborator-to-a-repository-security-advisory)."