From c67c80aa2fb9d701ebe8a98f7e693f065ac495c5 Mon Sep 17 00:00:00 2001 From: Scott Leggett Date: Thu, 21 Dec 2023 23:45:09 +0800 Subject: [PATCH] chore: enable dependabot-autoapprove --- .github/workflows/dependabot-automerge.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/dependabot-automerge.yaml b/.github/workflows/dependabot-automerge.yaml index ac39998..6d8ebe4 100644 --- a/.github/workflows/dependabot-automerge.yaml +++ b/.github/workflows/dependabot-automerge.yaml @@ -25,3 +25,9 @@ jobs: env: PR_URL: ${{github.event.pull_request.html_url}} GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} + - name: Auto-approve well-maintained dependencies + if: contains(steps.metadata.outputs.dependency-names, 'k8s.io/client-go') + run: gh pr review --approve "$PR_URL" + env: + PR_URL: ${{github.event.pull_request.html_url}} + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}