Skip to content

chore(deps): bump dependabot/fetch-metadata from 1.6.0 to 2.1.0 #323

chore(deps): bump dependabot/fetch-metadata from 1.6.0 to 2.1.0

chore(deps): bump dependabot/fetch-metadata from 1.6.0 to 2.1.0 #323

Workflow file for this run

name: Dependabot auto-merge
on: pull_request
permissions:
contents: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- uses: actions/checkout@v4
- name: Dependabot metadata
id: metadata
uses: dependabot/[email protected]
- name: Enable auto-merge for Dependabot PRs
if: ${{ steps.metadata.outputs.update-type == 'version-update:semver-patch' }}
run: gh pr merge --auto --merge "$PR_URL"
env:
GH_TOKEN: ${{ secrets.DEPENDABOT_NODE_TOKEN }}
PR_URL: ${{github.event.pull_request.html_url}}