mirror of
https://github.com/silverstripe/doc.silverstripe.org
synced 2024-10-22 17:05:50 +02:00
MNT Run module-standardiser
This commit is contained in:
parent
898fa63ff4
commit
f881d22bfa
21
.github/workflows/keepalive.yml
vendored
Normal file
21
.github/workflows/keepalive.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
name: Keepalive
|
||||
|
||||
on:
|
||||
# At 4:20 AM UTC, on day 9 of the month
|
||||
schedule:
|
||||
- cron: '20 4 9 * *'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
keepalive:
|
||||
name: Keepalive
|
||||
# Only run cron on the silverstripe account
|
||||
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
actions: write
|
||||
steps:
|
||||
- name: Keepalive
|
||||
uses: silverstripe/gha-keepalive@v1
|
23
.github/workflows/update-js.yml
vendored
Normal file
23
.github/workflows/update-js.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
name: Update JS
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
# Run on a schedule of once per quarter
|
||||
schedule:
|
||||
- cron: '55 11 1 */3 *'
|
||||
|
||||
permissions: {}
|
||||
|
||||
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
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
actions: write
|
||||
steps:
|
||||
- name: Update JS
|
||||
uses: silverstripe/gha-update-js@v1
|
Loading…
Reference in New Issue
Block a user