From 8d25764caf5f46d895afe9582741f63f770d5242 Mon Sep 17 00:00:00 2001 From: Raj Kumar Panda Date: Thu, 27 Feb 2025 22:58:18 +0530 Subject: [PATCH] integrated with updated audit fix to handle provided build script --- .github/workflows/audit-package.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/audit-package.yml b/.github/workflows/audit-package.yml index c8b59ea..7e3fa38 100644 --- a/.github/workflows/audit-package.yml +++ b/.github/workflows/audit-package.yml @@ -12,13 +12,18 @@ on: 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 \ No newline at end of file + pull-requests: write + packages: read + issues: write