Skip to content

Commit df958ae

Browse files
workflow to fix vulnerabilities
1 parent dfbe08d commit df958ae

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: NPM Audit Fix Run
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
force:
7+
description: "Use --force flag for npm audit fix?"
8+
required: true
9+
type: boolean
10+
base_branch:
11+
description: "Specify a base branch"
12+
required: false
13+
default: "main"
14+
15+
jobs:
16+
audit-fix:
17+
uses: step-security/reusable-workflows/.github/workflows/npm_audit_fix.yml@v1
18+
with:
19+
force: ${{ inputs.force }}
20+
base_branch: ${{ inputs.base_branch }}
21+
22+
permissions:
23+
contents: write
24+
pull-requests: write

0 commit comments

Comments
 (0)