From b9929d27c5e0197f1b7aa5aa27603463422981fe Mon Sep 17 00:00:00 2001 From: This2sho Date: Thu, 11 Apr 2024 02:23:24 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EA=B9=83=ED=97=99=20=EC=95=A1=EC=85=98?= =?UTF-8?q?=EC=97=90=EC=84=9C=20=EC=9D=B4=EC=A0=84=20=EC=BB=A4=EB=B0=8B?= =?UTF-8?q?=EB=8F=84=20=EA=B0=80=EC=A0=B8=EC=98=A4=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ".github/workflows/\bdeploy.yml" | 7 +++++-- .github/workflows/ci.yml | 5 ++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git "a/.github/workflows/\bdeploy.yml" "b/.github/workflows/\bdeploy.yml" index 36f2d30a..c7503e88 100644 --- "a/.github/workflows/\bdeploy.yml" +++ "b/.github/workflows/\bdeploy.yml" @@ -14,8 +14,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout Repository - uses: actions/checkout@v2 + - name: 리포지토리를 가져옵니다 + uses: actions/checkout@v2 + with: + fetch-depth: 2 - name: JDK 17을 설치합니다 uses: actions/setup-java@v4 @@ -35,6 +37,7 @@ jobs: - name: 변경된 모듈을 체크한다. id: check_changes run: | + git fetch origin main if git diff --name-only origin/main...HEAD | grep -q "^domain/"; then echo "domain 모듈이 변경되었습니다." echo "::set-output name=changes::domain_changed" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 37f6288a..b7e35cee 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,9 @@ jobs: steps: - name: 리포지토리를 가져옵니다 - uses: actions/checkout@v4 + uses: actions/checkout@v2 + with: + fetch-depth: 2 - name: JDK 17을 설치합니다 uses: actions/setup-java@v4 @@ -36,6 +38,7 @@ jobs: - name: 변경된 모듈을 체크한다. id: check_changes run: | + git fetch origin main if git diff --name-only origin/main...HEAD | grep -q "^domain/"; then echo "domain 모듈이 변경되었습니다." echo "::set-output name=changes::domain_changed"