mirror of
https://github.com/silverstripe/silverstripe-frameworktest
synced 2024-10-22 11:06:02 +02:00
22 lines
497 B
YAML
22 lines
497 B
YAML
name: Keepalive
|
|
|
|
on:
|
|
# At 9:45 PM UTC, on day 18 of the month
|
|
schedule:
|
|
- cron: '45 21 18 * *'
|
|
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
|