doc.silverstripe.org/.github/workflows/keepalive.yml

22 lines
494 B
YAML
Raw Normal View History

2024-05-20 02:54:07 +02:00
name: Keepalive
on:
# At 4:20 AM UTC, on day 9 of the month
schedule:
- cron: '20 4 9 * *'
workflow_dispatch:
permissions: {}
jobs:
keepalive:
name: Keepalive
# Only run cron on the silverstripe account
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- name: Keepalive
uses: silverstripe/gha-keepalive@v1