Skip to content

Commit

Permalink
[infinispan#13317] Auto merge Dependabot PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanemerson authored and pruivo committed Dec 11, 2024
1 parent 9c8db0e commit 0c4a191
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/dependabot_pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Dependabot Auto Merge

on:
pull_request_target:
branches:
- main
- 14.0.x
- 15.*.x

types:
- opened
- reopened

jobs:
autoMerge:
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: Approve PR for auto-merge
run: gh pr merge --auto --rebase ${{ github.event.pull_request.number }}
env:
GITHUB_TOKEN: ${{ secrets.API_TOKEN_GITHUB }}

0 comments on commit 0c4a191

Please sign in to comment.