Skip to content

Commit

Permalink
daily bump dependencies and create pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
campersau committed Mar 18, 2020
1 parent c15bbef commit 63ef1a5
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/bump.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Bump Dependencies

on:
push:
branches:
- master
schedule:
- cron: '0 0 * * *'

jobs:
bump:
if: github.repository == 'FredrikNoren/ungit'
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '*'

- run: npm ci
- run: ./node_modules/.bin/grunt bumpdependencies
- run: npm install

- name: Create Pull Request
uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Bump Dependencies
title: Bump Dependencies
body: Bump Dependencies
labels: dependencies
branch: bumpdependencies

0 comments on commit 63ef1a5

Please sign in to comment.