Skip to content

feat(aidd-context): re-scope 00-onboard to AIDD-wide project onboarding hub #66

feat(aidd-context): re-scope 00-onboard to AIDD-wide project onboarding hub

feat(aidd-context): re-scope 00-onboard to AIDD-wide project onboarding hub #66

Workflow file for this run

name: Validate
# Runs the framework's pre-commit hooks against the full tree on every push
# and pull request, so contributions that bypass lefthook locally
# (--no-verify, fork PRs, web edits) are still gated by the same logic.
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
lefthook:
name: lefthook (framework-local checks)
runs-on: ubuntu-latest
env:
LEFTHOOK_CHILD: "1"
CI: "true"
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: "22"
- name: Install pnpm
run: |
corepack enable
corepack prepare pnpm@latest --activate
- name: Cache pnpm store
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: ~/.local/share/pnpm/store
key: pnpm-${{ runner.os }}-${{ hashFiles('package.json') }}
restore-keys: pnpm-${{ runner.os }}-
- name: Install dependencies
run: pnpm install --frozen-lockfile=false --ignore-scripts
- name: Install pipx (for JSON schema validation)
run: |
python3 -m pip install --user pipx
python3 -m pipx ensurepath
- name: Run pre-commit hooks against the full tree
run: pnpm exec lefthook run pre-commit --all-files --force