Skip to content

voicevox-preview 0.15.0-preview.5 #6

voicevox-preview 0.15.0-preview.5

voicevox-preview 0.15.0-preview.5 #6

Workflow file for this run

name: Auto merge
on:
pull_request:
branches: [ main ]
types: [ labeled ]
permissions:
pull-requests: write
contents: write
actions: read
checks: read
deployments: read
issues: read
discussions: read
packages: read
pages: read
repository-projects: read
security-events: read
statuses: read
jobs:
auto-merge:
runs-on: ubuntu-latest
if: >-
github.event.pull_request.user.login == 'Hiroshiba' &&
contains(github.event.pull_request.labels.*.name, 'bump-cask-pr')
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout repository with preceding commits
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Approve PR
run: gh pr review "$PR_URL" --approve
- name: Enable auto-merge
run: gh pr merge --squash --auto "$PR_URL"