Skip to content

Commit e897c63

Browse files
Merge pull request #611 from creative-commoners/pulls/6/module-standardiser-1751412552
MNT Run module-standardiser
2 parents 272de67 + bbb4e39 commit e897c63

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

.github/workflows/update-js.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,20 @@ name: Update JS
22

33
on:
44
workflow_dispatch:
5-
# At 6:30 PM UTC, on day 1 of the month, only in March and September
5+
inputs:
6+
branch_type:
7+
description: 'The branch type to run action on'
8+
required: true
9+
default: 'schedule'
10+
type: choice
11+
options:
12+
- 'schedule'
13+
- 'prev-major-curr-minor'
14+
- 'curr-major-curr-minor'
15+
- 'curr-major-next-minor'
16+
# At 6:30 PM UTC, on day 1 of the month, only in February and August
617
schedule:
7-
- cron: '30 18 1 3,9 *'
18+
- cron: '30 18 1 2,8 *'
819

920
permissions: {}
1021

@@ -21,3 +32,5 @@ jobs:
2132
steps:
2233
- name: Update JS
2334
uses: silverstripe/gha-update-js@v1
35+
with:
36+
branch_type: ${{ github.event_name == 'schedule' && 'schedule' || github.event.inputs.branch_type }}

0 commit comments

Comments
 (0)