Skip to content

Bump eslint-config-next from 15.1.0 to 15.1.1 #171

Bump eslint-config-next from 15.1.0 to 15.1.1

Bump eslint-config-next from 15.1.0 to 15.1.1 #171

name: "Auto Merge Dependabot PR's"
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
approve-and-merge-pr:
name: "Approve and merge Dependabot PR"
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: "Log changes to version"
run: echo "Version going from ${{ steps.metadata.outputs.previous-version }}, to ${{ steps.metadata.outputs.new-version }}"
- name: "Approve the PR"
run: gh pr review --approve "$PR_NUMBER"
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: "Merge the PR"
run: gh pr merge --squash "$PR_NUMBER"
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}