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

18 lines
442 B
YAML
Raw Normal View History

2022-07-05 12:18:11 +02:00
name: Keepalive
on:
2023-08-09 05:08:25 +02:00
# At 9:45 PM UTC, on day 18 of the month
2022-07-05 12:18:11 +02:00
schedule:
2023-08-09 05:08:25 +02:00
- cron: '45 21 18 * *'
workflow_dispatch:
2022-07-05 12:18:11 +02:00
jobs:
keepalive:
name: Keepalive
# Only run cron on the silverstripe account
2022-07-31 23:54:09 +02:00
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
2022-07-05 12:18:11 +02:00
runs-on: ubuntu-latest
steps:
- name: Keepalive
uses: silverstripe/gha-keepalive@v1