24 lines
534 B
YAML
Raw Normal View History

2024-02-02 13:50:32 +13:00
name: Update JS
on:
workflow_dispatch:
# Run on a schedule of once per quarter
schedule:
2024-05-16 10:09:55 +12:00
- cron: '5 1 1 */3 *'
permissions: {}
2024-02-02 13:50:32 +13:00
jobs:
update-js:
name: Update JS
# Only run cron on the colymba account
if: (github.event_name == 'schedule' && github.repository_owner == 'colymba') || (github.event_name != 'schedule')
runs-on: ubuntu-latest
2024-05-16 10:09:55 +12:00
permissions:
contents: write
pull-requests: write
actions: write
2024-02-02 13:50:32 +13:00
steps:
- name: Update JS
uses: silverstripe/gha-update-js@v1