Skip to content

Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 #6

Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0

Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 #6

Workflow file for this run

name: Check dependabot update
on:
pull_request:
branches:
- main
paths:
- .github/workflows/*.yml
permissions:
contents: write
pull-requests: write
jobs:
test-feature:
uses: ./.github/workflows/test-feature.yml
dependabot-auto-approve:
needs:
- test-feature
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: dependabot-metadata
uses: dependabot/[email protected]
with:
github-token: '${{ secrets.GITHUB_TOKEN }}'
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}