From 8e18082862b0523365df64401497efb8e404b777 Mon Sep 17 00:00:00 2001 From: Pun Butrach Date: Tue, 8 Jul 2025 23:01:12 +0700 Subject: [PATCH] ci: Use default fetch-depth of 1 for checkout step (#375) --- .github/workflows/build_pull_request.yml | 2 -- .github/workflows/release.yml | 5 ----- 2 files changed, 7 deletions(-) diff --git a/.github/workflows/build_pull_request.yml b/.github/workflows/build_pull_request.yml index 250871b..1f671bb 100644 --- a/.github/workflows/build_pull_request.yml +++ b/.github/workflows/build_pull_request.yml @@ -13,8 +13,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - with: - fetch-depth: 0 - name: Cache Gradle uses: burrunan/gradle-cache-action@v1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e7799bf..106a207 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,11 +18,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - with: - # Make sure the release step uses its own credentials: - # https://github.com/cycjimmy/semantic-release-action#private-packages - persist-credentials: false - fetch-depth: 0 - name: Cache Gradle uses: burrunan/gradle-cache-action@v1