File tree Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 6
6
tag :
7
7
description : " Tag for the release"
8
8
required : true
9
- # Uncomment if using yarn
10
- # script:
11
- # description: "Specify the build script to run"
12
- # required: true
13
- # type: string
9
+ script :
10
+ description : " Specify the build script to run "
11
+ required : false
12
+ type : string
13
+ default : " npm run test "
14
14
15
15
permissions :
16
16
contents : read
25
25
uses : step-security/reusable-workflows/.github/workflows/actions_release.yaml@v1
26
26
with :
27
27
tag : " ${{ github.event.inputs.tag }}"
28
- # script: " ${{ github.event.inputs.script }}"
28
+ script : ${{ github.event.inputs.script || 'npm run test'}}
Original file line number Diff line number Diff line change 11
11
description : " Specify a base branch"
12
12
required : false
13
13
default : " main"
14
+ script :
15
+ description : " Specify the build script to run"
16
+ required : false
17
+ type : string
18
+ default : " npm run test"
14
19
schedule :
15
20
- cron : " 0 0 * * 1"
16
21
20
25
with :
21
26
force : ${{ inputs.force || false }}
22
27
base_branch : ${{ inputs.base_branch || 'main' }}
28
+ script : ${{ github.event.inputs.script || 'npm run test' }}
23
29
24
30
permissions :
25
31
contents : write
Original file line number Diff line number Diff line change 1
1
The MIT License (MIT)
2
2
3
- Copyright (c) 2023 StepSecurity
3
+ Copyright (c) 2025 StepSecurity
4
4
Copyright (c) 2021 Stefan Zweifel
5
5
6
6
Permission is hereby granted, free of charge, to any person obtaining a copy
You can’t perform that action at this time.
0 commit comments