diff --git a/.github/workflows/develop-update.yml b/.github/workflows/develop-update.yml index f5de2e5..74e019f 100644 --- a/.github/workflows/develop-update.yml +++ b/.github/workflows/develop-update.yml @@ -183,6 +183,10 @@ jobs: - name: "Auto-merge Pull Request" if: (steps.check_merge_source.outputs.latest_from_develop == 'true' || steps.check_merge_source.outputs.latest_from_develop == 'not_merge') && inputs.auto_merge != false run: | - gh pr merge "${{ steps.create_pr.outputs.URL }}" -t "chore(ci): Auto update develop to match main [skip ci]" -b "This was done automatically by the CI pipeline" --merge + # Approve PR + gh pr review "${{ steps.create_pr.outputs.URL }}" --approve --body "Auto-approved by CI for merging develop update." + + # Merge PR + gh pr merge "${{ steps.create_pr.outputs.URL }}" -t "chore(ci): Auto update develop to match main [skip ci]" -b "This was done automatically by the CI pipeline" --merge --auto env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}