mirror of
https://github.com/silverstripe/silverstripe-comments
synced 2024-10-22 11:05:49 +02:00
18 lines
445 B
YAML
18 lines
445 B
YAML
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
|
|
if: (github.event_name == 'schedule' && startsWith(github.repository, 'silverstripe/')) || (github.event_name != 'schedule')
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Keepalive
|
|
uses: silverstripe/gha-keepalive@v1
|