chore: Synced local '.github/workflows/dependabot.yml' with remote '.github/workflows/dependabot.yml'

This commit is contained in:
googlemaps-bot 2024-05-13 14:04:02 +00:00
parent 29422cf6b5
commit 6197535287

View File

@ -17,15 +17,17 @@ on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
test:
uses: ./.github/workflows/test.yml
dependabot:
needs: test
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.SAMPLES_DEPENDABOT_TOKEN}}
GITHUB_TOKEN: ${{secrets.SYNCED_GITHUB_TOKEN_REPO}}
steps:
- name: approve
run: gh pr review --approve "$PR_URL"