2022-06-27 05:30:03 +02:00
|
|
|
name: Keepalive
|
|
|
|
|
|
|
|
on:
|
2024-05-17 03:57:50 +02:00
|
|
|
# At 5:25 AM UTC, on day 18 of the month
|
2022-06-27 05:30:03 +02:00
|
|
|
schedule:
|
2024-05-17 03:57:50 +02:00
|
|
|
- cron: '25 5 18 * *'
|
2022-06-27 05:30:03 +02:00
|
|
|
workflow_dispatch:
|
|
|
|
|
2024-05-16 00:15:11 +02:00
|
|
|
permissions: {}
|
|
|
|
|
2022-06-27 05:30:03 +02:00
|
|
|
jobs:
|
|
|
|
keepalive:
|
|
|
|
name: Keepalive
|
2022-07-28 05:18:16 +02:00
|
|
|
# Only run cron on the silverstripe account
|
|
|
|
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
|
2022-06-27 05:30:03 +02:00
|
|
|
runs-on: ubuntu-latest
|
2024-05-16 00:15:11 +02:00
|
|
|
permissions:
|
|
|
|
actions: write
|
2022-06-27 05:30:03 +02:00
|
|
|
steps:
|
|
|
|
- name: Keepalive
|
|
|
|
uses: silverstripe/gha-keepalive@v1
|