Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 26 additions & 2 deletions .github/workflows/dispatch-ci.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,30 @@
name: Dispatch CI

on:
# At 8:40 AM UTC, only on Friday and Saturday
# At 8:40 AM UTC, only on Friday, Saturday, and Sunday
schedule:
- cron: '40 8 * * 5,6'
- cron: '40 8 * * 5,6,0'
workflow_dispatch:
inputs:
major_type:
description: 'Major branch type'
required: true
type: choice
options:
- 'dynamic'
- 'current'
- 'next'
- 'previous'
default: 'dynamic'
minor_type:
description: 'Minor branch type'
required: true
type: choice
options:
- 'dynamic'
- 'next-minor'
- 'next-patch'
default: 'dynamic'

permissions: {}

Expand All @@ -19,3 +40,6 @@ jobs:
steps:
- name: Dispatch CI
uses: silverstripe/gha-dispatch-ci@v1
with:
major_type: ${{ inputs.major_type }}
minor_type: ${{ inputs.minor_type }}
4 changes: 2 additions & 2 deletions .github/workflows/merge-up.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Merge-up

on:
# At 8:40 AM UTC, only on Tuesday
# At 8:40 AM UTC, only on Wednesday
schedule:
- cron: '40 8 * * 2'
- cron: '40 8 * * 3'
workflow_dispatch:

permissions: {}
Expand Down