Skip to content

Bump mecab-python3 from 1.0.9 to 1.0.10 #144

Bump mecab-python3 from 1.0.9 to 1.0.10

Bump mecab-python3 from 1.0.9 to 1.0.10 #144

name: Automate Dependabot
on:
pull_request:
types:
- opened
- synchronize
- reopened
permissions:
contents: write
pull-requests: write
issues: write
repository-projects: write
jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"
- name: Enable auto-merge for Dependabot Pull Requests
if: |
steps.metadata.outputs.update-type == 'version-update:semver-patch' ||
steps.metadata.outputs.dependency-type == 'direct:development'
run: |
gh pr review --approve "$PR_URL"
gh pr edit "$PR_URL" --add-label "auto merge"
gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}