Skip to content

deps: bump the minor-and-patch group across 2 directories with 11 updates #504

deps: bump the minor-and-patch group across 2 directories with 11 updates

deps: bump the minor-and-patch group across 2 directories with 11 updates #504

name: Dependabot auto-merge
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
auto-merge:
runs-on: ubuntu-latest
if: >-
github.event.pull_request.user.login == 'dependabot[bot]' &&
github.actor == 'dependabot[bot]'
steps:
- name: Approve PR
# Auto-approve all updates (patch/minor/major) across all samples.
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GH_SERVICE_ACCOUNT_DEVOPS_2_PAT1 }}
- name: Enable auto-merge
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GH_SERVICE_ACCOUNT_DEVOPS_2_PAT1 }}