Skip to content

Commit

Permalink
Update dependabot pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
containerscrew committed Oct 11, 2024
1 parent ea84d58 commit b8a76f2
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ updates:
interval: daily
time: "20:00"
open-pull-requests-limit: 10
commit-message:
# Prefix all commit messages with "[cargo] " (no colon, but a trailing whitespace)
prefix: "[cargo] "
26 changes: 26 additions & 0 deletions .github/workflows/dependabot_automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Auto Merge Dependabot PRs

on:
pull_request:
types:
- opened
- synchronize
- reopened

jobs:
auto-merge:
name: Auto-merge dependabot PRs
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Auto-merge PR if it bumps the clap dependency
uses: pascalgn/automerge-action@v0.15.4
env:
GITHUB_TOKEN: ${{ secrets.ACTIONS_TOKEN }}
with:
merge-method: squash
#commit-message: "Auto-merged PR"
#title: "^Bump clap from .*$"

0 comments on commit b8a76f2

Please sign in to comment.