Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions .github/workflows/memory-index-duplicate-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,19 @@ name: memory-index-duplicate-lint
# - runs-on: ubuntu-24.04 pinned
#
# See:
# - tools/hygiene/audit-memory-index-duplicates.sh (the tool)
# - tools/hygiene/audit-memory-index-duplicates.ts (the tool)

on:
pull_request:
paths:
- "memory/MEMORY.md"
- "tools/hygiene/audit-memory-index-duplicates.sh"
- "tools/hygiene/audit-memory-index-duplicates.ts"
- ".github/workflows/memory-index-duplicate-lint.yml"
push:
branches: [main]
paths:
- "memory/MEMORY.md"
- "tools/hygiene/audit-memory-index-duplicates.sh"
- "tools/hygiene/audit-memory-index-duplicates.ts"
- ".github/workflows/memory-index-duplicate-lint.yml"
workflow_dispatch: {}

Expand All @@ -49,8 +49,14 @@ jobs:
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

- name: Install toolchain via three-way-parity script (GOVERNANCE §24)
# Provides bun via mise's pin in .mise.toml. Same pattern as
# gate.yml. shellenv.sh wires BASH_ENV so subsequent run:
# steps auto-source the managed shellenv with bun on PATH.
run: ./tools/setup/install.sh

- name: run duplicate-link lint
shell: bash
run: |
set -euo pipefail
tools/hygiene/audit-memory-index-duplicates.sh --enforce
bun tools/hygiene/audit-memory-index-duplicates.ts --enforce
Loading