Repository navigation
docs(scaffold): document enabling the dependency graph for new consumers - #1169
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #1166.
Documents the one-time provisioning step that a new public consumer needs so the scaffolded
ci.ymlDependency Review gate passes out of the box.Why
The scaffold's Dependency Review job (added in #1140) reads GitHub's dependency graph. On a public repo the graph is normally on by default, but the
vig-osorg creates new repos withdependency_graph_enabled_for_new_repositories: false, so a fresh public consumer's first run 403s until the graph is enabled. Observed during the 1.3.1 rollout onvig-os/org-configand fixed there manually withgh api -X PUT .../vulnerability-alerts.Per the review decision this is documentation only — no scaffold script enables the graph (the observed repo is
direnv, which runs no container provisioning script anyway), so the fix lands where every mode sees it: the onboarding doc plus a pointer at the failure site.What changed
docs/MIGRATION.md: new "Enable the dependency graph on new public consumers" step next to the existing CodeQL/Scorecard private-repo guard notes — the idempotentgh api -X PUT repos/<owner>/<repo>/vulnerability-alertscommand (the same toggle as Settings → Security → Dependency graph), one-time and mode-agnostic.assets/workspace/.github/workflows/ci.yml: a pointer comment on thedependency-reviewjob so a maintainer hitting the 403 finds the fix at the failure site.CHANGELOG.md.No code/runtime surface → no TDD;
test_scaffold_lint.py(34) green and fullpre-commit run --all-filesgreen.Refs: #1166