From daf52979d51324c1ddfd118c74ac78034acc47e9 Mon Sep 17 00:00:00 2001 From: Alfredo Date: Tue, 17 Dec 2024 16:39:41 +0100 Subject: [PATCH] auto merge --- .github/workflows/push-tests.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/push-tests.yml b/.github/workflows/push-tests.yml index 0cf8b3d..1c57f87 100644 --- a/.github/workflows/push-tests.yml +++ b/.github/workflows/push-tests.yml @@ -67,7 +67,6 @@ jobs: --reviewer "${{ github.actor }}" \ 2>&1) echo "PR_URL=$PR_URL" >> $GITHUB_OUTPUT - echo "$PR_URL" merge-pr: runs-on: ubuntu-latest @@ -81,7 +80,6 @@ jobs: - name: Approve and merge pull request run: | PR_NUMBER=$(echo "$PR_URL" | sed 's/.*\/pull\/\([0-9]*\)/\1/') - #gh pr review "$PR_NUMBER" --approve --repo ${{ github.repository }} - gh pr merge "$PR_NUMBER" --merge --repo ${{ github.repository }} + gh pr merge "$PR_NUMBER" --merge --auto --repo ${{ github.repository }} env: GITHUB_TOKEN: ${{ github.token }}