Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ updates:
# Maintain dependencies for Cargo (Rust packages)
- package-ecosystem: "cargo"
directory: "/"
target-branch: "develop"
schedule:
interval: "weekly"
day: "monday"
Expand Down Expand Up @@ -30,6 +31,7 @@ updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
target-branch: "develop"
schedule:
interval: "weekly"
day: "monday"
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Dependabot Auto-Merge

on:
pull_request_target:
types:
- opened
- reopened
- synchronize

permissions:
contents: write
pull-requests: write
checks: read

jobs:
enable-auto-merge:
if: >-
${{ github.actor == 'dependabot[bot]' &&
github.event.pull_request.base.ref == 'develop' }}
runs-on: ubuntu-latest
steps:
- name: Fetch Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1

- name: Enable auto-merge
uses: peter-evans/enable-pull-request-automerge@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
merge-method: squash