diff --git a/.github/workflows/ci-image-scanning.yaml b/.github/workflows/ci-image-scanning.yaml index 640a89e25bc0..52db8261b354 100644 --- a/.github/workflows/ci-image-scanning.yaml +++ b/.github/workflows/ci-image-scanning.yaml @@ -27,7 +27,7 @@ jobs: - karmada-metrics-adapter steps: - name: checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build an image from Dockerfile run: | export VERSION="latest" diff --git a/.github/workflows/ci-schedule-compatibility.yaml b/.github/workflows/ci-schedule-compatibility.yaml index 4dd444591b78..c7e53636f2e8 100644 --- a/.github/workflows/ci-schedule-compatibility.yaml +++ b/.github/workflows/ci-schedule-compatibility.yaml @@ -43,7 +43,7 @@ jobs: docker-images: false swap-storage: false - name: checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Number of commits to fetch. 0 indicates all history for all branches and tags. # We need to guess version via git tags. diff --git a/.github/workflows/ci-schedule.yml b/.github/workflows/ci-schedule.yml index 791218cac7b7..2cc2839bd674 100644 --- a/.github/workflows/ci-schedule.yml +++ b/.github/workflows/ci-schedule.yml @@ -32,7 +32,7 @@ jobs: docker-images: false swap-storage: false - name: checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Number of commits to fetch. 0 indicates all history for all branches and tags. # We need to guess version via git tags. diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 46c713967bd4..886c04333c64 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: install Go uses: actions/setup-go@v5 with: @@ -41,7 +41,7 @@ jobs: working-directory: ${{ env.GOPATH }}/src/github.com/karmada-io/karmada steps: - name: checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: ${{ env.GOPATH }}/src/github.com/karmada-io/karmada - name: install Go @@ -71,7 +71,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Number of commits to fetch. 0 indicates all history for all branches and tags. # We need to guess version via git tags. @@ -90,7 +90,7 @@ jobs: GOTESTSUM_ENABLED: enabled steps: - name: checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: install Go uses: actions/setup-go@v5 with: @@ -137,7 +137,7 @@ jobs: docker-images: false swap-storage: false - name: checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Number of commits to fetch. 0 indicates all history for all branches and tags. # We need to guess version via git tags. diff --git a/.github/workflows/cli.yaml b/.github/workflows/cli.yaml index 17b38b3a768a..1c75994d6e6c 100644 --- a/.github/workflows/cli.yaml +++ b/.github/workflows/cli.yaml @@ -25,7 +25,7 @@ jobs: k8s: [ v1.27.3, v1.28.0, v1.29.0 ] steps: - name: checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # Number of commits to fetch. 0 indicates all history for all branches and tags. # We need to guess version via git tags. diff --git a/.github/workflows/dockerhub-latest-chart.yml b/.github/workflows/dockerhub-latest-chart.yml index 1f2b922a0903..a0665e65250f 100644 --- a/.github/workflows/dockerhub-latest-chart.yml +++ b/.github/workflows/dockerhub-latest-chart.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # fetch-depth: # 0 indicates all history for all branches and tags. diff --git a/.github/workflows/dockerhub-latest-image.yml b/.github/workflows/dockerhub-latest-image.yml index a611243eb598..343051b990da 100644 --- a/.github/workflows/dockerhub-latest-image.yml +++ b/.github/workflows/dockerhub-latest-image.yml @@ -29,7 +29,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # fetch-depth: # 0 indicates all history for all branches and tags. diff --git a/.github/workflows/dockerhub-released-chart.yml b/.github/workflows/dockerhub-released-chart.yml index 60f9bc94a131..ab29e8f4f497 100644 --- a/.github/workflows/dockerhub-released-chart.yml +++ b/.github/workflows/dockerhub-released-chart.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # fetch-depth: # 0 indicates all history for all branches and tags. diff --git a/.github/workflows/dockerhub-released-image.yml b/.github/workflows/dockerhub-released-image.yml index 26757e3de24e..53d995c2cb74 100644 --- a/.github/workflows/dockerhub-released-image.yml +++ b/.github/workflows/dockerhub-released-image.yml @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # fetch-depth: # 0 indicates all history for all branches and tags. diff --git a/.github/workflows/fossa.yml b/.github/workflows/fossa.yml index f9d41046dc47..f28b396ed7e6 100644 --- a/.github/workflows/fossa.yml +++ b/.github/workflows/fossa.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run FOSSA scan and upload build data uses: fossas/fossa-action@v1 with: diff --git a/.github/workflows/lint-chart.yaml b/.github/workflows/lint-chart.yaml index 7dd86e6a5a3e..44508ffecc98 100644 --- a/.github/workflows/lint-chart.yaml +++ b/.github/workflows/lint-chart.yaml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 54c3749e5ab3..27fa89e5ef15 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: - amd64 - arm64 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Go uses: actions/setup-go@v5 with: @@ -44,7 +44,7 @@ jobs: name: release crds runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Rename the crds directory run: | mv ./charts/karmada/_crds ./charts/karmada/crds @@ -64,7 +64,7 @@ jobs: name: Release charts runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Making helm charts env: VERSION: ${{ github.ref_name }} @@ -83,6 +83,6 @@ jobs: name: Update krew-index runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Update new version in krew-index uses: rajatjindal/krew-release-bot@v0.0.40 diff --git a/.github/workflows/swr-latest-image.yml b/.github/workflows/swr-latest-image.yml index 3d914cdf2096..f492b37c5159 100644 --- a/.github/workflows/swr-latest-image.yml +++ b/.github/workflows/swr-latest-image.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: # fetch-depth: # 0 indicates all history for all branches and tags. diff --git a/.github/workflows/swr-released-image.yml b/.github/workflows/swr-released-image.yml index 652f98f567e9..4880ad3f6326 100644 --- a/.github/workflows/swr-released-image.yml +++ b/.github/workflows/swr-released-image.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: install Go