Skip to content

Commit

Permalink
ci: add automerge job; add dependabot config (#7)
Browse files Browse the repository at this point in the history
* ci: ignore documentation updates

* ci: add dependabot automerge job

* build(dependabot): add dependabot config
  • Loading branch information
Fdawgs authored May 10, 2021
1 parent 9c7790d commit 4a4fcdd
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: '/'
schedule:
interval: daily
open-pull-requests-limit: 10
- package-ecosystem: npm
directory: '/'
schedule:
interval: daily
open-pull-requests-limit: 10
20 changes: 19 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
---
name: CI
on: [push, pull_request]

on:
push:
paths-ignore:
- 'docs/**'
- '*.md'
pull_request:
paths-ignore:
- 'docs/**'
- '*.md'

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -23,3 +33,11 @@ jobs:
run: npm install
- name: Run Tests
run: npm run test

automerge:
needs: build
runs-on: ubuntu-latest
steps:
- uses: fastify/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 4a4fcdd

Please sign in to comment.