Skip to content

Commit

Permalink
ci: sync dependabot config (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
charmcli authored Feb 13, 2025
1 parent 31c0553 commit c04db4e
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 9 deletions.
47 changes: 38 additions & 9 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,65 @@
version: 2

updates:
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
day: "monday"
time: "05:00"
timezone: "America/New_York"
labels:
- "dependencies"
commit-message:
prefix: "chore"
include: "scope"
- package-ecosystem: "gomod"
directory: "/examples"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
interval: "weekly"
day: "monday"
time: "05:00"
timezone: "America/New_York"
labels:
- "dependencies"
commit-message:
prefix: "chore"
include: "scope"

- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "05:00"
timezone: "America/New_York"
labels:
- "dependencies"
commit-message:
prefix: "feat"
include: "scope"

- package-ecosystem: "gomod"
directory: "/tutorials"
directory: "/examples"
schedule:
interval: "daily"
interval: "weekly"
day: "monday"
time: "05:00"
timezone: "America/New_York"
labels:
- "dependencies"
commit-message:
prefix: "chore"
include: "scope"
- package-ecosystem: "github-actions"
directory: "/"

- package-ecosystem: "gomod"
directory: "/tutorials"
schedule:
interval: "daily"
interval: "weekly"
day: "monday"
time: "05:00"
timezone: "America/New_York"
labels:
- "dependencies"
commit-message:
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/dependabot-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: dependabot-sync
on:
schedule:
- cron: "0 0 * * 0" # every Sunday at midnight
workflow_dispatch: # allows manual triggering

permissions:
contents: write
pull-requests: write

jobs:
dependabot-sync:
uses: charmbracelet/meta/.github/workflows/dependabot-sync.yml@main
with:
repo_name: ${{ github.event.repository.name }}

0 comments on commit c04db4e

Please sign in to comment.