diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index 21bb5f0af..0d85cf185 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -21,7 +21,7 @@ jobs: echo "pr: $PR_NUMBER" echo "PR_NUMBER=$PR_NUMBER" >> $GITHUB_ENV - name: Approve Pull Request - uses: juliangruber/approve-pull-request-action@v1 + uses: juliangruber/approve-pull-request-action@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }} number: ${{ env.PR_NUMBER }} diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index 45b437767..49a5b78b1 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Approve Pull Request - uses: juliangruber/approve-pull-request-action@v1 + uses: juliangruber/approve-pull-request-action@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }} number: 2 @@ -26,7 +26,7 @@ jobs: echo "pr: $PR_NUMBER" echo "PR_NUMBER=$PR_NUMBER" >> $GITHUB_ENV - name: Approve Pull Request - uses: juliangruber/approve-pull-request-action@v1 + uses: juliangruber/approve-pull-request-action@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }} number: ${{ env.PR_NUMBER }} diff --git a/.github/workflows/conditional-auto-approve.yml b/.github/workflows/conditional-auto-approve.yml index 731dae5e6..c95369a48 100644 --- a/.github/workflows/conditional-auto-approve.yml +++ b/.github/workflows/conditional-auto-approve.yml @@ -57,7 +57,7 @@ jobs: - name: Approve Pull Request if: ${{ steps.check-change-and-create-comment.outputs.AUTO_APPROVE == '1' }} - uses: juliangruber/approve-pull-request-action@v1 + uses: juliangruber/approve-pull-request-action@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }} number: ${{ env.PR_NUMBER }}