Skip to content

👷 Laravel instrumentation 1.1.x #316

👷 Laravel instrumentation 1.1.x

👷 Laravel instrumentation 1.1.x #316

name: Dependabot auto-approve
on: pull_request
permissions:
contents: read
jobs:
dependabot:
permissions:
pull-requests: write
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'open-telemetry/opentelemetry-php-contrib'
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@08eff52bf64351f401fb50d4972fa95b9f2c2d1b
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}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}