Skip to content

Commit

Permalink
Auto approve automated PR (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
toddkao authored Aug 1, 2024
1 parent 07923f5 commit d1a5916
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Auto approve PR
if: ${{ github.actor == 'github-actions[bot]' }}
uses: hmarr/auto-approve-action@v4
continue-on-error: true
with:
review-message: 'Auto approved automated PR'

- name: Add automerge Label to PR
run: gh pr edit --add-label "automerge" "$PR_URL"
continue-on-error: true
Expand Down

0 comments on commit d1a5916

Please sign in to comment.