Skip to content

Commit ed9f639

Browse files
Merge pull request #107 from creative-commoners/pulls/3.2/module-standardiser-1743718931
MNT Run module-standardiser
2 parents a69e27e + b3e9a56 commit ed9f639

File tree

5 files changed

+30
-8
lines changed

5 files changed

+30
-8
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ on:
88
jobs:
99
ci:
1010
name: CI
11+
# Do not run if this is a pull-request from same repo i.e. not a fork repo
12+
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
1113
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1

.github/workflows/dispatch-ci.yml

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

33
on:
4-
# At 12:10 PM UTC, only on Wednesday and Thursday
4+
# At 5:25 PM UTC, only on Monday and Tuesday
55
schedule:
6-
- cron: '10 12 * * 3,4'
6+
- cron: '25 17 * * 1,2'
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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,21 @@
11
name: Keepalive
22

33
on:
4-
# At 10:50 AM UTC, on day 7 of the month
4+
# At 2:10 PM UTC, on day 23 of the month
55
schedule:
6-
- cron: '50 10 7 * *'
6+
- cron: '10 14 23 * *'
77
workflow_dispatch:
88

9+
permissions: {}
10+
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

.github/workflows/merge-up.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
11
name: Merge-up
22

33
on:
4-
# At 12:10 PM UTC, only on Sunday
4+
# At 5:25 PM UTC, only on Friday
55
schedule:
6-
- cron: '10 12 * * 0'
6+
- cron: '25 17 * * 5'
77
workflow_dispatch:
88

9+
permissions: {}
10+
911
jobs:
1012
merge-up:
1113
name: Merge-up
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+
contents: write
19+
actions: write
1520
steps:
1621
- name: Merge-up
1722
uses: silverstripe/gha-merge-up@v1

.github/workflows/update-js.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,22 @@ name: Update JS
22

33
on:
44
workflow_dispatch:
5-
# Run on a schedule of once per quarter
5+
# At 9:45 PM UTC, on day 1 of the month, only in March and September
66
schedule:
7-
- cron: '50 10 1 */3 *'
7+
- cron: '45 21 1 3,9 *'
8+
9+
permissions: {}
810

911
jobs:
1012
update-js:
1113
name: Update JS
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+
contents: write
19+
pull-requests: write
20+
actions: write
1521
steps:
1622
- name: Update JS
1723
uses: silverstripe/gha-update-js@v1

0 commit comments

Comments
 (0)