Skip to content

chore(deps): bump the dev group across 1 directory with 3 updates #7

chore(deps): bump the dev group across 1 directory with 3 updates

chore(deps): bump the dev group across 1 directory with 3 updates #7

Workflow file for this run

# This file is synced with beam-community/common-config. Any changes will be overwritten.
name: Dependabot
on:
pull_request:
types:
- opened
- reopened
- synchronize
permissions:
contents: write
pull-requests: write
jobs:
Dependabot:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]'
steps:
- name: Fetch Metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Approve PR
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 for patch and minor updates
if: steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor' || steps.metadata.outputs.dependency-type == 'direct:production'
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}