This repository reproduces the issue described in dependabot/dependabot-core#13660.
When using wildcard directories (/** or **/*) in .github/dependabot.yml, Dependabot creates duplicate PRs for the same dependency update:
- One PR for the entire repo
- One PR for each individual directory
This minimal reproduction has:
.github/dependabot.yml- Configuration with wildcard directories for bothgithub-actionsandpipecosystems- GitHub Actions workflows in nested directories:
.github/workflows/test.ymlservice-a/.github/workflows/build.ymlservice-b/.github/workflows/deploy.yml
- Python requirements in nested directories:
requirements.txtservice-a/requirements.txtservice-b/requirements.txt
One PR per dependency update across all directories.
Multiple PRs for the same dependency - one for the root and one for each subdirectory.
For Python dependencies, using just "/" as the directory (instead of wildcards) works because the pip handler checks nested directories. However, this doesn't work for github-actions.