Skip to content

Commit

Permalink
auto-merge dependabot updates if build was green
Browse files Browse the repository at this point in the history
  • Loading branch information
asolntsev committed Aug 26, 2024
1 parent 9a8c493 commit d2316b6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,20 @@ jobs:
path: |
**/target/site
**/target/surefire-reports
auto-merge-dependabot:
name: 🤖 Auto merge dependabot PR
timeout-minutes: 10
needs: [ build ]
if: ${{ github.actor == 'dependabot[bot]' }}
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- name: 🤖 Merge PR from dependabot
uses: fastify/github-action-merge-dependabot@v3
with:
github-token: ${{secrets.GITHUB_TOKEN}}
target: minor
merge-method: rebase

0 comments on commit d2316b6

Please sign in to comment.