Skip to content

[DDO-3654]: Bump google.golang.org/api from 0.197.0 to 0.199.0 in /sherlock #286

[DDO-3654]: Bump google.golang.org/api from 0.197.0 to 0.199.0 in /sherlock

[DDO-3654]: Bump google.golang.org/api from 0.197.0 to 0.199.0 in /sherlock #286

name: Dependabot Auto-Merge
on:
pull_request:
branches:
- main
permissions:
contents: write
pull-requests: write
jobs:
dependabot-automerge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Approve PR as Dependabot
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh pr review --approve "$PR_URL"
- name: Approve PR as Broadbot
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.BROADBOT_TOKEN }}
run: |
gh pr review --approve "$PR_URL"
- name: Enable auto-merge for PR as Broadbot
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.BROADBOT_TOKEN }}
run: |
gh pr merge --auto --squash "$PR_URL"