Skip to content

docs(scaffold): document enabling the dependency graph for new consumers - #1169

Merged
c-vigo merged 1 commit into
devfrom
bugfix/1166-dependency-graph-provisioning
Jul 17, 2026
Merged

c-vigo merged 1 commit into
devfrom
bugfix/1166-dependency-graph-provisioning

Conversation

@c-vigo

@c-vigo c-vigo commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Closes #1166.

Documents the one-time provisioning step that a new public consumer needs so the scaffolded ci.yml Dependency 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-os org creates new repos with dependency_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 on vig-os/org-config and fixed there manually with gh 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 idempotent gh api -X PUT repos/<owner>/<repo>/vulnerability-alerts command (the same toggle as Settings → Security → Dependency graph), one-time and mode-agnostic.
  • assets/workspace/.github/workflows/ci.yml: a pointer comment on the dependency-review job 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 full pre-commit run --all-files green.

Refs: #1166

@c-vigo
c-vigo merged commit 36b137b into dev Jul 17, 2026
13 checks passed
@c-vigo
c-vigo deleted the bugfix/1166-dependency-graph-provisioning branch July 17, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant