Skip to content

build(deps): bump the aws-sdk group across 1 directory with 7 updates #47

build(deps): bump the aws-sdk group across 1 directory with 7 updates

build(deps): bump the aws-sdk group across 1 directory with 7 updates #47

name: Dependabot auto-merge
on:
pull_request:
types: [opened]
permissions:
contents: write
pull-requests: write
env:
GH_TOKEN: ${{ github.token }}
jobs:
auto-merge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Enable auto-merge
run: gh pr merge --auto --rebase --repo "${{ github.repository }}" "${{ github.event.pull_request.number }}"
- name: Approve dependabot PR
env:
GH_TOKEN: ${{ secrets.BOT_GH_TOKEN }}
run: gh pr review --approve --repo "${{ github.repository }}" "${{ github.event.pull_request.number }}"