diff --git a/.github/workflows/codespell.yml b/.github/workflows/codespell.yml index f39c5e0019..b9e5970aa9 100644 --- a/.github/workflows/codespell.yml +++ b/.github/workflows/codespell.yml @@ -21,9 +21,7 @@ jobs: steps: - name: Checkout - - uses: actions/checkout@v4 - with: - fetch-depth: "0" + uses: actions/checkout@v4 - name: Codespell uses: codespell-project/actions-codespell@v2 with: diff --git a/.github/workflows/component_docker_build.yml b/.github/workflows/component_docker_build.yml index 3cad869f78..b4eb882a26 100644 --- a/.github/workflows/component_docker_build.yml +++ b/.github/workflows/component_docker_build.yml @@ -18,8 +18,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - with: - fetch-depth: "0" - id: load-docker-cache name: Load Docker Cache uses: actions/cache@v3 diff --git a/.github/workflows/end2end.yml b/.github/workflows/end2end.yml index e1a686a489..e0efd835c9 100644 --- a/.github/workflows/end2end.yml +++ b/.github/workflows/end2end.yml @@ -25,8 +25,6 @@ jobs: echo "FLYTESNACKS_VERSION=${FLYTESNACKS_VERSION}" >> ${GITHUB_ENV} - name: Checkout uses: actions/checkout@v4 - with: - fetch-depth: "0" - uses: unionai/flytectl-setup-action@v0.0.1 name: Setup flytectl - uses: actions/setup-python@v3 @@ -78,7 +76,6 @@ jobs: repository: flyteorg/flytesnacks path: flytesnacks ref: ${{ env.FLYTESNACKS_VERSION }} - fetch-depth: "0" - name: Register P0 tests if: ${{ inputs.priorities == 'P0' }} run: | diff --git a/.github/workflows/flyteidl-buf-publish.yml b/.github/workflows/flyteidl-buf-publish.yml index 2c758ccd8a..f11bf3d44a 100644 --- a/.github/workflows/flyteidl-buf-publish.yml +++ b/.github/workflows/flyteidl-buf-publish.yml @@ -13,8 +13,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - with: - fetch-depth: "0" - uses: bufbuild/buf-setup-action@v1 - uses: bufbuild/buf-push-action@v1 with: diff --git a/.github/workflows/flyteidl-release.yml b/.github/workflows/flyteidl-release.yml index 3bad92468f..e8ecc78514 100644 --- a/.github/workflows/flyteidl-release.yml +++ b/.github/workflows/flyteidl-release.yml @@ -12,8 +12,6 @@ jobs: working-directory: flyteidl steps: - uses: actions/checkout@v4 - with: - fetch-depth: "0" - name: Set up Python uses: actions/setup-python@v1 with: @@ -36,8 +34,6 @@ jobs: working-directory: flyteidl steps: - uses: actions/checkout@v4 - with: - fetch-depth: "0" - uses: actions/setup-node@v1 with: node-version: "12.x" diff --git a/.github/workflows/go_generate.yml b/.github/workflows/go_generate.yml index e35c7181c4..d3c992957a 100644 --- a/.github/workflows/go_generate.yml +++ b/.github/workflows/go_generate.yml @@ -21,8 +21,6 @@ jobs: working-directory: ${{ inputs.component }} steps: - uses: actions/checkout@v4 - with: - fetch-depth: "0" - uses: arduino/setup-protoc@v1 with: repo-token: ${{ secrets.FLYTE_BOT_PAT }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 10fad58f4c..d7604cf1c2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,8 +19,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - with: - fetch-depth: "0" - name: Set up Go uses: actions/setup-go@v3 with: diff --git a/.github/workflows/single-binary.yml b/.github/workflows/single-binary.yml index 76654b7b52..657160a7a9 100644 --- a/.github/workflows/single-binary.yml +++ b/.github/workflows/single-binary.yml @@ -17,8 +17,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - with: - fetch-depth: "0" - uses: actions/setup-go@v3 with: go-version: "1.21" @@ -41,8 +39,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - with: - fetch-depth: "0" - name: Setup Golang caches uses: actions/cache@v3 with: @@ -137,8 +133,6 @@ jobs: echo "FLYTESNACKS_VERSION=${FLYTESNACKS_VERSION}" >> ${GITHUB_ENV} - name: Checkout uses: actions/checkout@v4 - with: - fetch-depth: "0" - uses: actions/download-artifact@v3 with: name: single-binary-image @@ -188,7 +182,6 @@ jobs: repository: flyteorg/flytesnacks path: flytesnacks ref: ${{ env.FLYTESNACKS_VERSION }} - fetch-depth: "0" - name: Register specific tests run: | flytekit_version=$(pip show flytekit | grep -i version | awk '{ print $2 }') @@ -213,8 +206,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - with: - fetch-depth: "0" - uses: actions/download-artifact@v3 with: name: single-binary-image diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bec69e2669..1a94a452be 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,8 +15,6 @@ jobs: steps: - name: Fetch the code uses: actions/checkout@v4 - with: - fetch-depth: "0" - name: Set up Go uses: actions/setup-go@v2 with: @@ -33,13 +31,11 @@ jobs: uses: actions/checkout@v4 with: path: "${{ github.workspace }}/flyte" - fetch-depth: "0" - name: Fetch flytekit code uses: actions/checkout@v4 with: repository: flyteorg/flytekit path: "${{ github.workspace }}/flytekit" - fetch-depth: "0" - uses: conda-incubator/setup-miniconda@v3 with: auto-update-conda: true @@ -79,8 +75,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - with: - fetch-depth: "0" - uses: actions/setup-go@v2 with: go-version: "1.21" diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index f0b1b9ff43..2c0add22e1 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -22,8 +22,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - with: - fetch-depth: "0" - name: Set up Go uses: actions/setup-go@v3 with: diff --git a/boilerplate/flyte/github_workflows/pull_request.yml b/boilerplate/flyte/github_workflows/pull_request.yml index ece9404a5a..f4e9a5252a 100644 --- a/boilerplate/flyte/github_workflows/pull_request.yml +++ b/boilerplate/flyte/github_workflows/pull_request.yml @@ -8,8 +8,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - with: - fetch-depth: "0" - name: Push Docker Image to Github Registry uses: whoan/docker-build-with-cache-action@v5 with: