Skip to content

build(deps-dev): bump @redocly/cli from 1.12.0 to 1.12.2 #146

build(deps-dev): bump @redocly/cli from 1.12.0 to 1.12.2

build(deps-dev): bump @redocly/cli from 1.12.0 to 1.12.2 #146

name: Auto-merge Dependabot PRs
on:
pull_request_target:
types: [ review_requested ]
permissions:
pull-requests: write
contents: write
jobs:
merge-dependabot-pr:
runs-on: ubuntu-22.04
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
steps:
- name: Fetch Dependabot metadata
id: dependabot-metadata
uses: dependabot/fetch-metadata@5e5f99653a5b510e8555840e80cbf1514ad4af38
- name: Enable auto-merge for minor updates
if: ${{ steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr review --approve ${{ github.event.pull_request.html_url }}
gh pr merge --auto --squash ${{ github.event.pull_request.html_url }}