Skip to content

Commit

Permalink
Update Snapshot packages (snapshot-labs#1459)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaituVR authored Jan 20, 2022
1 parent d1991d7 commit b031b2b
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/update-snapshot-packages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Update Snapshot packages

on:
workflow_dispatch:
schedule:
- cron: 0 * * * *

jobs:
update-dep:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: Update snapshot.js
run: |
yarn upgrade @snapshot-labs/snapshot.js --latest
- name: Update snapshot lock
run: |
yarn upgrade @snapshot-labs/lock@github:snapshot-labs/lock#master --latest
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
commit-message: Update Snapshot packages
title: Update Snapshot packages
body: |
- Updates from snapshot.js or lock packages
Auto-generated by Github Actions
branch: update-snapshot-packages

0 comments on commit b031b2b

Please sign in to comment.