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

22 lines
497 B
YAML
Raw Normal View History

name: Keepalive
on:
2024-05-20 02:54:59 +02:00
# At 9:45 PM UTC, on day 18 of the month
schedule:
2024-05-20 02:54:59 +02:00
- cron: '45 21 18 * *'
workflow_dispatch:
2024-05-20 02:54:59 +02:00
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
2024-05-20 02:54:59 +02:00
permissions:
actions: write
steps:
- name: Keepalive
uses: silverstripe/gha-keepalive@v1