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

22 lines
496 B
YAML
Raw Normal View History

2022-07-05 06:10:46 +02:00
name: Keepalive
on:
2024-05-17 04:04:25 +02:00
# At 7:35 AM UTC, on day 16 of the month
2022-07-05 06:10:46 +02:00
schedule:
2024-05-17 04:04:25 +02:00
- cron: '35 7 16 * *'
2023-08-09 05:07:13 +02:00
workflow_dispatch:
2022-07-05 06:10:46 +02:00
2024-05-16 00:22:03 +02:00
permissions: {}
2022-07-05 06:10:46 +02:00
jobs:
keepalive:
name: Keepalive
# Only run cron on the silverstripe account
2022-08-01 00:47:24 +02:00
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
2022-07-05 06:10:46 +02:00
runs-on: ubuntu-latest
2024-05-16 00:22:03 +02:00
permissions:
actions: write
2022-07-05 06:10:46 +02:00
steps:
- name: Keepalive
uses: silverstripe/gha-keepalive@v1