Skip to content

Commit

Permalink
Merge pull request #18 from creative-commoners/pulls/3/module-standar…
Browse files Browse the repository at this point in the history
…diser-1716166266

MNT Run module-standardiser
  • Loading branch information
GuySartorelli authored May 21, 2024
2 parents 2940cea + 51cd2b9 commit bd71a4f
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 6 deletions.
31 changes: 31 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# For more information about the properties used in
# this file, please see the EditorConfig documentation:
# http://editorconfig.org/

[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[*.{yml,js,json,css,scss,eslintrc,feature}]
indent_size = 2
indent_style = space

[composer.json]
indent_size = 4

# Don't perform any clean-up on thirdparty files

[thirdparty/**]
trim_trailing_whitespace = false
insert_final_newline = false

[admin/thirdparty/**]
trim_trailing_whitespace = false
insert_final_newline = false
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 2:00 PM UTC, only on Sunday and Monday
# At 8:40 PM UTC, only on Saturday and Sunday
schedule:
- cron: '0 14 * * 0,1'
- cron: '40 20 * * 6,0'

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 8th of every month at 2:50pm UTC
# At 5:25 PM UTC, on day 14 of the month
schedule:
- cron: '50 14 8 * *'
- cron: '25 17 14 * *'
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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 3-Clause License

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

Redistribution and use in source and binary forms, with or without
Expand Down

0 comments on commit bd71a4f

Please sign in to comment.