diff --git a/.github/workflows/audit-package.yml b/.github/workflows/audit-package.yml index 7e3fa38..d4ad159 100644 --- a/.github/workflows/audit-package.yml +++ b/.github/workflows/audit-package.yml @@ -11,6 +11,11 @@ on: description: "Specify a base branch" required: false default: "main" + script: + description: "Specify the build script to run" + required: false + type: string + default: "npm run all" schedule: - cron: "0 0 * * 1" @@ -21,6 +26,7 @@ jobs: with: force: ${{ inputs.force || false }} base_branch: ${{ inputs.base_branch || 'main' }} + script: ${{ inputs.script || 'npm run all' }} permissions: contents: write