Skip to content

Bump dependabot/fetch-metadata from 2 to 3 in /.github/workflows #1062

Bump dependabot/fetch-metadata from 2 to 3 in /.github/workflows

Bump dependabot/fetch-metadata from 2 to 3 in /.github/workflows #1062

Workflow file for this run

name: Dependabot automerge
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{github.actor == 'dependabot[bot]'}}
steps:
- name: Metadata
id: metadata
uses: dependabot/fetch-metadata@v3
with:
github-token: "${{secrets.GITHUB_TOKEN}}"
- name: Automerge
if: ${{steps.metadata.outputs.dependency-type == 'direct:development' || steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}