Skip to content

Bump org.apache.maven.plugins:maven-surefire-plugin from 3.4.0 to 3.5.0 #150

Bump org.apache.maven.plugins:maven-surefire-plugin from 3.4.0 to 3.5.0

Bump org.apache.maven.plugins:maven-surefire-plugin from 3.4.0 to 3.5.0 #150

name: dependabot auto-merge
# Using a short name here for two reasons:
# 1) The "Workflows" column on the "Actions" tab is quite narrow
# 2) The name is used as label on the README badge
on: pull_request
permissions:
pull-requests: write
contents: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/[email protected]
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Approve a PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Enable auto-merge for Dependabot PRs
if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}
run: gh pr merge --auto --rebase "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}