diff --git a/.github/workflows/java-code-analysis.yml b/.github/workflows/java-code-analysis.yml index 79fb4b1a..e7178a45 100644 --- a/.github/workflows/java-code-analysis.yml +++ b/.github/workflows/java-code-analysis.yml @@ -56,12 +56,8 @@ jobs: steps: - name: (Prepare Code to Analyze) Checkout AxonFramework repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - with: - repository: AxonFramework/AxonFramework - ref: axon-${{ env.AXON_FRAMEWORK_VERSION }} - path: ./source - fetch-depth: 0 # Include the full git history for analysis + run: | + git clone --bare https://github.com/AxonFramework/AxonFramework.git --branch "axon-${{ env.AXON_FRAMEWORK_VERSION }}" --single-branch "./source/AxonFramework-${{ env.AXON_FRAMEWORK_VERSION }}/.git" - name: (Prepare Code to Analyze) Setup Java Development Kit for Maven JARs downloading (JDK) ${{ env.JAVA_VERSION}} uses: actions/setup-java@c5195efecf7bdfc987ee8bae7a71cb8b11521c00 # v4 diff --git a/.github/workflows/typescript-code-analysis.yml b/.github/workflows/typescript-code-analysis.yml index 71407518..910473d0 100644 --- a/.github/workflows/typescript-code-analysis.yml +++ b/.github/workflows/typescript-code-analysis.yml @@ -54,12 +54,10 @@ jobs: steps: - name: (Prepare Code to Analyze) Checkout react-router repository - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - with: - repository: remix-run/react-router - ref: react-router@${{ env.REACT_ROUTER_VERSION }} - fetch-depth: 0 # Include the full git history for enhanced analysis - + run: | + git clone https://github.com/remix-run/react-router.git --branch "react-router@${{ env.REACT_ROUTER_VERSION }}" --single-branch . + + - name: (Prepare Code to Analyze) Setup pnpm for react-router uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0