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 #8

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 #8

name: Dependabot Auto-Approve
on:
pull_request:
types: [opened, reopened]
permissions:
pull-requests: write
jobs:
auto-approve:
runs-on: ubuntu-latest
if: 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: Approve 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 review --approve "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ github.token }}