Skip to content

Bump dependabot/fetch-metadata from 1 to 2 #47

Bump dependabot/fetch-metadata from 1 to 2

Bump dependabot/fetch-metadata from 1 to 2 #47

Workflow file for this run

name: Dependabot Auto-Merge
on:
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
workflow_dispatch:
jobs:
dependabot-auto-merge:
name: Dependabot Auto-Merge
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
permissions:
contents: write
pull-requests: write
issues: write
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Fetch Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Enable auto-merge for pull request
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh pr merge --auto --rebase ${{ github.event.pull_request.html_url }}