Skip to content

build(deps-dev): bump json5 from 1.0.1 to 1.0.2 #11

build(deps-dev): bump json5 from 1.0.1 to 1.0.2

build(deps-dev): bump json5 from 1.0.1 to 1.0.2 #11

name: "Dependabot Automerge - Action"
on:
pull_request:
jobs:
worker:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
if: github.actor == 'dependabot[bot]'
steps:
- name: automerge
uses: actions/[email protected]
with:
script: |
github.pullRequests.createReview({
owner: context.payload.repository.owner.login,
repo: context.payload.repository.name,
pull_number: context.payload.pull_request.number,
event: 'APPROVE'
})
github.pullRequests.merge({
owner: context.payload.repository.owner.login,
repo: context.payload.repository.name,
pull_number: context.payload.pull_request.number
})
github-token: ${{secrets.GITHUB_TOKEN}}