This is an automated email from the ASF dual-hosted git repository.

apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new 27cfa7bbc9c chore: Do not fetch full Git history on PR jobs
27cfa7bbc9c is described below

commit 27cfa7bbc9c7647c2b3c564cf4165a55ad2c00c6
Author: AurĂ©lien Pupier <[email protected]>
AuthorDate: Mon Jun 17 12:08:24 2024 +0200

    chore: Do not fetch full Git history on PR jobs
    
    Fetching the full history was added mentioning as recommended by
    SonarCloud template. Sonar is not used anymore in PR jobs. It is used on
    Jenkins. There is no more reasons to checkout the full history. It will
    almost gain 1 minute per PR Build job.
    
    Signed-off-by: AurĂ©lien Pupier <[email protected]>
---
 .github/workflows/pr-build-camel-3.yml   | 1 -
 .github/workflows/pr-build-camel-40x.yml | 1 -
 .github/workflows/pr-build-main.yml      | 1 -
 3 files changed, 3 deletions(-)

diff --git a/.github/workflows/pr-build-camel-3.yml 
b/.github/workflows/pr-build-camel-3.yml
index 536265c8687..953ccf96fe6 100644
--- a/.github/workflows/pr-build-camel-3.yml
+++ b/.github/workflows/pr-build-camel-3.yml
@@ -77,7 +77,6 @@ jobs:
       - uses: actions/checkout@v4
         with:
           persist-credentials: false
-          fetch-depth: 0
       - id: install-packages
         uses: ./.github/actions/install-packages
       - id: install-mvnd
diff --git a/.github/workflows/pr-build-camel-40x.yml 
b/.github/workflows/pr-build-camel-40x.yml
index 61f09e4083b..22437b50284 100644
--- a/.github/workflows/pr-build-camel-40x.yml
+++ b/.github/workflows/pr-build-camel-40x.yml
@@ -42,7 +42,6 @@ jobs:
       - uses: actions/checkout@v4
         with:
           persist-credentials: false
-          fetch-depth: 0
       - id: install-packages
         uses: ./.github/actions/install-packages
       - id: install-mvnd
diff --git a/.github/workflows/pr-build-main.yml 
b/.github/workflows/pr-build-main.yml
index e018ab7d714..6e2a64898d0 100644
--- a/.github/workflows/pr-build-main.yml
+++ b/.github/workflows/pr-build-main.yml
@@ -49,7 +49,6 @@ jobs:
       - uses: actions/checkout@v4
         with:
           persist-credentials: false
-          fetch-depth: 0
       - id: install-packages
         uses: ./.github/actions/install-packages
       - id: install-mvnd

Reply via email to