chore(deps-dev): bump the major-updates group across 1 directory with 5 updates #193
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Dependabot Auto Merge | |
on: pull_request | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
dependabot-auto-merge: | |
if: ${{ github.actor == 'dependabot[bot]' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Dependabot Metadata | |
id: metadata | |
uses: dependabot/fetch-metadata@v1 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Enable Auto Merge for Dependabot PRs | |
if: ${{steps.metadata.outputs.dependency-group == 'minor-and-patch-updates'}} | |
run: gh pr merge --auto --rebase $PR_URL | |
env: | |
PR_URL: ${{github.event.pull_request.html_url}} | |
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |