Skip to content

Commit 05a5f0b

Browse files
committed
update to make sure it doesn't build when no relevant changes were made
1 parent c1ce502 commit 05a5f0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/development.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,13 +229,13 @@ jobs:
229229
CHANGED_FILES=$(git diff --name-only origin/$BASE_BRANCH...HEAD)
230230
231231
# Define the files we care about in root
232-
ROOT_FILES="package.json package-lock.json jest.config.cjs jest.setup.ts eslint.config.js cypress.config.ts .prettierrc .prettierignore tsconfig.json tsconfig.base.json tsconfig.test.json tsconfig.cypress.json"
232+
ROOT_FILES="README.MD"
233233
234234
# Check if src/ui directory changed or any of the root files changed
235235
SHOULD_BUILD=false
236236
237237
# Check if any file in src/ui changed
238-
if echo "$CHANGED_FILES" | grep -q -E "^(src/ui|tests/ui)/"; then
238+
if echo "$CHANGED_FILES" | grep -q -E "^(src/guidellm)/"; then
239239
echo "UI source files changed"
240240
SHOULD_BUILD=true
241241
fi

0 commit comments

Comments
 (0)