We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 950cf32 + 5c97694 commit 7c20408Copy full SHA for 7c20408
.github/workflows/schedule-review.yml
@@ -86,7 +86,8 @@ jobs:
86
FILE_NAME="${BASH_REMATCH[4]}"
87
88
# Validate that the filename matches the problem slug (main solution file)
89
- if [[ "$FILE_NAME" == "$PROBLEM_SLUG" ]]; then
+ # Exclude test files explicitly
90
+ if [[ "$FILE_NAME" == "$PROBLEM_SLUG" ]] && [[ ! "$FILE_NAME" =~ \.test$ ]]; then
91
MAIN_FILE="$file"
92
echo "main_file=$MAIN_FILE" >> $GITHUB_OUTPUT
93
echo "platform=$PLATFORM" >> $GITHUB_OUTPUT
0 commit comments