2022-07-14 02:50:11 +02:00
|
|
|
name: Keepalive
|
|
|
|
|
|
|
|
on:
|
2024-05-16 00:22:40 +02:00
|
|
|
# At 10:50 PM UTC, on day 15 of the month
|
2022-07-14 02:50:11 +02:00
|
|
|
schedule:
|
2024-05-16 00:22:40 +02:00
|
|
|
- cron: '50 22 15 * *'
|
2023-08-09 05:07:45 +02:00
|
|
|
workflow_dispatch:
|
2022-07-14 02:50:11 +02:00
|
|
|
|
2024-05-16 00:22:40 +02:00
|
|
|
permissions: {}
|
|
|
|
|
2022-07-14 02:50:11 +02:00
|
|
|
jobs:
|
|
|
|
keepalive:
|
|
|
|
name: Keepalive
|
|
|
|
# Only run cron on the silverstripe account
|
2022-07-31 23:57:38 +02:00
|
|
|
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
|
2022-07-14 02:50:11 +02:00
|
|
|
runs-on: ubuntu-latest
|
2024-05-16 00:22:40 +02:00
|
|
|
permissions:
|
|
|
|
actions: write
|
2022-07-14 02:50:11 +02:00
|
|
|
steps:
|
|
|
|
- name: Keepalive
|
|
|
|
uses: silverstripe/gha-keepalive@v1
|