Skip to content

Commit a91139b

Browse files
authored
Merge pull request #1510 from Py4Js/dependabot-auto-merge
Added auto-merge dependabot workflow
2 parents 4a2716f + 52d3e06 commit a91139b

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

.github/dependabot.yml

-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ updates:
55
open-pull-requests-limit: 1000
66
schedule:
77
interval: "daily"
8-
target-branch: "development"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: "auto-merge-dependabot"
2+
on:
3+
pull_request:
4+
jobs:
5+
auto-merge:
6+
if: github.actor == 'dependabot[bot]'
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout repository
10+
uses: actions/checkout@v3
11+
- name: Setup node
12+
uses: actions/setup-node@v3
13+
with:
14+
node-version: "lts/*"
15+
- name: Install dependencies
16+
run: yarn --ignore-engines
17+
- name: Run test
18+
run: yarn run test
19+
- name: Auto-merge action
20+
uses: ahmadnassri/action-dependabot-auto-merge@v2
21+
with:
22+
target: minor
23+
github-token: ${{ secrets.token }}

0 commit comments

Comments
 (0)