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

18 lines
440 B
YAML
Raw Normal View History

2022-07-14 02:06:51 +02:00
name: Keepalive
on:
workflow_dispatch:
# The 4th of every month at 10:50am UTC
schedule:
- cron: '50 10 4 * *'
jobs:
keepalive:
name: Keepalive
# Only run cron on the silverstripe account
2022-08-01 00:05:42 +02:00
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
2022-07-14 02:06:51 +02:00
runs-on: ubuntu-latest
steps:
- name: Keepalive
uses: silverstripe/gha-keepalive@v1