Skip to content

Commit 5ccdb79

Browse files
committed
test update
1 parent 0a05c4b commit 5ccdb79

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/integration.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ jobs:
3030
# 필요한 값들 미리 설정
3131
pr_author="${{ github.event.pull_request.user.login }}"
3232
pr_number="${{ github.event.pull_request.number }}"
33-
has_maintenance=$(gh pr view $pr_number --json labels -q '.labels[].name | contains(["maintenance"])')
33+
labels_json=$(gh pr view $pr_number --json labels -q '.labels[].name')
34+
has_maintenance=false
35+
if echo "$labels_json" | grep -q "maintenance"; then
36+
has_maintenance=true
37+
fi
3438
3539
# 따옴표를 제거하고 파일 목록 가져오기
3640
files=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | tr -d '"')

0 commit comments

Comments
 (0)