We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a05c4b commit 5ccdb79Copy full SHA for 5ccdb79
.github/workflows/integration.yaml
@@ -30,7 +30,11 @@ jobs:
30
# 필요한 값들 미리 설정
31
pr_author="${{ github.event.pull_request.user.login }}"
32
pr_number="${{ github.event.pull_request.number }}"
33
- has_maintenance=$(gh pr view $pr_number --json labels -q '.labels[].name | contains(["maintenance"])')
+ 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
38
39
# 따옴표를 제거하고 파일 목록 가져오기
40
files=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | tr -d '"')
0 commit comments