Skip to content

Commit 30e8503

Browse files
committed
Update release-prepare-monthly.yml
1 parent fbc6656 commit 30e8503

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/release-prepare-monthly.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,16 @@ jobs:
4141
4242
> [!WARNING]
4343
> Only use `Merge Commit` to merge this pull request. Do not use `Rebase and Merge` or `Squash and Merge`.
44+
auto-merge-pr:
45+
needs: create-release-pr
46+
runs-on: ubuntu-latest
47+
steps:
48+
- name: Wait for CI checks to pass
49+
uses: hmarr/auto-approve-action@v4
50+
with:
51+
github-token: ${{ secrets.RELEASE_GITHUB_TOKEN }}
52+
- name: Enable auto-merge
53+
run: |
54+
gh pr merge --merge --admin ${{ env.BRANCH_NAME }}
55+
env:
56+
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)