Skip to content

Commit 362cf27

Browse files
committed
MNT Run module-standardiser
1 parent 9e5b792 commit 362cf27

File tree

4 files changed

+41
-6
lines changed

4 files changed

+41
-6
lines changed

.github/workflows/dispatch-ci.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,21 @@
11
name: Dispatch CI
22

33
on:
4-
# At 3:00 PM and 4:00 PM
4+
# At 10:50 PM UTC, only on Tuesday and Wednesday
55
schedule:
6-
- cron: '0 15,16 * * *'
6+
- cron: '50 22 * * 2,3'
7+
8+
permissions: {}
79

810
jobs:
911
dispatch-ci:
1012
name: Dispatch CI
1113
# Only run cron on the silverstripe account
1214
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
1315
runs-on: ubuntu-latest
16+
permissions:
17+
contents: read
18+
actions: write
1419
steps:
1520
- name: Dispatch CI
1621
uses: silverstripe/gha-dispatch-ci@v1

.github/workflows/keepalive.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
name: Keepalive
22

33
on:
4-
workflow_dispatch:
5-
# The 1st of every month at 3:50pm UTC
4+
# At 7:35 PM UTC, on day 24 of the month
65
schedule:
7-
- cron: '50 15 1 * *'
6+
- cron: '35 19 24 * *'
7+
workflow_dispatch:
8+
9+
permissions: {}
810

911
jobs:
1012
keepalive:
1113
name: Keepalive
1214
# Only run cron on the silverstripe account
1315
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
1416
runs-on: ubuntu-latest
17+
permissions:
18+
actions: write
1519
steps:
1620
- name: Keepalive
1721
uses: silverstripe/gha-keepalive@v1
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Tag patch release
2+
3+
on:
4+
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch
5+
workflow_dispatch:
6+
inputs:
7+
latest_local_sha:
8+
description: The latest local sha
9+
required: true
10+
type: string
11+
12+
permissions: {}
13+
14+
jobs:
15+
tagpatchrelease:
16+
name: Tag patch release
17+
# Only run cron on the silverstripe account
18+
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
19+
runs-on: ubuntu-latest
20+
permissions:
21+
contents: write
22+
steps:
23+
- name: Tag release
24+
uses: silverstripe/gha-tag-release@v2
25+
with:
26+
latest_local_sha: ${{ inputs.latest_local_sha }}

LICENSE.md LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 3-Clause License
22

3-
Copyright (c) 2018, SilverStripe Ltd.
3+
Copyright (c) 2018, Silverstripe Ltd.
44
All rights reserved.
55

66
Redistribution and use in source and binary forms, with or without

0 commit comments

Comments
 (0)