Skip to content

Commit 489437e

Browse files
committed
fix: PR 시 브랜치를 못 찾는 문제 수정
1 parent 3a20229 commit 489437e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/develop-cd.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ jobs:
2727
- name: Checkout code
2828
uses: actions/checkout@v3
2929
with:
30-
ref: ${{ github.event.inputs.branch || github.ref_name }}
30+
fetch-depth: 0
31+
ref: ${{ github.head_ref || github.ref || github.event.inputs.branch || 'test' }}
3132

3233
- name: Set up Node.js
3334
uses: actions/setup-node@v3

0 commit comments

Comments
 (0)