From a7f2b6771155037471ce8d94b431a70dca07921e Mon Sep 17 00:00:00 2001 From: chahatsagarmain Date: Tue, 7 Jan 2025 21:08:24 +0530 Subject: [PATCH] changes Signed-off-by: chahatsagarmain --- .github/workflows/ci-e2e-badger.yaml | 8 +++----- .github/workflows/ci-e2e-elasticsearch.yml | 7 ++----- .github/workflows/ci-e2e-grpc.yml | 6 ++---- .github/workflows/ci-e2e-kafka.yml | 6 ++---- .github/workflows/ci-e2e-memory.yaml | 8 +++----- .github/workflows/ci-e2e-opensearch.yml | 5 +---- 6 files changed, 13 insertions(+), 27 deletions(-) diff --git a/.github/workflows/ci-e2e-badger.yaml b/.github/workflows/ci-e2e-badger.yaml index 736246bdafc..3938dee231a 100644 --- a/.github/workflows/ci-e2e-badger.yaml +++ b/.github/workflows/ci-e2e-badger.yaml @@ -25,11 +25,9 @@ jobs: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - - - name: Fetch git tags - run: | - git fetch --prune --unshallow --tags - + with: + fetch-depth: 0 + - uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0 with: go-version: 1.23.x diff --git a/.github/workflows/ci-e2e-elasticsearch.yml b/.github/workflows/ci-e2e-elasticsearch.yml index 8d66ba3569d..ba28fc33642 100644 --- a/.github/workflows/ci-e2e-elasticsearch.yml +++ b/.github/workflows/ci-e2e-elasticsearch.yml @@ -40,11 +40,8 @@ jobs: - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 with: submodules: true - - - name: Fetch git tags - run: | - git fetch --prune --unshallow --tags - + fetch-depth: 0 + - uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0 with: go-version: 1.23.x diff --git a/.github/workflows/ci-e2e-grpc.yml b/.github/workflows/ci-e2e-grpc.yml index f47c9adf08d..e31f45a9cf7 100644 --- a/.github/workflows/ci-e2e-grpc.yml +++ b/.github/workflows/ci-e2e-grpc.yml @@ -25,10 +25,8 @@ jobs: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - - - name: Fetch git tags - run: | - git fetch --prune --unshallow --tags + with: + fetch-depth: 0 - uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0 with: diff --git a/.github/workflows/ci-e2e-kafka.yml b/.github/workflows/ci-e2e-kafka.yml index 7cf46accc76..bac45d6bba4 100644 --- a/.github/workflows/ci-e2e-kafka.yml +++ b/.github/workflows/ci-e2e-kafka.yml @@ -27,10 +27,8 @@ jobs: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - - - name: Fetch git tags - run: | - git fetch --prune --unshallow --tags + with: + fetch-depth: 0 - uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0 with: diff --git a/.github/workflows/ci-e2e-memory.yaml b/.github/workflows/ci-e2e-memory.yaml index 3dd605881a7..7358eafcc90 100644 --- a/.github/workflows/ci-e2e-memory.yaml +++ b/.github/workflows/ci-e2e-memory.yaml @@ -21,11 +21,9 @@ jobs: egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 - - - name: Fetch git tags - run: | - git fetch --prune --unshallow --tags - + with: + fetch-depth: 0 + - uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0 with: go-version: 1.23.x diff --git a/.github/workflows/ci-e2e-opensearch.yml b/.github/workflows/ci-e2e-opensearch.yml index 78f10e284ce..90c00f66397 100644 --- a/.github/workflows/ci-e2e-opensearch.yml +++ b/.github/workflows/ci-e2e-opensearch.yml @@ -37,10 +37,7 @@ jobs: - uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0 with: submodules: true - - - name: Fetch git tags - run: | - git fetch --prune --unshallow --tags + fetch-depth: 0 - uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0 with: