Skip to content

chore(deps-dev): bump @babel/eslint-parser from 7.23.9 to 7.23.10 in /sanity-cms #7

chore(deps-dev): bump @babel/eslint-parser from 7.23.9 to 7.23.10 in /sanity-cms

chore(deps-dev): bump @babel/eslint-parser from 7.23.9 to 7.23.10 in /sanity-cms #7

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}}