Skip to content

πŸ”„ synced file(s) with illallangi/.github #2

πŸ”„ synced file(s) with illallangi/.github

πŸ”„ synced file(s) with illallangi/.github #2

---
jobs:
dependabot-merge:
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- id: metadata
name: Dependabot metadata
uses: dependabot/fetch-metadata@v1
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
PR_URL: ${{github.event.pull_request.html_url}}
name: Approve a PR
run: gh pr review --approve "$PR_URL"
name: Dependabot auto-approve
on: pull_request
permissions:
pull-requests: write