Skip to content

Commit

Permalink
Feat: update the automerge workflow for static checks
Browse files Browse the repository at this point in the history
  • Loading branch information
anmolnagpal committed Dec 5, 2023
1 parent 6b4a3f5 commit 12472ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ 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'}}
run: gh pr review --approve "$PR_URL"
Expand Down

0 comments on commit 12472ce

Please sign in to comment.