From 4a59b4777c112cab6e893d58e59dbab49c78dd18 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Fri, 2 Feb 2024 14:38:00 +1300 Subject: [PATCH] MNT Run module-standardiser (#453) --- .github/workflows/update-js.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/update-js.yml diff --git a/.github/workflows/update-js.yml b/.github/workflows/update-js.yml new file mode 100644 index 000000000..7056de188 --- /dev/null +++ b/.github/workflows/update-js.yml @@ -0,0 +1,17 @@ +name: Update JS + +on: + workflow_dispatch: + # Run on a schedule of once per quarter + schedule: + - cron: '50 10 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