Skip to content
This repository was archived by the owner on Feb 17, 2021. It is now read-only.

Commit 0c6bc00

Browse files
author
staticdev
committed
Dependabot automerge
1 parent 5f3be4a commit 0c6bc00

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/dependabot.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Dependabot
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
8+
jobs:
9+
automerge:
10+
name: Merge pull request
11+
runs-on: ubuntu-latest
12+
if: github.base_ref == 'master' && github.actor == 'dependabot[bot]'
13+
steps:
14+
- uses: actions/github-script@0.9.0
15+
with:
16+
github-token: ${{github.token}}
17+
script: |
18+
github.pullRequests.merge({
19+
owner: context.repo.owner,
20+
repo: context.repo.repo,
21+
pull_number: context.payload.pull_request.number
22+
})

0 commit comments

Comments
 (0)