Code of Conduct
What article on docs.github.com is affected?
What part(s) of the article would you like to see updated?
Section needing update:
The last part of the section:
A private fork of the repository is created and shown on the advisory page.
What isn't stated here is the naming convention of the temporary, private repositories that get created. The screenshots that follow do show the naming format, as examples, but the convention itself should be included somewhere in the documentation itself.
The standard naming convention is done as so, from what I can tell, whenever you click the Start a temporary private fork button:
<repo>-<ghsa-draft-security-advisory-id>
- Example:
- GitHub Security Advisory (GHSA) draft:
GHSA-1a2b-cd23-efgh
- Draft advisory for the following repo:
my-repo
- Temp, private repo name:
my-repo-ghsa-1a2b-cd23-efgh
Additional information
Other than docs, I think a feature request should be opened for the API of a repository to state whether it is a temporary fork / GHSA-related repository. Otherwise, you have to retrieve this information by querying:
- for draft security advisories
- whether a repo is a fork and private
- what the name of the parent repository is
- check the repo name for a pattern that matches a security advisory
All in order to see whether it is, for certain, a GHSA-related temp fork.
Code of Conduct
What article on docs.github.com is affected?
What part(s) of the article would you like to see updated?
Section needing update:
The last part of the section:
What isn't stated here is the naming convention of the temporary, private repositories that get created. The screenshots that follow do show the naming format, as examples, but the convention itself should be included somewhere in the documentation itself.
The standard naming convention is done as so, from what I can tell, whenever you click the Start a temporary private fork button:
<repo>-<ghsa-draft-security-advisory-id>GHSA-1a2b-cd23-efghmy-repomy-repo-ghsa-1a2b-cd23-efghAdditional information
Other than docs, I think a feature request should be opened for the API of a repository to state whether it is a temporary fork / GHSA-related repository. Otherwise, you have to retrieve this information by querying:
All in order to see whether it is, for certain, a GHSA-related temp fork.