Skip to content
Merged
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
10 changes: 5 additions & 5 deletions .github/workflows/audit_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ name: NPM Audit Fix Run
on:
workflow_dispatch:
inputs:
force:
description: "Use --force flag for npm audit fix?"
required: true
type: boolean
package_manager:
description: "Specify package manager (npm or yarn)"
required: false
default: "yarn"
base_branch:
description: "Specify a base branch"
required: false
Expand All @@ -23,7 +23,7 @@ jobs:
audit-fix:
uses: step-security/reusable-workflows/.github/workflows/audit_fix.yml@v1
with:
force: ${{ inputs.force || false }}
package_manager: "yarn"
base_branch: ${{ inputs.base_branch || 'main' }}
script: ${{ inputs.script || 'yarn all' }}

Expand Down