Skip to content

Commit

Permalink
add: auto approve PR to build_book workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
RealRichi3 committed May 12, 2024
1 parent 2beebf3 commit 79b6a8b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build_book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ jobs:
pr_allow_empty: true
token: ${{ secrets.PAT_TOKEN }}

- name: Pull request number
run: echo "Pull Request Number - ${{ steps.create_pr.outputs.pull_request_number }}"
id: pr_number
- name: Auto approve PR
uses: gregswindle/auto-approve-action@v2
with:
github-token: ${{ secrets.PAT_TOKEN }}
pull-request-number: ${{ steps.pr_number.outputs.pr_number }}
approval-comment: ":+1: This PR is approved"

0 comments on commit 79b6a8b

Please sign in to comment.