Skip to content

[codex] skip dependency review when dependency graph is unavailable#33

Merged
krahd merged 2 commits into
mainfrom
codex/dependency-review-guard
May 30, 2026
Merged

[codex] skip dependency review when dependency graph is unavailable#33
krahd merged 2 commits into
mainfrom
codex/dependency-review-guard

Conversation

@krahd

@krahd krahd commented May 29, 2026

Copy link
Copy Markdown
Owner

Adds a preflight to the dependency-review workflow so it skips cleanly when GitHub reports zero dependency-graph manifests for this repository.

Why:

  • The dependency-review action was failing with Dependency review is not supported on this repository.
  • GitHub GraphQL currently reports dependencyGraphManifests.totalCount = 0 for BatLLM, so the action cannot run as written.

What changed:

  • Added a GraphQL preflight step to .github/workflows/dependency-review.yml.
  • Kept the dependency-review action in place for repositories where GitHub exposes manifests.
  • Updated STATUS.md to record the current dependency-graph limitation and workflow behaviour.

Validation:

  • git diff --check
  • ruby -e "require 'yaml'; YAML.load_file('.github/workflows/dependency-review.yml'); puts 'yaml-ok'"
  • GitHub GraphQL query confirming dependencyGraphManifests.totalCount = 0 for this repository.

@krahd krahd marked this pull request as ready for review May 30, 2026 21:31
@krahd krahd merged commit 3e16579 into main May 30, 2026
7 checks passed
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