Skip to content

Workflow/add modular workflows #2

Workflow/add modular workflows

Workflow/add modular workflows #2

Workflow file for this run

name: Pull Request Checks
on:
pull_request:
branches: [main, feature]
jobs:
pre-commit-full:
uses: ./.github/workflows/components/linting/pre-commit.yml

Check failure on line 8 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: workflows must be defined at the top level of the .github/workflows/ directory
# Runs all hooks on all files
# Example of running specific hooks on changed files
ruff-changed:
uses: ./.github/workflows/components/linting/specific-hooks.yml
with:
hook_id: ruff
files: ${{ join(github.event.pull_request.changed_files, ' ') }}
# Security specific hooks
security-checks:
uses: ./.github/workflows/components/linting/pre-commit.yml
with:
hooks: bandit