From 35e14e3cddb41c94231b3fbcec473a64dae18b95 Mon Sep 17 00:00:00 2001 From: Zach Borboa Date: Tue, 17 Oct 2023 19:29:13 -0700 Subject: [PATCH] Approve pre-commit updates --- .github/workflows/pre-commit-auto-update.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/pre-commit-auto-update.yml b/.github/workflows/pre-commit-auto-update.yml index 7ddd373..45bc16a 100644 --- a/.github/workflows/pre-commit-auto-update.yml +++ b/.github/workflows/pre-commit-auto-update.yml @@ -49,3 +49,10 @@ jobs: if: ${{ steps.cpr.outputs.pull-request-number }} run: | echo "Pull request: ${{ steps.cpr.outputs.pull-request-url }}" + + - name: Approve update + if: ${{ steps.cpr.outputs.pull-request-number }} + run: | + gh pr review --approve "${{ steps.cpr.outputs.pull-request-url }}" + env: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}