This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push:
new 27e7a289773 ci: limit fetch-depth to jobs that do not need git history
27e7a289773 is described below
commit 27e7a2897734b53c5cfb03c8312450c32e0ffe0e
Author: Gaƫlle Fournier <[email protected]>
AuthorDate: Mon Nov 9 08:58:06 2026 +0100
ci: limit fetch-depth to jobs that do not need git history
---
.github/workflows/alternate-jdk-build.yaml | 12 ++++++------
.github/workflows/ci-build.yaml | 10 +++++-----
.github/workflows/quarkus-lts-ci-build.yaml | 12 ++++++------
.github/workflows/synchronize-dependabot-branch.yaml | 2 +-
4 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/.github/workflows/alternate-jdk-build.yaml
b/.github/workflows/alternate-jdk-build.yaml
index f18a49e8453..799563633c4 100644
--- a/.github/workflows/alternate-jdk-build.yaml
+++ b/.github/workflows/alternate-jdk-build.yaml
@@ -83,7 +83,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
with:
ref: ${{ env.CHECKOUT_REF }}
- fetch-depth: 0
+ fetch-depth: 1
- name: Setup Maven Cache
id: maven-cache
uses: ./.github/actions/setup-maven-cache
@@ -154,7 +154,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
with:
ref: ${{ env.CHECKOUT_REF }}
- fetch-depth: 0
+ fetch-depth: 1
- name: Reclaim Disk Space
run: .github/reclaim-disk-space.sh
- name: Set up JDK ${{ env.JDK_VERSION }}
@@ -228,7 +228,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
with:
ref: ${{ env.CHECKOUT_REF }}
- fetch-depth: 0
+ fetch-depth: 1
- name: Set up JDK ${{ env.JDK_VERSION }}
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad #
v6.1.0
with:
@@ -309,7 +309,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
with:
ref: ${{ env.CHECKOUT_REF }}
- fetch-depth: 0
+ fetch-depth: 1
- name: Set up JDK ${{ env.JDK_VERSION }}
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad #
v6.1.0
with:
@@ -347,7 +347,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
with:
ref: ${{ env.CHECKOUT_REF }}
- fetch-depth: 0
+ fetch-depth: 1
- name: Set up JDK ${{ env.JDK_VERSION }}
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad #
v6.1.0
with:
@@ -384,7 +384,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
with:
ref: ${{ env.CHECKOUT_REF }}
- fetch-depth: 0
+ fetch-depth: 1
- name: Set up JDK ${{ env.JDK_VERSION }}
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad #
v6.1.0
with:
diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml
index ea6c3da9ece..013be5b4ed5 100644
--- a/.github/workflows/ci-build.yaml
+++ b/.github/workflows/ci-build.yaml
@@ -140,7 +140,7 @@ jobs:
if: steps.init.outputs.run-checks == 'true'
with:
ref: ${{ env.CHECKOUT_REF }}
- fetch-depth: 0
+ fetch-depth: 1
- name: Setup Maven Cache
if: steps.init.outputs.run-checks == 'true'
uses: ./.github/actions/setup-maven-cache
@@ -495,7 +495,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
with:
ref: ${{ env.CHECKOUT_REF }}
- fetch-depth: 0
+ fetch-depth: 1
- name: Reclaim Disk Space
run: .github/reclaim-disk-space.sh
- name: Set up JDK 21
@@ -718,7 +718,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
with:
ref: ${{ env.CHECKOUT_REF }}
- fetch-depth: 0
+ fetch-depth: 1
- name: Set up JDK 21
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad #
v6.1.0
with:
@@ -770,7 +770,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
with:
ref: ${{ env.CHECKOUT_REF }}
- fetch-depth: 0
+ fetch-depth: 1
- name: Set up JDK 21
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad #
v6.1.0
with:
@@ -824,7 +824,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
with:
ref: ${{ env.CHECKOUT_REF }}
- fetch-depth: 0
+ fetch-depth: 1
- name: Set up JDK 21
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad #
v6.1.0
with:
diff --git a/.github/workflows/quarkus-lts-ci-build.yaml
b/.github/workflows/quarkus-lts-ci-build.yaml
index 6f9a4612614..79f442ff53c 100644
--- a/.github/workflows/quarkus-lts-ci-build.yaml
+++ b/.github/workflows/quarkus-lts-ci-build.yaml
@@ -74,7 +74,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
with:
ref: ${{ github.event.inputs.branch }}.x
- fetch-depth: 0
+ fetch-depth: 1
- name: Setup Maven Cache
id: maven-cache
uses: ./.github/actions/setup-maven-cache
@@ -141,7 +141,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
with:
ref: ${{ github.event.inputs.branch }}.x
- fetch-depth: 0
+ fetch-depth: 1
- name: Set Quarkus SNAPSHOT Version
run: |
sed -i
's/<quarkus.version>.*<\/quarkus.version>/<quarkus.version>${{github.event.inputs.branch}}.999-SNAPSHOT<\/quarkus.version>/'
pom.xml
@@ -214,7 +214,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
with:
ref: ${{ github.event.inputs.branch }}.x
- fetch-depth: 0
+ fetch-depth: 1
- name: Set Quarkus SNAPSHOT Version
run: |
sed -i
's/<quarkus.version>.*<\/quarkus.version>/<quarkus.version>${{github.event.inputs.branch}}.999-SNAPSHOT<\/quarkus.version>/'
pom.xml
@@ -298,7 +298,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
with:
ref: ${{ github.event.inputs.branch }}.x
- fetch-depth: 0
+ fetch-depth: 1
- name: Set Quarkus SNAPSHOT Version
run: |
sed -i
's/<quarkus.version>.*<\/quarkus.version>/<quarkus.version>${{github.event.inputs.branch}}.999-SNAPSHOT<\/quarkus.version>/'
pom.xml
@@ -339,7 +339,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
with:
ref: ${{ github.event.inputs.branch }}.x
- fetch-depth: 0
+ fetch-depth: 1
- name: Set Quarkus SNAPSHOT Version
shell: bash
run: |
@@ -380,7 +380,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 #
v7.0.1
with:
ref: ${{ github.event.inputs.branch }}.x
- fetch-depth: 0
+ fetch-depth: 1
- name: Set up JDK 21
uses: actions/setup-java@b843ebf9b913146b38da2eaa7aeddf76074ae1ad #
v6.1.0
with:
diff --git a/.github/workflows/synchronize-dependabot-branch.yaml
b/.github/workflows/synchronize-dependabot-branch.yaml
index 2855bb6a744..f5b97877e78 100644
--- a/.github/workflows/synchronize-dependabot-branch.yaml
+++ b/.github/workflows/synchronize-dependabot-branch.yaml
@@ -117,7 +117,7 @@ jobs:
if: steps.setup-dependabot-patches.outputs.pr-head-sha != ''
with:
ref: ${{ steps.setup-dependabot-patches.outputs.pr-head-sha }}
- fetch-depth: 0
+ fetch-depth: 1
- name: Push changes to dependabot/maven branch
id: push-changes
if: steps.setup-dependabot-patches.outputs.branch-ref != ''