Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,36 @@ updates:
interval: cron
cronjob: "0 7 * * MON#1"
timezone: America/New_York
cooldown:
default-days: 7
semver-major-days: 14
semver-minor-days: 14
groups:
github-actions:
patterns:
- "*"
- package-ecosystem: gomod
directory: /
schedule:
interval: cron
cronjob: "0 7 * * MON#1"
timezone: America/New_York
cooldown:
default-days: 7
semver-major-days: 14
semver-minor-days: 14
groups:
gomod:
patterns:
- "*"
allow:
- dependency-type: all
ignore:
- dependency-name: "k8s.io/*"
update-types:
- version-update:semver-major
- version-update:semver-minor
- dependency-name: "*.k8s.io/*"
update-types:
- version-update:semver-major
- version-update:semver-minor
Comment on lines +17 to +41

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🩺 Stability & Availability | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Check for go.mod at the repository root
fd -t f 'go.mod' --max-depth 1

Repository: open-cluster-management-io/policy-collection

Length of output: 182


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "Root-level go.mod:"
git ls-files 'go.mod' || true

echo
echo "Top-level go.mod files:"
fd -t f 'go.mod' . --max-depth 2

echo
echo "Dependabot config excerpt:"
sed -n '1,120p' .github/dependabot.yml

Repository: open-cluster-management-io/policy-collection

Length of output: 1214


Point the gomod entry at a directory that contains go.mod
directory: / has no root go.mod here, so Dependabot can’t process this ecosystem entry. Update it to the actual module path or remove the block.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/dependabot.yml around lines 17 - 41, The gomod Dependabot entry is
pointing at a location without a go.mod, so Dependabot cannot scan it. Update
the directory in the gomod block to the actual module root that contains go.mod,
or remove the gomod block entirely if this repo does not use Go modules. Use the
existing gomod entry and its schedule/groups/allow/ignore settings as the place
to make the change.