Skip to content

Enable dependabot to track container images in AttackSurfaceAnalyzer Dockerfile#27097

Open
Copilot wants to merge 1 commit intomasterfrom
copilot/enable-dependabot-for-dockerfile
Open

Enable dependabot to track container images in AttackSurfaceAnalyzer Dockerfile#27097
Copilot wants to merge 1 commit intomasterfrom
copilot/enable-dependabot-for-dockerfile

Conversation

Copy link
Contributor

Copilot AI commented Mar 25, 2026

The Dockerfile at tools/AttackSurfaceAnalyzer/docker/Dockerfile was not covered by dependabot's Docker update configuration, leaving its base images (mcr.microsoft.com/dotnet/sdk and mcr.microsoft.com/windows/nanoserver) untracked.

Changes

  • .github/dependabot.yml: Added two new docker update entries for /tools/AttackSurfaceAnalyzer/docker — one for the default branch and one targeting release/* — mirroring the existing pattern for root-level Docker entries.

Co-authored-by: adityapatwardhan <12820925+adityapatwardhan@users.noreply.github.com>
Agent-Logs-Url: https://github.com/PowerShell/PowerShell/sessions/8ce2427b-f164-4608-8d42-3eff795017c5
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates Dependabot configuration so Docker base images referenced by tools/AttackSurfaceAnalyzer/docker/Dockerfile are included in automated dependency update checks.

Changes:

  • Add a docker ecosystem update entry for /tools/AttackSurfaceAnalyzer/docker on the default branch.
  • Add a second docker ecosystem update entry intended to target release/* branches for the same directory.

Comment on lines +41 to +45
- package-ecosystem: "docker"
directory: "/tools/AttackSurfaceAnalyzer/docker"
target-branch: "release/*"
schedule:
interval: daily
Copy link

Copilot AI Mar 25, 2026

Choose a reason for hiding this comment

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

target-branch does not support wildcard patterns like release/* (it’s treated as a literal branch name), so Dependabot won’t open PRs against your release branches with this config. To update multiple release branches, list each release branch explicitly with its own updates entry (or remove target-branch if you only intend to update the default branch).

Copilot uses AI. Check for mistakes.
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.

3 participants