From b63c029cc5ea302867070734cad7f402ce2922b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=EB=8F=99=ED=9B=88?= <2dh2@naver.com> Date: Sun, 12 Apr 2026 17:14:43 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20PR=20=EC=BB=A4=EB=B2=84=EB=A6=AC?= =?UTF-8?q?=EC=A7=80=20=EC=9B=8C=ED=81=AC=ED=94=8C=EB=A1=9C=EC=9A=B0?= =?UTF-8?q?=EA=B0=80=20=EB=B3=80=EA=B2=BD=20=ED=8C=8C=EC=9D=BC=EC=9D=84=20?= =?UTF-8?q?=EA=B0=90=EC=A7=80=ED=95=98=EC=A7=80=20=EB=AA=BB=ED=95=98?= =?UTF-8?q?=EB=8A=94=20=EB=AC=B8=EC=A0=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - pull_request_target에서 ref 미지정 시 base 브랜치를 체크아웃하여 git diff 시 변경 파일이 0개로 나오는 현상 방지 - github.event.pull_request.head.sha를 명시적으로 체크아웃하도록 수정 --- .github/workflows/pr-coverage.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pr-coverage.yml b/.github/workflows/pr-coverage.yml index 578b6c5e5..8d70c1219 100644 --- a/.github/workflows/pr-coverage.yml +++ b/.github/workflows/pr-coverage.yml @@ -19,6 +19,7 @@ jobs: - name: Checkout PR code uses: actions/checkout@v4 with: + ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 - name: Set up JDK 21