Skip to content

Commit

Permalink
Merge pull request #1735 from gchq/dev/add-python-and-modelscan-to-de…
Browse files Browse the repository at this point in the history
…pendabot-config

add python, modelscan and workflow dirs to dependabot config
  • Loading branch information
PE39806 authored Jan 22, 2025
2 parents 236dadd + 095fcd4 commit b4fc874
Showing 1 changed file with 30 additions and 16 deletions.
46 changes: 30 additions & 16 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,45 +7,59 @@ updates:
- package-ecosystem: 'npm'
# Look for `package.json` and `lock` files in the `root` directory
directory: '/'
# Check the npm registry for updates every day (weekdays)
# Check the npm registry for updates every month
schedule:
interval: 'monthly'
versioning-strategy: increase
# Allow up to 1 open pull requests for node dependencies
# Allow up to 15 open pull requests for node dependencies
open-pull-requests-limit: 15
- package-ecosystem: 'npm'
# Look for `package.json` and `lock` files in the `root` directory
directory: '/frontend'
# Check the npm registry for updates every day (weekdays)
# Check the npm registry for updates every month
schedule:
interval: 'monthly'
versioning-strategy: increase
# Allow up to 1 open pull requests for node dependencies
# Allow up to 2 open pull requests for node dependencies
open-pull-requests-limit: 2
- package-ecosystem: 'npm'
# Look for `package.json` and `lock` files in the `root` directory
directory: '/backend'
# Check the npm registry for updates every day (weekdays)
# Check the npm registry for updates every month
schedule:
interval: 'monthly'
versioning-strategy: increase
# Allow up to 1 open pull requests for node dependencies
# Allow up to 15 open pull requests for node dependencies
open-pull-requests-limit: 15

# Enable version updates for Docker
- package-ecosystem: 'docker'
# Look for a `Dockerfile` in the `root` directory
directory: '/frontend'
# Look for a `Dockerfile` in these directories
directories:
- '/'
- '/backend'
- '/frontend'
- '/lib/modelscan_api'
# Check for updates once a week
schedule:
interval: 'weekly'
# Allow up to 3 open pull requests for docker dependencies
open-pull-requests-limit: 3
- package-ecosystem: 'docker'
# Look for a `Dockerfile` in the `root` directory
directory: '/backend'
# Check for updates once a week
open-pull-requests-limit: 9

# Enable version updates for python
- package-ecosystem: 'pip'
# Look for a `requirements*` or `pyproject.toml` in these directories
directories:
- '/lib/python'
- '/lib/modelscan_api'
- '/backend/docs'
schedule:
interval: 'weekly'
# Allow up to 3 open pull requests for docker dependencies
open-pull-requests-limit: 3
versioning-strategy: increase
open-pull-requests-limit: 6

# Set update schedule for GitHub Actions
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'monthly'
open-pull-requests-limit: 12

0 comments on commit b4fc874

Please sign in to comment.