diff --git a/workflows/internal/file/check_values_schema.yaml.template b/workflows/internal/file/check_values_schema.yaml.template index f38c425..73ebdea 100644 --- a/workflows/internal/file/check_values_schema.yaml.template +++ b/workflows/internal/file/check_values_schema.yaml.template @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/workflows/internal/file/cluster_app_schema_validation.yaml.template b/workflows/internal/file/cluster_app_schema_validation.yaml.template index b1cef35..2626ff5 100644 --- a/workflows/internal/file/cluster_app_schema_validation.yaml.template +++ b/workflows/internal/file/cluster_app_schema_validation.yaml.template @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run schemalint id: run-schemalint uses: giantswarm/schemalint/actions/verify-helm-schema@v2 @@ -34,7 +34,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Run helm-values-gen id: run-helm-values-gen diff --git a/workflows/internal/file/create_release.yaml.template b/workflows/internal/file/create_release.yaml.template index 6f1468a..40732e2 100644 --- a/workflows/internal/file/create_release.yaml.template +++ b/workflows/internal/file/create_release.yaml.template @@ -50,7 +50,7 @@ jobs: echo "version=${version}" >> $GITHUB_OUTPUT - name: Checkout code if: ${{ steps.get_version.outputs.version != '' }} - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Get project.go path id: get_project_go_path if: ${{ steps.get_version.outputs.version != '' }} @@ -100,7 +100,7 @@ jobs: tarball_binary_path: "*/src/${binary}" smoke_test: "${binary} --version" - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Update project.go id: update_project_go env: @@ -148,7 +148,7 @@ jobs: upload_url: ${{ steps.create_gh_release.outputs.upload_url }} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ github.sha }} - name: Ensure correct version in project.go @@ -192,7 +192,7 @@ jobs: - gather_facts - create_release steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: giantswarm/floating-tags-action@v1 {{{{- end }}}} @@ -213,7 +213,7 @@ jobs: tarball_binary_path: "*/src/${binary}" smoke_test: "${binary} --version" - name: Check out the repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 # Clone the whole history, not just the most recent commit. - name: Fetch all tags and branches @@ -292,7 +292,7 @@ jobs: with: go-version: ${{ env.GO_VERSION }} - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ env.TAG }} - name: Create ${{ matrix.platform }} package diff --git a/workflows/internal/file/create_release_pr.yaml.template b/workflows/internal/file/create_release_pr.yaml.template index ef73644..ce6ecb3 100644 --- a/workflows/internal/file/create_release_pr.yaml.template +++ b/workflows/internal/file/create_release_pr.yaml.template @@ -149,7 +149,7 @@ jobs: binary: "architect" version: "6.11.0" - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ needs.gather_facts.outputs.branch }} - name: Prepare release changes diff --git a/workflows/internal/file/ensure_major_version_tags.yaml.template b/workflows/internal/file/ensure_major_version_tags.yaml.template index 7db53ea..90cadfd 100644 --- a/workflows/internal/file/ensure_major_version_tags.yaml.template +++ b/workflows/internal/file/ensure_major_version_tags.yaml.template @@ -17,5 +17,5 @@ jobs: name: Ensure major version tags runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: giantswarm/floating-tags-action@v1 diff --git a/workflows/internal/file/gitleaks.go b/workflows/internal/file/gitleaks.go index 24667a1..333caf5 100644 --- a/workflows/internal/file/gitleaks.go +++ b/workflows/internal/file/gitleaks.go @@ -30,7 +30,7 @@ jobs: gitleaks: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: '0' - name: gitleaks-action diff --git a/workflows/internal/file/helm_render_diff.yaml.template b/workflows/internal/file/helm_render_diff.yaml.template index 7ff0499..66e3f87 100644 --- a/workflows/internal/file/helm_render_diff.yaml.template +++ b/workflows/internal/file/helm_render_diff.yaml.template @@ -32,7 +32,7 @@ jobs: runs-on: ubuntu-latest if: github.event_name == 'pull_request' && needs.check-cmp-state.outputs.suspendcmp == 0 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: list rendering values id: get-rendering-values run: | @@ -73,7 +73,7 @@ jobs: version: ${{ env.dyff_ver }} - run: which dyff - run: ls -la /opt/hostedtoolcache - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: render helm with current code run: | mkdir -p /tmp/${{ matrix.values }} @@ -81,7 +81,7 @@ jobs: helm repo add cluster-catalog https://giantswarm.github.io/cluster-catalog/ helm dependency build helm/${{ github.event.repository.name }} helm template -n org-giantswarm -f "helm/${{ github.event.repository.name }}/ci/ci-values.yaml" -f "${{ matrix.values }}" "helm/${{ github.event.repository.name }}" > /tmp/${{ matrix.values }}/render-new.yaml - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: "${{ github.event.repository.default_branch }}" path: 'old' diff --git a/workflows/internal/file/update_chart.yaml.template b/workflows/internal/file/update_chart.yaml.template index 7629fec..c8b5f7b 100644 --- a/workflows/internal/file/update_chart.yaml.template +++ b/workflows/internal/file/update_chart.yaml.template @@ -75,7 +75,7 @@ jobs: if: ${{ needs.gather_facts.outputs.skip != 'true' }} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: ${{ needs.gather_facts.outputs.branch }} - name: Install vendir