Skip to content

Commit bdfd681

Browse files
committed
fix: Included script in action-release workflow
1 parent 77ebcbd commit bdfd681

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

.github/workflows/actions_release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ on:
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

1515
permissions:
1616
contents: read
@@ -25,4 +25,4 @@ jobs:
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'}}

.github/workflows/audit_package.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ on:
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

@@ -20,6 +25,7 @@ jobs:
2025
with:
2126
force: ${{ inputs.force || false }}
2227
base_branch: ${{ inputs.base_branch || 'main' }}
28+
script: ${{ github.event.inputs.script || 'npm run test' }}
2329

2430
permissions:
2531
contents: write

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2023 StepSecurity
3+
Copyright (c) 2025 StepSecurity
44
Copyright (c) 2021 Stefan Zweifel
55

66
Permission is hereby granted, free of charge, to any person obtaining a copy

0 commit comments

Comments
 (0)