Skip to content

Workflow/add modular workflows #1

Workflow/add modular workflows

Workflow/add modular workflows #1

Workflow file for this run

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/workflows/components/linting/pre-commit.yml

Check failure on line 17 in .github/workflows/manual-hooks.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/manual-hooks.yaml

Invalid workflow file

invalid value workflow reference: workflows must be defined at the top level of the .github/workflows/ directory
with:
hooks: ${{ inputs.hooks }}
args: "--files ${{ inputs.files }}"