Skip to content

Commit 1718088

Browse files
authored
Merge pull request #30 from OpenKetchupSource/feat/23
fix: 체크리스트 확인 시 오류 방지를 위한 조건 추가
2 parents 71f8479 + 04004d3 commit 1718088

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/auto-merge-develop-pr.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,12 @@ jobs:
1919
id: checklist
2020
run: |
2121
BODY="${{ github.event.pull_request.body }}"
22-
UNCHECKED=$(echo "$BODY" | grep -c '\[ \]')
22+
UNCHECKED=$(echo "$BODY" | grep -c '\[ \]' || true)
2323
if [ "$UNCHECKED" -eq 0 ]; then
2424
echo "checklist-complete=true" >> $GITHUB_OUTPUT
2525
else
2626
echo "checklist-complete=false" >> $GITHUB_OUTPUT
2727
fi
28-
2928
- name: Close linked issues if checklist is complete
3029
if: steps.checklist.outputs.checklist-complete == 'true'
3130
uses: peter-evans/close-issue@v3

0 commit comments

Comments
 (0)