Skip to content

Bump org.apache.commons:commons-lang3 from 3.12.0 to 3.13.0 #31

Bump org.apache.commons:commons-lang3 from 3.12.0 to 3.13.0

Bump org.apache.commons:commons-lang3 from 3.12.0 to 3.13.0 #31

Workflow file for this run

name: Dependabot Check & Merge
on: [pull_request_target]
permissions:
pull-requests: write
contents: write
jobs:
check-pr:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Checkout PR
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup Java 11
uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 11
cache: 'gradle'
- name: Build
run: ./gradlew build
- name: Test
run: ./gradlew test
automerge:
needs: check-pr
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 Dependabot 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
run: gh pr merge --auto --rebase "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}