Skip to content

Commit 1d996b4

Browse files
Merge pull request #62 from step-security/fix_Audit-Package-Workflow
integrated with updated audit fix to handle provided build script
2 parents 1d7f8b7 + 29d565a commit 1d996b4

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/actions/cache-npm/audit-package.yml renamed to .github/workflows/audit-package.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,18 @@ on:
1111
description: "Specify a base branch"
1212
required: false
1313
default: "main"
14+
schedule:
15+
- cron: "0 0 * * 1"
1416

1517
jobs:
1618
audit-fix:
17-
uses: step-security/reusable-workflows/.github/workflows/npm_audit_fix.yml@v1
19+
uses: step-security/reusable-workflows/.github/workflows/audit_fix.yml@v1
1820
with:
19-
force: ${{ inputs.force }}
20-
base_branch: ${{ inputs.base_branch }}
21+
force: ${{ inputs.force || false }}
22+
base_branch: ${{ inputs.base_branch || 'main' }}
2123

2224
permissions:
2325
contents: write
2426
pull-requests: write
27+
packages: read
28+
issues: write

0 commit comments

Comments
 (0)