Skip to content

build(deps): bump org.jmailen.kotlinter from 3.10.0 to 4.2.0 #23

build(deps): bump org.jmailen.kotlinter from 3.10.0 to 4.2.0

build(deps): bump org.jmailen.kotlinter from 3.10.0 to 4.2.0 #23

name: 🤖 Dependabot auto-merge
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Approve PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Fetch PR metadata
id: metadata
uses: dependabot/fetch-metadata@v1
# requires "Allow auto-merge" in settings
# https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/incorporating-changes-from-a-pull-request/automatically-merging-a-pull-request
- name: Enable Auto-Merge on PR with minor and patch updates
if: contains(fromJSON('["version-update:semver-minor", "version-update:semver-patch"]'), steps.metadata.outputs.update-type)
run: gh pr merge --auto --rebase "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}