Skip to content

Commit f750a0b

Browse files
committed
chore: fix for integration filename test
1 parent 7165f94 commit f750a0b

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

.github/workflows/integration.yaml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -91,17 +91,14 @@ jobs:
9191
9292
echo "## 파일명 규칙 위반" >> $GITHUB_STEP_SUMMARY
9393
for file in $files; do
94-
if [ -f "$file" ]; then
94+
# 파일명만 추출 (경로 제외)
95+
filename=$(basename "$file")
9596
96-
# 파일명만 추출 (경로 제외)
97-
filename=$(basename "$file")
98-
99-
# 파일명이 GitHub계정명인지 확인
100-
shopt -s nocasematch
101-
if [[ ! "$filename" = "$pr_author"* ]]; then
102-
echo "- $file" >> $GITHUB_STEP_SUMMARY
103-
success=false
104-
fi
97+
# 파일명이 GitHub계정명인지 확인
98+
shopt -s nocasematch
99+
if [[ ! "$filename" = "$pr_author"* ]]; then
100+
echo "- $file" >> $GITHUB_STEP_SUMMARY
101+
success=false
105102
fi
106103
done
107104

0 commit comments

Comments
 (0)