Skip to content

Commit

Permalink
chore: Add github workflow dependabot.yml (#15)
Browse files Browse the repository at this point in the history
Added dependabot.yml for GitHub to automate dependency updates.
  • Loading branch information
Fingertips18 authored Nov 16, 2024
1 parent c04b467 commit b6c2ef2
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: "Dependabot Configuration"

version: 2
updates:
# Update Go dependencies for the root directory
- name: "Update Go Dependencies"
package-ecosystem: "go"
directory: /
schedule:
interval: "daily" # Check for updates every day
allow:
- dependency-name: "github.com/test/*" # Only allow updates from the specified Go dependencies
commit-message:
prefix: chore # Use 'chore' prefix for the commit message
include: scope # Include the scope (dependency name) in the commit message

# Update npm dependencies for the client directory
- name: "Update NPM Dependencies (Client)"
package-ecosystem: "npm"
directory: /client
schedule:
interval: "daily" # Check for updates every day
allow:
- dependency-name: "github.com/Fingertips18/*" # Only allow updates from the specified npm dependencies
commit-message:
prefix: chore # Use 'chore' prefix for the commit message
include: scope # Include the scope (dependency name) in the commit message

# Update GitHub Actions dependencies for the root directory
- name: "Update GitHub Actions"
package-ecosystem: "github-actions"
directory: /
schedule:
interval: "weekly" # Check for updates once a week
commit-message:
prefix: chore # Use 'chore' prefix for the commit message
include: scope # Include the scope (dependency name) in the commit message

0 comments on commit b6c2ef2

Please sign in to comment.