recipe-cms/.github/workflows/keepalive.yml

22 lines
496 B
YAML
Raw Normal View History

2022-07-05 19:01:43 +12:00
name: Keepalive
on:
2024-05-17 14:00:36 +12:00
# At 6:30 AM UTC, on day 19 of the month
2022-07-05 19:01:43 +12:00
schedule:
2024-05-17 14:00:36 +12:00
- cron: '30 6 19 * *'
2023-08-09 15:04:01 +12:00
workflow_dispatch:
2022-07-05 19:01:43 +12:00
2024-05-16 10:17:59 +12:00
permissions: {}
2022-07-05 19:01:43 +12:00
jobs:
keepalive:
name: Keepalive
# Only run cron on the silverstripe account
2022-08-01 10:44:06 +12:00
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
2022-07-05 19:01:43 +12:00
runs-on: ubuntu-latest
2024-05-16 10:17:59 +12:00
permissions:
actions: write
2022-07-05 19:01:43 +12:00
steps:
- name: Keepalive
uses: silverstripe/gha-keepalive@v1