Skip to content

voicevox-preview 0.15.0-preview.5 #4

voicevox-preview 0.15.0-preview.5

voicevox-preview 0.15.0-preview.5 #4

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
id-token: read

Check failure on line 14 in .github/workflows/auto-merge.yml

View workflow run for this annotation

GitHub Actions / Auto merge

Invalid workflow file

The workflow is not valid. .github/workflows/auto-merge.yml (Line: 14, Col: 13): Unexpected value '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"