Skip to content

Callout PSR-4 standards for unit tests #74

Callout PSR-4 standards for unit tests

Callout PSR-4 standards for unit tests #74

name: Dependabot auto-approve
on:
workflow_call:
pull_request:
permissions:
pull-requests: write
jobs:
dependabot:
runs-on: ubuntu-latest
timeout-minutes: 10
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/[email protected]
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}}