Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 #84

Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0

Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 #84

Workflow file for this run

---
name: Auto Merge
on: pull_request_target
permissions:
pull-requests: write
contents: write
jobs:
dependabot-auto-merge:
name: Dependabot Auto Merge
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
# Keeping the metadata here as it validates the commit signature
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1.6.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Approve a PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
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 }}