Skip to content

refactor

refactor #113

Workflow file for this run

name: Pull Request Auto Merge
on:
pull_request:
permissions:
contents: write
pull-requests: write
jobs:
pull-request-auto-merge:
if: ${{ !github.event.pull_request.draft }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Enable auto-merge for Pull Request
run: |
gh pr review --approve "$PR_URL"
gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}