Skip to content

build(deps): bump the all-dependencies group with 3 updates #31

build(deps): bump the all-dependencies group with 3 updates

build(deps): bump the all-dependencies group with 3 updates #31

name: Dependabot auto-approve
on:
pull_request:
workflow_dispatch:
inputs:
force_build:
description: 'Forces a build even if no changes are detected'
required: true
default: 'false'
force_publish:
description: 'Forces a publish even if no changes are detected'
required: true
default: 'false'
permissions:
pull-requests: write
jobs:
dependabot:
runs-on: ubuntu-latest
# if: github.event.pull_request.user.login == 'dependabot[bot]'
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
skip-commit-verification: true
skip-verification: true
- name: Approve a PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{ secrets.ES_GITHUB_PAT }}