Skip to content

chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.20.0 to 6.21.0 in /sanity-cms #8

chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.20.0 to 6.21.0 in /sanity-cms

chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.20.0 to 6.21.0 in /sanity-cms #8

name: Dependabot auto-approve
on: pull_request
permissions:
contents: read
pull-requests: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Approve PR
if: ${{ contains(github.ref_name, 'github_actions') == false }}
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: 'Enable auto-merge'
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}