From 2053e66331e5d284353286f78bcb5691cfa2efee Mon Sep 17 00:00:00 2001 From: John Clement <70238417+jclement136@users.noreply.github.com> Date: Fri, 21 Mar 2025 14:52:46 -0400 Subject: [PATCH] [Improvement]: Inaccurate Note in Dependency Review Documentation for GHES #16712 (#54946) --- .../dependency-review/works-with-submission-api-beta.md | 3 +++ .../dependency-submission/about-dependency-submission.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/data/reusables/dependency-review/works-with-submission-api-beta.md b/data/reusables/dependency-review/works-with-submission-api-beta.md index efb30591c8..7a4005b74e 100644 --- a/data/reusables/dependency-review/works-with-submission-api-beta.md +++ b/data/reusables/dependency-review/works-with-submission-api-beta.md @@ -1,2 +1,5 @@ +{% ifversion ghes %} +{% else %} > [!NOTE] > The dependency review API and the {% data variables.dependency-submission-api.name %} work together. This means that the dependency review API will include dependencies submitted via the {% data variables.dependency-submission-api.name %}. +{% endif %} diff --git a/data/reusables/dependency-submission/about-dependency-submission.md b/data/reusables/dependency-submission/about-dependency-submission.md index 0e38c3f817..d8a6812414 100644 --- a/data/reusables/dependency-submission/about-dependency-submission.md +++ b/data/reusables/dependency-submission/about-dependency-submission.md @@ -4,6 +4,6 @@ The dependency graph shows any dependencies you submit using the API in addition Submitted dependencies will receive {% data variables.product.prodname_dependabot_alerts %} and {% data variables.product.prodname_dependabot_security_updates %} for any known vulnerabilities. You will only get {% data variables.product.prodname_dependabot_alerts %} for dependencies that are from one of the supported ecosystems for the {% data variables.product.prodname_advisory_database %}. For more information about these ecosystems, see [AUTOTITLE](/code-security/security-advisories/global-security-advisories/about-the-github-advisory-database#github-reviewed-advisories). For transitive dependencies submitted via the {% data variables.dependency-submission-api.name %}, {% data variables.product.prodname_dependabot %} will automatically open pull requests to update the parent dependency, if an update is available. -Submitted dependencies will be shown in dependency review, but are _not_ available in your organization's dependency insights. +Submitted dependencies {% ifversion fpt or ghec %}will be shown in dependency review, but {% endif %}are _not_ available in your organization's dependency insights. {% data reusables.dependency-review.works-with-submission-api-beta %}