diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index 59efadbee0..01671a1fb2 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -30,3 +30,8 @@ jobs: run: | echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}" echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}" + - name: Enable auto-merge + run: gh pr merge --auto --merge "$PR_URL" + env: + PR_URL: "${{ steps.cpr.outputs.pull-request-url }}" + GH_TOKEN: ${{secrets.GITHUB_TOKEN}}