Skip to content

Commit 9d479d1

Browse files
authored
Merge pull request #278 from daniloab/feat/auto-merge
feat(auto-merge): dependabot
2 parents eb9fa00 + dec9a1d commit 9d479d1

2 files changed

Lines changed: 39 additions & 0 deletions

File tree

.github/workflows/auto-merge.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: auto-merge
2+
3+
on:
4+
pull_request_target:
5+
branches:
6+
- master
7+
8+
jobs:
9+
auto-merge:
10+
runs-on: ubuntu-latest
11+
if: github.actor == 'dependabot[bot]'
12+
steps:
13+
- uses: ahmadnassri/action-dependabot-auto-merge@v2.4
14+
with:
15+
github-token: ${{ secrets.AUTOMERGE_TOKEN }}
16+
command: 'squash and merge'
17+
target: minor

.github/workflows/test.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Setup Node.js
18+
uses: actions/setup-node@v2
19+
with:
20+
node-version: '14'
21+
- run: yarn
22+
- run: yarn jest

0 commit comments

Comments
 (0)