Skip to content

docs: Update docs

docs: Update docs #5

Workflow file for this run

name: Auto-Approve PR
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
auto-approve:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Auto-approve PR if conditions are met
run: |
if [[ "${{ github.actor }}" == "googlemaps-bot" && "${{ github.head_ref }}" == "googlemaps-bot/update_gh_pages" ]]; then
echo "Conditions met, approving PR..."
curl -X POST \
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
-d '{"event":"APPROVE"}' \
"https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/reviews"
else
echo "Conditions not met, skipping approval."
fi