Skip to content

🆙 - npm: Bump jest-each from 29.3.1 to 29.6.1 #113

🆙 - npm: Bump jest-each from 29.3.1 to 29.6.1

🆙 - npm: Bump jest-each from 29.3.1 to 29.6.1 #113

name: Dependabot auto-approve
on: pull_request
permissions:
pull-requests: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/[email protected]
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Approve a PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.PR_KEY}}
GH_TOKEN: ${{secrets.PR_KEY}}
- name: Auto Merge a dependabot PR
run: gh pr merge --auto --rebase "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.PR_KEY}}