Skip to content

Commit af98e5c

Browse files
committed
ci: treat tools/e3sm_l1kpm_v2/ as documentation tooling in the code-change gate
detect_code_changes.sh lists only tools/oran_docx/ as non-code. A pull request that adds the generator of the E3SM-L1-KPM specification under tools/e3sm_l1kpm_v2/ next to the specification therefore counted as a code change, and the unit tests, the E2E jobs and the full-loop benchmark ran in full for a pull request that changes no library file. Add the directory to the non-code list, next to tools/oran_docx/. Assisted-by: Claude:claude-sonnet-5-5 Signed-off-by: Thecave3 <thecave003@gmail.com>
1 parent 75c4e1c commit af98e5c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/scripts/detect_code_changes.sh‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
#
99
# detect_code_changes.sh <base-sha> <head-sha> prints true or false
1010
#
11-
# Not code: Markdown, Word editions, docs/, .github/, the O-RAN Word generator
12-
# under tools/oran_docx/, license and citation files, REUSE.toml, .gitignore, and a
11+
# Not code: Markdown, Word editions, docs/, .github/, the O-RAN Word generators
12+
# under tools/oran_docx/ and tools/e3sm_l1kpm_v2/, license and citation files, REUSE.toml, .gitignore, and a
1313
# pyproject.toml change that only edits the project links.
1414
set -euo pipefail
1515

@@ -19,7 +19,7 @@ head="$2"
1919
echo "Changed files:" >&2
2020
git diff --name-only "$base..$head" >&2
2121

22-
noncode='(\.md$)|(\.docx$)|(^docs/)|(^\.github/)|(^tools/oran_docx/)|(^LICENSE$)|(^NOTICE$)|(^CONTRIBUTORS$)|(^CITATION\.cff$)|(^REUSE\.toml$)|(^\.gitignore$)'
22+
noncode='(\.md$)|(\.docx$)|(^docs/)|(^\.github/)|(^tools/oran_docx/)|(^tools/e3sm_l1kpm_v2/)|(^LICENSE$)|(^NOTICE$)|(^CONTRIBUTORS$)|(^CITATION\.cff$)|(^REUSE\.toml$)|(^\.gitignore$)'
2323
files="$(git diff --name-only "$base..$head" | grep -vE "$noncode" || true)"
2424

2525
# pyproject.toml carries the build too, so it counts as code unless every changed

0 commit comments

Comments
 (0)