Skip to content

Bump org.springframework.boot:spring-boot-starter-parent from 4.0.1 to 4.0.2 in the auto-merge-minor-and-patch group #16

Bump org.springframework.boot:spring-boot-starter-parent from 4.0.1 to 4.0.2 in the auto-merge-minor-and-patch group

Bump org.springframework.boot:spring-boot-starter-parent from 4.0.1 to 4.0.2 in the auto-merge-minor-and-patch group #16

name: Dependabot Auto-Merge
on:
pull_request_review:
types: [submitted]
permissions:
contents: write
pull-requests: write
jobs:
auto-merge:
runs-on: ubuntu-latest
if: github.event.review.state == 'approved' && github.event.pull_request.user.login == 'dependabot[bot]'
steps:
- name: Get Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ github.token }}"
- name: Enable auto-merge for minor and patch updates
if: steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.update-type == 'version-update:semver-patch'
run: |
gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ github.token }}