Skip to content
This repository was archived by the owner on Aug 19, 2022. It is now read-only.

Commit c164d89

Browse files
author
staticdev
committed
Dependabot workflow
1 parent 6a70fce commit c164d89

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.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 Dependabot pull request
11+
runs-on: ubuntu-latest
12+
if: github.base_ref == 'master' && (github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]')
13+
steps:
14+
- uses: actions/[email protected]
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)