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 66 tag :
77 description : " Tag for the release"
88 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 "
1414
1515permissions :
1616 contents : read
2525 uses : step-security/reusable-workflows/.github/workflows/actions_release.yaml@v1
2626 with :
2727 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 1111 description : " Specify a base branch"
1212 required : false
1313 default : " main"
14+ script :
15+ description : " Specify the build script to run"
16+ required : false
17+ type : string
18+ default : " npm run test"
1419 schedule :
1520 - cron : " 0 0 * * 1"
1621
2025 with :
2126 force : ${{ inputs.force || false }}
2227 base_branch : ${{ inputs.base_branch || 'main' }}
28+ script : ${{ github.event.inputs.script || 'npm run test' }}
2329
2430permissions :
2531 contents : write
Original file line number Diff line number Diff line change 11The MIT License (MIT)
22
3- Copyright (c) 2023 StepSecurity
3+ Copyright (c) 2025 StepSecurity
44Copyright (c) 2021 Stefan Zweifel
55
66Permission is hereby granted, free of charge, to any person obtaining a copy
You can’t perform that action at this time.
0 commit comments