Skip to content

Commit

Permalink
Auto merge patch Dependabot PRs
Browse files Browse the repository at this point in the history
We currently merge all Dependabot PRs manually.

This commit introduces a GitHub Action to automatically merge `patch`
Dependabot PRs.

Ref:
- https://semver.org/
- https://github.com/ahmadnassri/action-dependabot-auto-merge
  • Loading branch information
smaboshe committed Aug 20, 2024
1 parent d9faadb commit 2cbfc53
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
name: auto-merge

on:
pull_request:

jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
target: patch
github-token: ${{ secrets.AUTO_MERGE_GITHUB_ACCESS_TOKEN }}

0 comments on commit 2cbfc53

Please sign in to comment.