Skip to content

Commit

Permalink
Merge pull request #344 from creative-commoners/pulls/3/update-js
Browse files Browse the repository at this point in the history
MNT Use up­date-js action
  • Loading branch information
GuySartorelli committed Jul 29, 2022
2 parents a3f2f3c + b9341d6 commit 6974bfd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/update-js-deps.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/update-js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Update JS

on:
workflow_dispatch:
# Run on a schedule of once per quarter
schedule:
- cron: '0 0 1 */3 *'

jobs:
update-js:
name: Update JS
# Only run cron on the silverstripe account
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
runs-on: ubuntu-latest
steps:
- name: Update JS
uses: silverstripe/gha-update-js@v1

0 comments on commit 6974bfd

Please sign in to comment.