Skip to content

chore: release

chore: release #1177

Workflow file for this run

name: Auto Merge
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
contributors:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'github-actions[bot]'
steps:
- name: Approve PR
if: contains(github.event.pull_request.title, 'docs(contributor)')
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Enable auto-merge
if: contains(github.event.pull_request.title, 'docs(contributor)')
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}