Skip to content

Commit

Permalink
Add update dependencies workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Evans committed May 6, 2020
1 parent 86047ba commit 0dba5db
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 11 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/update-dep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Update Dependencies
on:
schedule:
- cron: '0 1 * * 4'
jobs:
update-dep:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Update dependencies
run: |
npx -p npm-check-updates ncu -u
npm install
- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.ACTIONS_BOT_TOKEN }}
commit-message: Update dependencies
committer: GitHub <noreply@github.com>
author: actions-bot <actions-bot@users.noreply.github.com>
title: Update dependencies
body: |
- Dependency updates
Auto-generated by [create-pull-request][1]

[1]: https://github.com/peter-evans/create-pull-request
branch: update-dependencies
11 changes: 0 additions & 11 deletions renovate.json

This file was deleted.

0 comments on commit 0dba5db

Please sign in to comment.