Skip to content

Bump com.puppycrawl.tools:checkstyle from 10.20.0 to 10.20.1 #206

Bump com.puppycrawl.tools:checkstyle from 10.20.0 to 10.20.1

Bump com.puppycrawl.tools:checkstyle from 10.20.0 to 10.20.1 #206

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}}