Workflow/add modular workflows #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Manual Pre-commit Hooks | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
hooks: | ||
description: "Hooks to run (space separated)" | ||
required: true | ||
type: string | ||
files: | ||
description: "Files to check (space separated)" | ||
required: false | ||
type: string | ||
default: "." | ||
jobs: | ||
run-hooks: | ||
uses: ./.github/actions/linting/pre-commit.yaml | ||
with: | ||
hooks: ${{ inputs.hooks }} | ||
args: "--files ${{ inputs.files }}" |