Skip to content

Bump eslint-plugin-jest from 28.8.3 to 28.9.0 #541

Bump eslint-plugin-jest from 28.8.3 to 28.9.0

Bump eslint-plugin-jest from 28.8.3 to 28.9.0 #541

name: Auto-Merge Dependabot Updates
on:
pull_request:
branches:
- '2.x'
paths:
- '.github/workflows/**'
- package.json
- package-lock.json
permissions:
contents: write
pull-requests: write
jobs:
automerge:
name: Enable Auto-Merge for Dependabot
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Approve Dependabot PR
run: gh pr review --approve "${{ env.PR_URL }}"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Enable auto-merge
run: gh pr merge --auto --squash --delete-branch "${{ env.PR_URL }}"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}