Skip to content

emteknetnz/gha-update-js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Actions - Update JS

Update JS dependencies in core Silverstripe modules, create new bundles and create pull-requests

Usage:

This action has no inputs. It is intended to be run on a schedule. You can copy the below example verbatim, and just modify the schedule to suit your use case.

.github/workflows/update-js.yml

name: Update JS

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

jobs:
  update-js:
    # Only run the cron on the account hosting this repository, not on the accounts of forks
    # Change '<account_name>' to match the name of the account hosting this repository
    if: (github.event_name == 'schedule' && github.repository_owner == '<account_name>') || (github.event_name != 'schedule')
    name: Update JS
    runs-on: ubuntu-latest
    steps:
      - name: Update JS
        uses: silverstripe/gha-update-js@v1

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published