Skip to content

Commit

Permalink
Merge branch '4' into 5.0
Browse files Browse the repository at this point in the history
# Conflicts:
#	composer.json
#	phpunit.xml.dist
  • Loading branch information
GuySartorelli committed Apr 27, 2023
2 parents ed07891 + e7c578e commit 1ebb9ef
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,10 @@ on:
push:
pull_request:
workflow_dispatch:
# Every day at 3:00pm UTC
schedule:
- cron: '0 15 * * *'

jobs:
ci:
name: CI
# Only run cron on the silverstripe account
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1
with:
# Use simple_matrix to limit the number of created jobs
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/dispatch-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Dispatch CI

on:
# At 3:00 PM and 4:00 PM
schedule:
- cron: '0 15,16 * * *'

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
steps:
- name: Dispatch CI
uses: silverstripe/gha-dispatch-ci@v1
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@
},
"prefer-stable": true,
"minimum-stability": "dev"
}
}
1 change: 0 additions & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,5 @@
<directory>vendor/symbiote/silverstripe-gridfieldextensions/tests</directory>
<directory>vendor/silverstripe/staticpublishqueue/tests</directory>
</testsuite>

</testsuites>
</phpunit>

0 comments on commit 1ebb9ef

Please sign in to comment.