Skip to content

Add Dependabot Docker update coverage for container image supply chain - #49528

Merged
pelikhan merged 4 commits into
mainfrom
copilot/uk-ai-resilience-update-dependabot-yml
Aug 1, 2026
Merged

Add Dependabot Docker update coverage for container image supply chain#49528
pelikhan merged 4 commits into
mainfrom
copilot/uk-ai-resilience-update-dependabot-yml

Conversation

Copilot AI commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Dependabot was not configured to track Docker base image updates for containerized surfaces tied to firewall/MCP tooling, so CVE remediation relied on manual scan triage instead of automated update PRs. This change adds the missing Docker ecosystem coverage on the same weekly cadence as existing ecosystems.

  • What changed

    • Added package-ecosystem: docker entries in .github/dependabot.yml for Dockerfile-backed directories used in this repo’s container pipeline.
    • Kept scheduling aligned with existing policy (weekly) to maintain uniform update behavior.
  • Dependabot config additions

    • directory: /
    • directory: /actions/setup/js
    • directory: /.devcontainer
- package-ecosystem: docker
  directory: /
  schedule:
    interval: weekly
- package-ecosystem: docker
  directory: /actions/setup/js
  schedule:
    interval: weekly
- package-ecosystem: docker
  directory: /.devcontainer
  schedule:
    interval: weekly

Copilot AI and others added 2 commits August 1, 2026 07:36
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Add docker ecosystem entries to dependabot.yml Add Dependabot Docker update coverage for container image supply chain Aug 1, 2026
Copilot AI requested a review from pelikhan August 1, 2026 07:45
@pelikhan
pelikhan marked this pull request as ready for review August 1, 2026 07:54
Copilot AI review requested due to automatic review settings August 1, 2026 07:54
@pelikhan
pelikhan merged commit 4a25e8e into main Aug 1, 2026
@pelikhan
pelikhan deleted the copilot/uk-ai-resilience-update-dependabot-yml branch August 1, 2026 07:55
@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Test Quality Sentinel completed test quality analysis.

No test files were added or modified in this PR. Test Quality Sentinel skipped.

@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Design Decision Gate 🏗️ completed the design decision gate check.

No ADR enforcement needed: PR does not have the 'implementation' label and has ≤100 new lines of code in business logic directories (0 additions detected in default business logic directories).

@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

PR Code Quality Reviewer completed the code quality review.

@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds weekly Dependabot Docker configuration for the repository’s three Dockerfile directories.

Changes:

  • Adds Docker ecosystem entries for /, /actions/setup/js, and /.devcontainer.
  • Aligns schedules with existing weekly updates.
  • Does not provide the upstream firewall/MCP image coverage required by #49168.
Show a summary per file
File Description
.github/dependabot.yml Adds weekly Docker dependency update entries.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 2
  • Review effort level: Balanced

Comment thread .github/dependabot.yml
Comment on lines +27 to +30
- package-ecosystem: docker
directory: /
schedule:
interval: weekly
Comment thread .github/dependabot.yml
Comment on lines +31 to +34
- package-ecosystem: docker
directory: /actions/setup/js
schedule:
interval: weekly

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧵 Reviewed using Impeccable skills by Impeccable Skills Reviewer · sonnet46 · 22.5 AIC · ⌖ 9.18 AIC · ⊞ 5.4K

Comment thread .github/dependabot.yml
schedule:
interval: weekly
- package-ecosystem: docker
directory: /actions/setup/js

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The directory: /actions/setup/js entry targets a directory that contains only Dockerfile.safe-outputs-mcp, not a file named Dockerfile. Dependabot's Docker ecosystem scanner looks for files named exactly Dockerfile by default — a non-standard name like Dockerfile.safe-outputs-mcp will not be picked up, so this entry will either produce a Dependabot config error or silently yield no updates.

Consider one of:

  1. Rename Dockerfile.safe-outputs-mcp to Dockerfile if it is the only Docker artifact in that directory.
  2. Remove this entry until a standard Dockerfile exists in /actions/setup/js.

@copilot please address this.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skills-Based Review 🧠

Applied /codebase-design — requesting one change before merge.

📋 Key Findings

Issue

  • Non-standard Dockerfile name: /actions/setup/js/Dockerfile.safe-outputs-mcp uses a custom filename. Dependabot's Docker ecosystem scanner looks for standard names (Dockerfile, docker-compose.yml, etc.) by default. If the scanner silently skips this directory, the supply-chain CVE coverage goal for that container image is not achieved, despite the config entry being present.

Positive Highlights

  • ✅ Clean, minimal change — only adds what is needed
  • ✅ Consistent weekly schedule aligned with existing policy
  • ✅ Covers all three Dockerfile-backed directories in the repo
  • ✅ Good PR description with clear rationale

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · sonnet46 · 25.1 AIC · ⌖ 10.7 AIC · ⊞ 7.1K
Comment /matt to run again

Comment thread .github/dependabot.yml
schedule:
interval: weekly
- package-ecosystem: docker
directory: /actions/setup/js

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[/codebase-design] The Dockerfile in /actions/setup/js is named Dockerfile.safe-outputs-mcp, not Dockerfile. Dependabot Docker scanning defaults to standard filenames; a non-standard name may silently produce no update PRs, leaving this entry ineffective.

💡 Verification options
  1. After merge, check Dependabot logs to confirm the directory triggers Docker update PRs.
  2. Rename Dockerfile.safe-outputs-mcpDockerfile and update references in any build scripts.
  3. If renaming is undesirable, verify Dependabot's documentation for custom Dockerfile name support.

If this directory is silently skipped, the supply-chain coverage goal for that image is unmet.

@copilot please address this.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: minor config gap found, non-blocking

Good intent (closing docker CVE-remediation gap for #49168), but one of the three new Dependabot docker entries appears to be a no-op due to a non-standard Dockerfile name.

💡 Themes
  • .github/dependabot.yml: entries for / and /.devcontainer are correct — both directories contain a file literally named Dockerfile. The /actions/setup/js entry is suspect since the only Docker file there is Dockerfile.safe-outputs-mcp, which Dependabot's docker ecosystem does not detect by default.
  • .github/workflows/daily-byok-ollama-test.lock.yml: the diff also regenerates an unrelated compiled lock file (new defaultAiCreditsPricing/models fields in the firewall config JSON). This is very likely stale make recompile drift picked up incidentally rather than a manual change, so not flagging as blocking, but worth confirming it's expected/harmless before merge.

🔎 Code quality review by PR Code Quality Reviewer · auto · 62.4 AIC · ⌖ 13.4 AIC · ⊞ 7.8K
Comment /review to run again

Comment thread .github/dependabot.yml
schedule:
interval: weekly
- package-ecosystem: docker
directory: /actions/setup/js

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This entry likely produces zero update coverage: Dependabot's docker ecosystem only detects files literally named Dockerfile/dockerfile (or docker-compose.yml) in the target directory, but /actions/setup/js only contains Dockerfile.safe-outputs-mcp.

💡 Dependabot docker-ecosystem file detection

Dependabot's docker-ecosystem scanner does not glob or pattern-match arbitrary Dockerfile names — it looks for an exact Dockerfile/dockerfile or docker-compose.yml in the configured directory. The only Docker-related file in actions/setup/js/ is Dockerfile.safe-outputs-mcp, which will not be picked up.

Impact: this new entry silently produces no update PRs, defeating the PR's stated goal (closing the docker CVE-remediation gap from #49168) for this specific directory.

Fix: rename the file to Dockerfile (with the multi-stage/target distinguished via build args or a separate directory), or drop this entry until Dependabot supports custom names, and verify post-merge that a PR is actually opened for this ecosystem/directory pair.

@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.84.2

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.

[uk-ai-resilience] Tier C: dependabot.yml lacks docker ecosystem entries for gh-aw-firewall/gh-aw-mcpg container images

3 participants