Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependabot is updating requirements.txt files in subfolders when only the directory option is set #11360

Open
1 task done
nfelt14 opened this issue Jan 21, 2025 · 0 comments
Labels
L: github:actions GitHub Actions L: python T: bug 🐞 Something isn't working

Comments

@nfelt14
Copy link

nfelt14 commented Jan 21, 2025

Is there an existing issue for this?

  • I have searched the existing issues

Package ecosystem

pip

Package manager version

poetry^=1.8

Language version

No response

Manifest location and content before the Dependabot update

  • /pyproject.toml
  • /docs/requirements.txt (shouldn't be updated)
  • /tests/requirements.txt (shouldn't be updated)

dependabot.yml content

---
version: 2
updates:
  - package-ecosystem: github-actions
    directory: /
    schedule:
      interval: weekly
    groups:
      gh-actions-dependencies:
        patterns: ['*']
    labels: [gh-actions, dependencies]
    commit-message:
      prefix: gh-actions
      include: scope
  - package-ecosystem: pip
    directory: /
    schedule:
      interval: weekly
    versioning-strategy: increase-if-necessary
    groups:
      python-dependencies:
        patterns: ['*']
    labels: [python, dependencies]
    commit-message:
      prefix: python-deps
      include: scope

Updated dependency

No response

What you expected to see, versus what you actually saw

I expect that only the pyproject.toml file is updated, but dependabot is updating the requirements files as well.

Native package manager behavior

No response

Images of the diff or a link to the PR, issue, or logs

No response

Smallest manifest that reproduces the issue

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
L: github:actions GitHub Actions L: python T: bug 🐞 Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant