Skip to content

chore(deps): bump peter-evans/create-pull-request from 5 to 6 #5

chore(deps): bump peter-evans/create-pull-request from 5 to 6

chore(deps): bump peter-evans/create-pull-request from 5 to 6 #5

Workflow file for this run

name: Bot Auto-Approve and Merge
on: pull_request
permissions:
contents: write
pull-requests: write
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' || github.actor == 'github-action[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Auto-approve bot PR
run: gh pr review --approve "$PR_URL"
- name: Auto-merge bot PRs
run: gh pr merge --auto --merge "$PR_URL"