Skip to content

Commit

Permalink
integrated with updated audit fix to handle provided build script
Browse files Browse the repository at this point in the history
integrated with updated audit fix to handle provided build script
  • Loading branch information
Raj-StepSecurity committed Feb 27, 2025
1 parent 1b9dbf2 commit d11a7c8
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/audit-package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
name: NPM Audit Fix Run

on:
workflow_dispatch:
inputs:
Expand All @@ -11,14 +10,18 @@ on:
description: "Specify a base branch"
required: false
default: "main"
schedule:
- cron: "0 0 * * 1"

jobs:
audit-fix:
uses: step-security/reusable-workflows/.github/workflows/npm_audit_fix.yml@v1
uses: step-security/reusable-workflows/.github/workflows/audit_fix.yml@v1
with:
force: ${{ inputs.force }}
base_branch: ${{ inputs.base_branch }}
force: ${{ inputs.force || false }}
base_branch: ${{ inputs.base_branch || 'main' }}

permissions:
contents: write
pull-requests: write
packages: read
issues: write

0 comments on commit d11a7c8

Please sign in to comment.