Skip to content

Commit

Permalink
MNT Run module-standardiser
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed May 16, 2024
1 parent 96232c0 commit b173fd0
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 8 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/dispatch-ci.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,21 @@
name: Dispatch CI

on:
# At 3:00 PM and 4:00 PM
# At 8:40 PM UTC, only on Sunday and Monday
schedule:
- cron: '0 15,16 * * *'
- cron: '40 20 * * 0,1'

permissions: {}

jobs:
dispatch-ci:
name: Dispatch CI
# 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:
contents: read
actions: write
steps:
- name: Dispatch CI
uses: silverstripe/gha-dispatch-ci@v1
10 changes: 7 additions & 3 deletions .github/workflows/keepalive.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
name: Keepalive

on:
workflow_dispatch:
# The 1st of every month at 3:50pm UTC
# At 8:40 PM UTC, on day 1 of the month
schedule:
- cron: '50 15 1 * *'
- cron: '40 20 1 * *'
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
2 changes: 1 addition & 1 deletion LICENSE.md → LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 3-Clause License

Copyright (c) 2018, SilverStripe Ltd.
Copyright (c) 2018, Silverstripe Ltd.
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@
"silverstripe/frameworktest": "^1",
"silverstripe/graphql-devtools": "1.x-dev",
"silverstripe/recipe-testing": "^3",
"mikey179/vfsstream": "^1.6"
"mikey179/vfsstream": "^1.6",
"silverstripe/standards": "^1",
"phpstan/extension-installer": "^1.3"
},
"extra": {
"project-files": [
Expand All @@ -68,4 +70,4 @@
},
"prefer-stable": true,
"minimum-stability": "dev"
}
}

0 comments on commit b173fd0

Please sign in to comment.