diff --git a/.github/workflows/pull-cd-builder-images-centos7.yaml b/.github/workflows/pull-cd-builder-images-centos7.yaml index b7cc460d..43537283 100644 --- a/.github/workflows/pull-cd-builder-images-centos7.yaml +++ b/.github/workflows/pull-cd-builder-images-centos7.yaml @@ -18,6 +18,10 @@ jobs: changed_cpp_builder_folders: ${{ steps.changed.outputs.cpp_builder_folders }} steps: + - name: Checkout sources + uses: actions/checkout@v4 + with: + fetch-depth: "0" - name: Parse changed scopes id: changed run: | diff --git a/.github/workflows/pull-cd-builder-images.yaml b/.github/workflows/pull-cd-builder-images.yaml index 973a8598..8cb69f8b 100644 --- a/.github/workflows/pull-cd-builder-images.yaml +++ b/.github/workflows/pull-cd-builder-images.yaml @@ -18,6 +18,10 @@ jobs: changed_cpp_builder_folders: ${{ steps.changed.outputs.cpp_builder_folders }} steps: + - name: Checkout sources + uses: actions/checkout@v4 + with: + fetch-depth: "0" - name: Parse changed scopes id: changed run: | @@ -38,6 +42,7 @@ jobs: echo "Head SHA: $HEAD_SHA" # Get list of changed files with status + git fetch origin $BASE_SHA --depth=0 git diff --name-status $BASE_SHA $HEAD_SHA > changed_files.txt echo "Changed Files with Status:" cat changed_files.txt diff --git a/.github/workflows/release-cd-builder-images-centos7.yaml b/.github/workflows/release-cd-builder-images-centos7.yaml index e6124bd3..839a56c6 100644 --- a/.github/workflows/release-cd-builder-images-centos7.yaml +++ b/.github/workflows/release-cd-builder-images-centos7.yaml @@ -19,6 +19,10 @@ jobs: changed_cpp_builder_folders: ${{ steps.changed.outputs.cpp_builder_folders }} steps: + - name: Checkout sources + uses: actions/checkout@v4 + with: + fetch-depth: "0" - name: Parse changed scopes id: changed run: | diff --git a/.github/workflows/release-cd-builder-images.yaml b/.github/workflows/release-cd-builder-images.yaml index b7c17e99..623dfbb0 100644 --- a/.github/workflows/release-cd-builder-images.yaml +++ b/.github/workflows/release-cd-builder-images.yaml @@ -19,6 +19,10 @@ jobs: changed_cpp_builder_folders: ${{ steps.changed.outputs.cpp_builder_folders }} steps: + - name: Checkout sources + uses: actions/checkout@v4 + with: + fetch-depth: "0" - name: Parse changed scopes id: changed run: |