mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
MNT Use update-js action
This commit is contained in:
parent
a3f2f3cd48
commit
b9341d6185
9
.github/workflows/update-js-deps.yml
vendored
9
.github/workflows/update-js-deps.yml
vendored
@ -1,9 +0,0 @@
|
|||||||
name: Update JS deps
|
|
||||||
on:
|
|
||||||
# Run on a schedule once per quarter
|
|
||||||
schedule:
|
|
||||||
- cron: '0 0 1 */3 *'
|
|
||||||
workflow_dispatch:
|
|
||||||
jobs:
|
|
||||||
ci:
|
|
||||||
uses: silverstripe/github-actions-ci-cd/.github/workflows/update-js-deps.yml@v0.1
|
|
17
.github/workflows/update-js.yml
vendored
Normal file
17
.github/workflows/update-js.yml
vendored
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user