From 98ce8014741acdf1b4260f3386f782594f77391b Mon Sep 17 00:00:00 2001 From: saikeerthanakavuri Date: Thu, 24 Sep 2026 20:50:39 +0530 Subject: [PATCH] fix: include profiler-ui.js in code relevance filters --- .github/workflows/audits.yml | 2 +- .pre-commit-config.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/audits.yml b/.github/workflows/audits.yml index eaae69c7..0c3c0d26 100644 --- a/.github/workflows/audits.yml +++ b/.github/workflows/audits.yml @@ -54,7 +54,7 @@ jobs: echo "Changed files:" echo "$changed" - if echo "$changed" | grep -Eq '^(faircode/.*|scripts/.*|tests/.*|assets/(profiler-engine\.js|profiler-compare\.js)|pyproject\.toml|requirements(-lock)?\.txt|\.github/CODEOWNERS|.*\.csv|.*/(fair|unfair)\.py|.*/audit\.yaml)$'; then + if echo "$changed" | grep -Eq '^(faircode/.*|scripts/.*|tests/.*|assets/(profiler-engine\.js|profiler-compare\.js|profiler-ui\.js)|pyproject\.toml|requirements(-lock)?\.txt|\.github/CODEOWNERS|.*\.csv|.*/(fair|unfair)\.py|.*/audit\.yaml)$'; then echo "code_relevant=true" >> "$GITHUB_OUTPUT" else echo "code_relevant=false" >> "$GITHUB_OUTPUT" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 04ab48ff..5f95bfaf 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -54,4 +54,4 @@ repos: language: system pass_filenames: false stages: [pre-push] - files: '^(faircode/.*|scripts/.*|tests/.*|assets/(profiler-engine\.js|profiler-compare\.js)|pyproject\.toml|requirements(-lock)?\.txt|\.github/CODEOWNERS|.*\.csv|.*/(fair|unfair)\.py|.*/audit\.yaml)$' + files: '^(faircode/.*|scripts/.*|tests/.*|assets/(profiler-engine\.js|profiler-compare\.js|profiler-ui\.js)|pyproject\.toml|requirements(-lock)?\.txt|\.github/CODEOWNERS|.*\.csv|.*/(fair|unfair)\.py|.*/audit\.yaml)$'