fix: make Dependabot see the composite actions - #4
Open
mdozhdev wants to merge 1 commit into
Open
Conversation
The `/.github/actions/**` glob was accepted by Dependabot but matched nothing. Its first run after v1.0.0 checked only actions/checkout and zizmorcore/zizmor-action, both of which live in .github/workflows/ — the five docker/* pins in the composite actions were never looked at, and docker/build-push-action is pinned at v6 while v7.3.0 exists, so an update would certainly have been reported had they been seen. Left unfixed, the pins this repo exists to hold would never be told to move: a SHA pin without a working bump bot is a frozen version, which is the failure the cooldown and the bot were meant to prevent together. Listing each action directory explicitly is what the github-actions ecosystem actually resolves. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #3, which flagged this as "verify on the first run". The first run has now happened, and the answer is that it did not work.
What went wrong
#3configured Dependabot with:The glob was accepted — it appears verbatim in the job definition (
"directories":["/.","/.github/actions/**"]) — but it matched nothing. Both runs after the v1.0.0 merge checked exactly two dependencies:Both live in
.github/workflows/. None of the fivedocker/*pins were looked at. That is not ambiguous:docker/build-push-actionis pinned atv6andv7.3.0exists, so an available update would have been reported had Dependabot seen the file.Why it matters
The pins are the point of this repository. A SHA pin without a working bump bot is a frozen version that nobody is told to move — including a frozen vulnerable one. The cooldown and the bot only do their job as a pair.
The fix
List each action directory explicitly. The
github-actionsecosystem resolvesaction.ymlin a named directory; it does not expand**into one.Verifying
Dependabot re-runs when this config changes on the default branch, so the next run's log after merge should show
docker/build-push-action,docker/login-action,docker/metadata-action,docker/setup-buildx-actionanddocker/setup-qemu-actionbeing checked — and should open bump PRs for the majors they are behind. If it still misses them, Renovate is the fallback.🤖 Generated with Claude Code