Compare commits

...

5 Commits
2.11.2 ... 2

Author SHA1 Message Date
github-actions 5f1d896cb7 Merge branch '2.11' into 2 2023-10-11 12:06:12 +00:00
Guy Sartorelli f32c37cdd9
Merge branch '2.11' into 2 2023-04-27 13:43:39 +12:00
Guy Sartorelli 783ab4ef2b
Merge branch '2.11' into 2 2023-04-26 12:45:41 +12:00
Maxime Rainville d53ba1a9f8
Merge pull request #235 from creative-commoners/pulls/2/dispatch-ci
MNT Use gha-dispatch-ci
2023-03-23 14:19:27 +13:00
Steve Boyd 9db4a2e55b MNT Use gha-dispatch-ci 2023-03-21 13:42:10 +13:00
3 changed files with 16 additions and 6 deletions

View File

@ -4,13 +4,8 @@ on:
push:
pull_request:
workflow_dispatch:
# Every Saturday at 12:00pm UTC
schedule:
- cron: '0 12 * * 6'
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

16
.github/workflows/dispatch-ci.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Dispatch CI
on:
# At 12:00 PM UTC, only on Saturday and Sunday
schedule:
- cron: '0 12 * * 6,0'
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

View File

@ -69,7 +69,6 @@ $field = TagField::create(
**Note:** This assumes you have imported the namespaces class, e.g. use
SilverStripe\TagField\TagField;
#### Has-One Relations
You can also use the TagField to select values for `has_one` relations.