From 3a6eb4a526d8e2db3eaea7525717d85ab04815d2 Mon Sep 17 00:00:00 2001 From: Yuhan Lei Date: Tue, 17 Mar 2026 17:03:19 +0800 Subject: [PATCH] fix: add academic/ and sales/ to lint-agents.sh and CI workflow academic/ was added in #219 but lint-agents.sh AGENT_DIRS and the CI workflow paths/diff-filter were not updated. sales/ was covered by CI but missing from lint-agents.sh local full-scan. Fixes #242 --- .github/workflows/lint-agents.yml | 3 ++- scripts/lint-agents.sh | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint-agents.yml b/.github/workflows/lint-agents.yml index 81245ff8..2cdd99ee 100644 --- a/.github/workflows/lint-agents.yml +++ b/.github/workflows/lint-agents.yml @@ -3,6 +3,7 @@ name: Lint Agent Files on: pull_request: paths: + - 'academic/**' - 'design/**' - 'engineering/**' - 'game-development/**' @@ -29,7 +30,7 @@ jobs: id: changed run: | FILES=$(git diff --name-only --diff-filter=ACMR origin/${{ github.base_ref }}...HEAD -- \ - 'design/**/*.md' 'engineering/**/*.md' 'game-development/**/*.md' 'marketing/**/*.md' 'paid-media/**/*.md' 'sales/**/*.md' 'product/**/*.md' \ + 'academic/**/*.md' 'design/**/*.md' 'engineering/**/*.md' 'game-development/**/*.md' 'marketing/**/*.md' 'paid-media/**/*.md' 'sales/**/*.md' 'product/**/*.md' \ 'project-management/**/*.md' 'testing/**/*.md' 'support/**/*.md' \ 'spatial-computing/**/*.md' 'specialized/**/*.md') { diff --git a/scripts/lint-agents.sh b/scripts/lint-agents.sh index f5e3bb6f..fb9d6a29 100755 --- a/scripts/lint-agents.sh +++ b/scripts/lint-agents.sh @@ -11,11 +11,13 @@ set -euo pipefail AGENT_DIRS=( + academic design engineering game-development marketing paid-media + sales product project-management testing