Skip to content

Commit 1101315

Browse files
committed
test update
1 parent eefd0a9 commit 1101315

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

โ€Ž.github/workflows/integration.yamlโ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Check for 1. missing end line breaks and 2. control characters in filenames and 3. filename rules
2424
run: |
2525
# ํ•„์š”ํ•œ ๊ฐ’๋“ค ๋ฏธ๋ฆฌ ์„ค์ •
26-
pr_author="$GITHUB_ACTOR"
26+
pr_author="${{ github.event.pull_request.user.login }}"
2727
pr_labels=$(gh pr view ${{ github.event.pull_request.number }} --json labels -q '.labels[].name' || echo "")
2828
2929
# ๋”ฐ์˜ดํ‘œ๋ฅผ ์ œ๊ฑฐํ•˜๊ณ  ํŒŒ์ผ ๋ชฉ๋ก ๊ฐ€์ ธ์˜ค๊ธฐ
@@ -80,10 +80,10 @@ jobs:
8080
for file in $files; do
8181
if [ -f "$file" ]; then
8282
# ํŒŒ์ผ๋ช…๋งŒ ์ถ”์ถœ (๊ฒฝ๋กœ ์ œ์™ธ)
83-
filename=$(basename "$file" | tr -d '"')
83+
filename=$(basename "$file")
8484
# ํŒŒ์ผ๋ช…์ด GitHub๊ณ„์ •๋ช…์ธ์ง€ ํ™•์ธ
85-
if ! echo "$filename" | grep -q "^${pr_author}"; then
86-
echo "- $file (ํŒŒ์ผ๋ช…์€ '${pr_author}'๋กœ ํ•ด์ฃผ์…”์•ผ ํ•ฉ๋‹ˆ๋‹ค)" >> $GITHUB_STEP_SUMMARY
85+
if [[ ! "$filename" =~ ^${pr_author} ]]; then
86+
echo "- $file (ํŒŒ์ผ๋ช…์€ '$pr_author'๋กœ ํ•ด์ฃผ์…”์•ผ ํ•ฉ๋‹ˆ๋‹ค)" >> $GITHUB_STEP_SUMMARY
8787
success=false
8888
fi
8989
fi

0 commit comments

Comments
ย (0)