Skip to content

Commit 9928a56

Browse files
committed
test update
1 parent 6414e6f commit 9928a56

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/integration.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,16 @@ jobs:
7575
echo -e "\n## 파일명 규칙 위반" >> $GITHUB_STEP_SUMMARY
7676
for file in $files; do
7777
if [ -f "$file" ]; then
78+
# 파일명만 추출 (경로 제외)
7879
filename=$(basename "$file" | tr -d '"')
7980
github_username="${{ github.event.pull_request.user.login }}"
8081
82+
# 문자열 비교를 위해 따옴표로 감싸기
83+
filename_quoted="$filename"
84+
username_quoted="$github_username"
85+
8186
# 파일명이 GitHub계정명인지 확인
82-
if [[ ! "$filename" =~ ^"$github_username" ]]; then
87+
if [[ ! "$filename_quoted" =~ ^$username_quoted ]]; then
8388
echo "- $file (파일명은 '$github_username'로 해주셔야 합니다)" >> $GITHUB_STEP_SUMMARY
8489
success=false
8590
fi

0 commit comments

Comments
 (0)