Skip to content

Commit

Permalink
Merge pull request #47 from step-security/fix_Audit-Package-Workflow-…
Browse files Browse the repository at this point in the history
…Cron

integrated with updated audit fix to handle provided build script
  • Loading branch information
Raj-StepSecurity authored Feb 27, 2025
2 parents 1b9dbf2 + d11a7c8 commit e035c97
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 e035c97

Please sign in to comment.