From 64ccecd9dc54e6e66fbf3332a4081aafb43a3c40 Mon Sep 17 00:00:00 2001 From: theprashantyadav <79893616+theprashantyadav@users.noreply.github.com> Date: Tue, 5 Dec 2023 20:10:57 +0530 Subject: [PATCH] feat: update automerge (#41) Co-authored-by: anmolnagpal --- .github/workflows/automerge.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index 4f7890d..1b3877f 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -8,7 +8,7 @@ permissions: jobs: autoapprove: - name: Auto Approve a PR by dependabot + name: Auto Approve a PR by dependabot runs-on: ubuntu-latest if: github.actor == 'dependabot[bot]' steps: @@ -22,19 +22,15 @@ jobs: with: ref: ${{ github.sha }} - - uses: dominikh/staticcheck-action@v1.3.0 - with: - version: "2022.1.3" - - name: Approve a PR for Github Bot - if: ${{steps.get-status.outputs.all-checks-completed == 'true' && steps.get-status.outputs.all-checks-passed == 'true'}} + if: ${{steps.get-status.outputs.all-checks-completed == 'true' && steps.get-status.outputs.all-checks-passed == 'true'}} run: gh pr review --approve "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}} GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} - name: Approve a PR for Anmol nagpal - if: ${{steps.get-status.outputs.all-checks-completed == 'true' && steps.get-status.outputs.all-checks-passed == 'true'}} + if: ${{steps.get-status.outputs.all-checks-completed == 'true' && steps.get-status.outputs.all-checks-passed == 'true'}} run: gh pr review --approve "$PR_URL" env: PR_URL: ${{github.event.pull_request.html_url}}