diff --git a/.github/workflows/auto-merge-dependabot-prs.yml b/.github/workflows/auto-merge-dependabot-prs.yml index 4b16001..777d949 100644 --- a/.github/workflows/auto-merge-dependabot-prs.yml +++ b/.github/workflows/auto-merge-dependabot-prs.yml @@ -29,20 +29,12 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: echo branch name - run: echo ${{ steps.find_branch_name.outputs.text }} - - name: Find Pull Request uses: juliangruber/find-pull-request-action@v1 id: find-pull-request with: branch: ${{ steps.find_branch_name.outputs.text }} - - - run: echo "Pull Request ${number} " - env: - number: ${{ steps.find-pull-request.outputs.number }} - - name: Auto approve id: autoApprove uses: juliangruber/approve-pull-request-action@v2 @@ -50,7 +42,6 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} number: ${{ steps.find-pull-request.outputs.number }} - - name: Enable auto-merge run: | gh pr merge --auto --squash "$PR_URL"