Skip to content

Workflow/add modular workflows #5

Workflow/add modular workflows

Workflow/add modular workflows #5

Workflow file for this run

name: Pull Request Checks
on:
pull_request:
branches: [main, feature]
jobs:
pre-commit-full:
uses: ./.github/actions/linting/pre-commit.yaml@main # Add @main or specific reference

Check failure on line 9 in .github/workflows/pr-checks.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/pr-checks.yaml

Invalid workflow file

invalid value workflow reference: references to workflows must be rooted in '.github/workflows'
# Runs all hooks on all files
# Example of running specific hooks on changed files
ruff-changed:
uses: ./.github/actions/linting/specific-hooks.yaml@main # Add @main or specific reference
with:
hook_id: ruff
files: ${{ join(github.event.pull_request.changed_files, ' ') }}
# Security specific hooks
security-checks:
uses: ./.github/actions/linting/pre-commit.yaml@main # Add @main or specific reference
with:
hooks: bandit