Skip to content

ci: fix the docker driver build #16353

ci: fix the docker driver build

ci: fix the docker driver build #16353

# Auto-merge as documented in official Github docs
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions
name: Auto-review Dependabot PRs
on: pull_request
permissions:
pull-requests: write
contents: write
jobs:
dependabot-reviewer:
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v2.2.0
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Approve and auto-merge the dependabot PR
run: |
gh pr merge --auto --squash "$PR_URL"
gh pr review $PR_URL \
--approve -b "Auto approve dependencies bump PR"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: "${{ secrets.GH_BOT_ACCESS_TOKEN }}"