Skip to content

build(deps-dev): bump decode-uri-component from 0.2.0 to 0.2.2 #12

build(deps-dev): bump decode-uri-component from 0.2.0 to 0.2.2

build(deps-dev): bump decode-uri-component from 0.2.0 to 0.2.2 #12

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}}