silverstripe-reports/.github/workflows/keepalive.yml

18 lines
440 B
YAML
Raw Normal View History

2022-07-05 06:04:25 +02:00
name: Keepalive
on:
2023-08-29 05:15:42 +02:00
# At 6:30 PM UTC, on day 7 of the month
2022-07-05 06:04:25 +02:00
schedule:
2023-08-29 05:15:42 +02:00
- cron: '30 18 7 * *'
workflow_dispatch:
2022-07-05 06:04:25 +02:00
jobs:
keepalive:
name: Keepalive
# Only run cron on the silverstripe account
2022-07-31 23:59:34 +02:00
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
2022-07-05 06:04:25 +02:00
runs-on: ubuntu-latest
steps:
- name: Keepalive
uses: silverstripe/gha-keepalive@v1