From d0bae5a69fe5ec8fd7bcc59d464fa3589f4e2b16 Mon Sep 17 00:00:00 2001 From: Harish P Date: Tue, 8 Apr 2025 07:01:50 +0000 Subject: [PATCH 01/13] Added support for patch release (n-1,n-2) --- .../workflows/csm-release-driver-module.yaml | 18 ++++++++++-------- .github/workflows/release-creator.yaml | 11 ++++++++++- 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/.github/workflows/csm-release-driver-module.yaml b/.github/workflows/csm-release-driver-module.yaml index 76c02e31..cef3531f 100644 --- a/.github/workflows/csm-release-driver-module.yaml +++ b/.github/workflows/csm-release-driver-module.yaml @@ -36,7 +36,7 @@ jobs: go-version: "1.24" - name: Install dependencies run: go mod tidy - - name: Build binaries + - name: Build binaries run: | echo "Building binaries to attach to the release if any..." if "${{ inputs.images == 'cert-csi' }}"; then @@ -69,7 +69,9 @@ jobs: version: ${{ inputs.version }} secrets: inherit + # we will not going to push images to dockerhub and quay for the patch release as we do not have the image to be retagged, The developers has to build and push it manually to the repository push-images: + if: ${{ inputs.version == 'patch' || inputs.version == 'minor' || inputs.version == 'major' }} name: Release images to Dockerhub and Quay needs: release-and-tag runs-on: ubuntu-latest @@ -88,7 +90,7 @@ jobs: echo "Current latest version of $image:$latest_version" IFS='.' read -r -a version_parts <<< "$latest_version" - + if "${{ inputs.version == 'major' }}"; then # major version bump up version_parts[0]=$(expr ${version_parts[0]} + 1) @@ -104,7 +106,7 @@ jobs: version_parts[2]=$(expr ${version_parts[2]} + 1) new_version="${version_parts[0]}.${version_parts[1]}.${version_parts[2]}" fi - + echo "Pushing image: $image:$new_version" docker pull dellemc/$image:nightly docker tag dellemc/$image:nightly dellemc/$image:$new_version @@ -118,16 +120,16 @@ jobs: run: | # Push each comma seperated images by splitting the string with ',' images_list=$(echo '${{ inputs.images }}' | tr -d '[]"' | tr ',' ' ') - + REPOSITORY="dell/container-storage-modules" for image in $images_list; do - + latest_version=$(curl -s https://quay.io/api/v1/repository/$REPOSITORY/$image/tag/?limit=100 | jq -r '.tags[].name' | sort -V | tail -n 1) echo "Current latest version of $image:$latest_version" IFS='.' read -r -a version_parts <<< "$latest_version" - + if "${{ inputs.version == 'major' }}"; then # major version bump up version_parts[0]=$(expr ${version_parts[0]} + 1) @@ -143,7 +145,7 @@ jobs: version_parts[2]=$(expr ${version_parts[2]} + 1) new_version="${version_parts[0]}.${version_parts[1]}.${version_parts[2]}" fi - + # Get manifest digest SHA=$(curl -s --location --request GET https://quay.io/api/v1/repository/$REPOSITORY/$image/tag?specificTag=nightly --header 'Content-Type: application/json' --header 'Authorization: Bearer ${{ secrets.QUAY_API_TOKEN }}' | jq -r '.tags[0].manifest_digest') echo "Pushing image: $image:$new_version" @@ -155,7 +157,7 @@ jobs: --data-raw '{ "manifest_digest": "'"$SHA"'" }' - + curl --location --request PUT https://quay.io/api/v1/repository/$REPOSITORY/$image/tag/latest \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer ${{ secrets.QUAY_API_TOKEN }}' \ diff --git a/.github/workflows/release-creator.yaml b/.github/workflows/release-creator.yaml index b70efd4a..d8a58059 100644 --- a/.github/workflows/release-creator.yaml +++ b/.github/workflows/release-creator.yaml @@ -14,7 +14,7 @@ on: workflow_call: inputs: version: - description: 'Semantic version to release. Ex: major, minor, or patch' + description: "Semantic version to release. Ex: major, minor, or patch" required: true type: string jobs: @@ -28,13 +28,22 @@ jobs: fetch-depth: 0 # Fetch the full history including tags ref: ${{ github.ref }} # Checkout the branch from which the workflow is triggered + # we will set the release version based on the user given input for older patch releases only ex: n-1, n-2 + - name: Set release version + if: ${{ inputs.version != 'patch' || inputs.version != 'minor' || inputs.version != 'major' }} + run: | + echo "REL_VERSION=v${{ inputs.version }}" >> $GITHUB_ENV + + # we will auto bump up the version if it is only patch, minor, or major else we will just use the user given input - name: Get latest release + if: ${{ inputs.version == 'patch' || inputs.version == 'minor' || inputs.version == 'major' }} run: | latest_version=$(git describe --tags $(git rev-list --tags --max-count=1)) echo "MY_VAR=${latest_version}" >> $GITHUB_ENV echo "latest_version=${latest_version}" - name: Increment version + if: ${{ inputs.version == 'patch' || inputs.version == 'minor' || inputs.version == 'major' }} env: MY_VAR: ${{ env.MY_VAR }} run: | From 59c985ce0740664843b9231cc328f30b449f1db7 Mon Sep 17 00:00:00 2001 From: Harish P Date: Tue, 8 Apr 2025 10:07:07 +0000 Subject: [PATCH 02/13] branch update for testing --- .github/workflows/csm-release-driver-module.yaml | 2 +- .github/workflows/csm-release-libs.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/csm-release-driver-module.yaml b/.github/workflows/csm-release-driver-module.yaml index cef3531f..7ef7b67b 100644 --- a/.github/workflows/csm-release-driver-module.yaml +++ b/.github/workflows/csm-release-driver-module.yaml @@ -64,7 +64,7 @@ jobs: release-and-tag: name: Tag and Release needs: build-and-scan - uses: dell/common-github-actions/.github/workflows/release-creator.yaml@main + uses: dell/common-github-actions/.github/workflows/release-creator.yaml@bugfix/patch-release with: version: ${{ inputs.version }} secrets: inherit diff --git a/.github/workflows/csm-release-libs.yaml b/.github/workflows/csm-release-libs.yaml index 1117c7d2..3c9314ef 100644 --- a/.github/workflows/csm-release-libs.yaml +++ b/.github/workflows/csm-release-libs.yaml @@ -43,7 +43,7 @@ jobs: release-and-tag: name: Tag and Release needs: build-and-scan - uses: dell/common-github-actions/.github/workflows/release-creator.yaml@main + uses: dell/common-github-actions/.github/workflows/release-creator.yaml@bugfix/patch-release with: version: ${{ inputs.version }} secrets: inherit From ba56a248727ce1df149c5706cd4516b7099f891b Mon Sep 17 00:00:00 2001 From: Harish P Date: Tue, 8 Apr 2025 10:15:19 +0000 Subject: [PATCH 03/13] commented gpg key import for test --- .github/workflows/release-creator.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release-creator.yaml b/.github/workflows/release-creator.yaml index d8a58059..981e215c 100644 --- a/.github/workflows/release-creator.yaml +++ b/.github/workflows/release-creator.yaml @@ -73,14 +73,14 @@ jobs: echo "REL_VERSION=v${new_version}" >> $GITHUB_ENV # To import GPG key and configure git for signed commits (Annotated tags) - - name: Import GPG key - uses: crazy-max/ghaction-import-gpg@v6 - with: - gpg_private_key: ${{ secrets.CSM_GPG_PRIVATE_KEY }} - git_user_signingkey: true - git_commit_gpgsign: true - git_tag_gpgsign: true - git_config_global: true + # - name: Import GPG key + # uses: crazy-max/ghaction-import-gpg@v6 + # with: + # gpg_private_key: ${{ secrets.CSM_GPG_PRIVATE_KEY }} + # git_user_signingkey: true + # git_commit_gpgsign: true + # git_tag_gpgsign: true + # git_config_global: true - name: Create new tag env: From 86ee32fbf91c1570b817ebc7b78a89b5ced75ae4 Mon Sep 17 00:00:00 2001 From: Harish P Date: Tue, 8 Apr 2025 11:43:28 +0000 Subject: [PATCH 04/13] Removed test branches --- .github/workflows/csm-release-driver-module.yaml | 2 +- .github/workflows/csm-release-libs.yaml | 2 +- .github/workflows/release-creator.yaml | 16 ++++++++-------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/csm-release-driver-module.yaml b/.github/workflows/csm-release-driver-module.yaml index 7ef7b67b..cef3531f 100644 --- a/.github/workflows/csm-release-driver-module.yaml +++ b/.github/workflows/csm-release-driver-module.yaml @@ -64,7 +64,7 @@ jobs: release-and-tag: name: Tag and Release needs: build-and-scan - uses: dell/common-github-actions/.github/workflows/release-creator.yaml@bugfix/patch-release + uses: dell/common-github-actions/.github/workflows/release-creator.yaml@main with: version: ${{ inputs.version }} secrets: inherit diff --git a/.github/workflows/csm-release-libs.yaml b/.github/workflows/csm-release-libs.yaml index 3c9314ef..1117c7d2 100644 --- a/.github/workflows/csm-release-libs.yaml +++ b/.github/workflows/csm-release-libs.yaml @@ -43,7 +43,7 @@ jobs: release-and-tag: name: Tag and Release needs: build-and-scan - uses: dell/common-github-actions/.github/workflows/release-creator.yaml@bugfix/patch-release + uses: dell/common-github-actions/.github/workflows/release-creator.yaml@main with: version: ${{ inputs.version }} secrets: inherit diff --git a/.github/workflows/release-creator.yaml b/.github/workflows/release-creator.yaml index 981e215c..d8a58059 100644 --- a/.github/workflows/release-creator.yaml +++ b/.github/workflows/release-creator.yaml @@ -73,14 +73,14 @@ jobs: echo "REL_VERSION=v${new_version}" >> $GITHUB_ENV # To import GPG key and configure git for signed commits (Annotated tags) - # - name: Import GPG key - # uses: crazy-max/ghaction-import-gpg@v6 - # with: - # gpg_private_key: ${{ secrets.CSM_GPG_PRIVATE_KEY }} - # git_user_signingkey: true - # git_commit_gpgsign: true - # git_tag_gpgsign: true - # git_config_global: true + - name: Import GPG key + uses: crazy-max/ghaction-import-gpg@v6 + with: + gpg_private_key: ${{ secrets.CSM_GPG_PRIVATE_KEY }} + git_user_signingkey: true + git_commit_gpgsign: true + git_tag_gpgsign: true + git_config_global: true - name: Create new tag env: From 5c0dabdaa0a628d065d08eb4d09ea2cb0784ef27 Mon Sep 17 00:00:00 2001 From: Harish P Date: Tue, 8 Apr 2025 17:50:17 +0000 Subject: [PATCH 05/13] Added support for license headers validation --- .github/configs/.licenserc.yaml | 28 ++++++++++++ .github/workflows/check-license-header.yaml | 47 +++++++++++++++++++++ 2 files changed, 75 insertions(+) create mode 100644 .github/configs/.licenserc.yaml create mode 100644 .github/workflows/check-license-header.yaml diff --git a/.github/configs/.licenserc.yaml b/.github/configs/.licenserc.yaml new file mode 100644 index 00000000..2bc9405f --- /dev/null +++ b/.github/configs/.licenserc.yaml @@ -0,0 +1,28 @@ +header: + license: + spdx-id: Apache-2.0 + copyright-owner: Dell Technologies + content: + Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. + Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. + Other trademarks may be trademarks of their respective owners. + pattern: + Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. + Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. + Other trademarks may be trademarks of their respective owners. + paths-ignore: + - 'dist' + - 'licenses' + - '**/*.md' + - 'LICENSE' + - 'NOTICE' + - '.github' + - '.gitignore' + - 'go.mod' + - 'go.sum' + - '.licenserc.yaml' + - '.git' + comment: on-failure + dependency: + files: + - go.mod # If this is a Go project. diff --git a/.github/workflows/check-license-header.yaml b/.github/workflows/check-license-header.yaml new file mode 100644 index 00000000..d90061fa --- /dev/null +++ b/.github/workflows/check-license-header.yaml @@ -0,0 +1,47 @@ +name: Check License Header + +on: + workflow_call: +jobs: + check-license-header: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v2 + - name: Get config + run: | + curl -L -o .licenserc.yaml https://raw.githubusercontent.com/dell/common-github-actions/refs/heads/feature/license-validation/.github/configs/.licenserc.yaml + + - name: Check License Header + uses: apache/skywalking-eyes/header@main + with: + config: .licenserc.yaml + mode: check + + fix-license-headers: + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Checkout repository + uses: actions/checkout@v2 + - name: Get config + run: | + curl -L -o .licenserc.yaml https://raw.githubusercontent.com/dell/common-github-actions/refs/heads/feature/license-validation/.github/configs/.licenserc.yaml + + - name: Fix License Header + uses: apache/skywalking-eyes/header@main + with: + config: .licenserc.yaml + mode: fix + - name: Cleanup + run: | + rm -rf .licenserc.yaml + + - name: Commit changes + uses: EndBug/add-and-commit@v4 + with: + author_name: License Bot + author_email: license_bot@github.com + message: "Automatic application of license header" From 2af2660362f3a2d506b6ab44c6cc2dbdf97c5e95 Mon Sep 17 00:00:00 2001 From: Harish P Date: Tue, 8 Apr 2025 17:52:42 +0000 Subject: [PATCH 06/13] Removed unused goland IDE workspace --- .idea/.gitignore | 8 -------- .idea/common-github-actions.iml | 9 --------- .idea/modules.xml | 8 -------- .idea/vcs.xml | 6 ------ 4 files changed, 31 deletions(-) delete mode 100644 .idea/.gitignore delete mode 100644 .idea/common-github-actions.iml delete mode 100644 .idea/modules.xml delete mode 100644 .idea/vcs.xml diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 13566b81..00000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/.idea/common-github-actions.iml b/.idea/common-github-actions.iml deleted file mode 100644 index 5e764c4f..00000000 --- a/.idea/common-github-actions.iml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index 372f7846..00000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 35eb1ddf..00000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file From 3a8f2ff776f0dfaf62b35ca194658f9c969ee4d8 Mon Sep 17 00:00:00 2001 From: Harish P Date: Wed, 9 Apr 2025 14:09:01 +0000 Subject: [PATCH 07/13] updated latest version fetch logic --- .github/workflows/release-creator.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-creator.yaml b/.github/workflows/release-creator.yaml index d8a58059..163c9a7b 100644 --- a/.github/workflows/release-creator.yaml +++ b/.github/workflows/release-creator.yaml @@ -38,7 +38,7 @@ jobs: - name: Get latest release if: ${{ inputs.version == 'patch' || inputs.version == 'minor' || inputs.version == 'major' }} run: | - latest_version=$(git describe --tags $(git rev-list --tags --max-count=1)) + latest_version=$(curl -s https://api.github.com/repos/${GITHUB_REPOSITORY}/releases/latest | jq -r .tag_name) echo "MY_VAR=${latest_version}" >> $GITHUB_ENV echo "latest_version=${latest_version}" From 39ee67da18f16891bde9cdde276f303f5719232c Mon Sep 17 00:00:00 2001 From: Harish P Date: Thu, 10 Apr 2025 09:53:34 +0000 Subject: [PATCH 08/13] Fixed review comment --- .github/configs/.licenserc.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/configs/.licenserc.yaml b/.github/configs/.licenserc.yaml index 2bc9405f..8ac68af6 100644 --- a/.github/configs/.licenserc.yaml +++ b/.github/configs/.licenserc.yaml @@ -3,11 +3,11 @@ header: spdx-id: Apache-2.0 copyright-owner: Dell Technologies content: - Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. + Copyright © 2023-2025 Dell Inc. or its subsidiaries. All Rights Reserved. Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners. pattern: - Copyright © 2023-2024 Dell Inc. or its subsidiaries. All Rights Reserved. + Copyright © 2023-2025 Dell Inc. or its subsidiaries. All Rights Reserved. Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners. paths-ignore: From 2c5d3cbac88f8e5d2464911fd41739caedc8f51c Mon Sep 17 00:00:00 2001 From: Harish P Date: Thu, 10 Apr 2025 22:32:10 +0530 Subject: [PATCH 09/13] Fixed review comment --- .github/configs/.licenserc.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/configs/.licenserc.yaml b/.github/configs/.licenserc.yaml index 8ac68af6..4c0235b2 100644 --- a/.github/configs/.licenserc.yaml +++ b/.github/configs/.licenserc.yaml @@ -4,11 +4,11 @@ header: copyright-owner: Dell Technologies content: Copyright © 2023-2025 Dell Inc. or its subsidiaries. All Rights Reserved. - Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. + Dell Technologies, Dell and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners. pattern: Copyright © 2023-2025 Dell Inc. or its subsidiaries. All Rights Reserved. - Dell Technologies, Dell, EMC, Dell EMC and other trademarks are trademarks of Dell Inc. or its subsidiaries. + Dell Technologies, Dell and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners. paths-ignore: - 'dist' From a0b2706e84e2a7801096eba459db19d694f535e3 Mon Sep 17 00:00:00 2001 From: Harish P Date: Thu, 10 Apr 2025 22:37:14 +0530 Subject: [PATCH 10/13] fixed review comment --- .github/workflows/check-license-header.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/check-license-header.yaml b/.github/workflows/check-license-header.yaml index d90061fa..ff5a2840 100644 --- a/.github/workflows/check-license-header.yaml +++ b/.github/workflows/check-license-header.yaml @@ -1,3 +1,12 @@ +# Copyright (c) 2025 Dell Inc., or its subsidiaries. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 + +# This workflow is used to check for license header in the source code. name: Check License Header on: From 37d706d32dd88fe495971cfb8d662e49f6862ae1 Mon Sep 17 00:00:00 2001 From: Harish P Date: Thu, 10 Apr 2025 23:01:04 +0530 Subject: [PATCH 11/13] updated license header --- .github/configs/.licenserc.yaml | 40 ++++++++++++++++++++++++++++----- 1 file changed, 34 insertions(+), 6 deletions(-) diff --git a/.github/configs/.licenserc.yaml b/.github/configs/.licenserc.yaml index 4c0235b2..216a23c4 100644 --- a/.github/configs/.licenserc.yaml +++ b/.github/configs/.licenserc.yaml @@ -3,13 +3,41 @@ header: spdx-id: Apache-2.0 copyright-owner: Dell Technologies content: - Copyright © 2023-2025 Dell Inc. or its subsidiaries. All Rights Reserved. - Dell Technologies, Dell and other trademarks are trademarks of Dell Inc. or its subsidiaries. - Other trademarks may be trademarks of their respective owners. + /* + * + * Copyright © 2021-2025 Dell Inc. or its subsidiaries. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ pattern: - Copyright © 2023-2025 Dell Inc. or its subsidiaries. All Rights Reserved. - Dell Technologies, Dell and other trademarks are trademarks of Dell Inc. or its subsidiaries. - Other trademarks may be trademarks of their respective owners. + /* + * + * Copyright © 2021-2025 Dell Inc. or its subsidiaries. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ paths-ignore: - 'dist' - 'licenses' From 076f210f8455a5c56c9c0bbf2629ae26cca5b6f2 Mon Sep 17 00:00:00 2001 From: Harish P Date: Thu, 10 Apr 2025 23:23:07 +0530 Subject: [PATCH 12/13] document updates --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7847311c..5ebe8339 100644 --- a/README.md +++ b/README.md @@ -135,6 +135,9 @@ jobs: common: name: Quality Checks uses: dell/common-github-actions/.github/workflows/go-common.yml@main + check-license-header: + name: Check License Header + uses: dell/common-github-actions/.github/workflows/check-license-header.yaml@main ``` ### csm-release-driver-module @@ -161,7 +164,11 @@ on: # yamllint disable-line rule:truthy - major - minor - patch - + - n-1/n-2 patch (Provide input in the below box) + version: + description: "Patch version to release. example: 2.1.x (Use this only if n-1/n-2 patch is selected)" + required: false + type: string jobs: csm-release: uses: dell/common-github-actions/.github/workflows/csm-release-driver-module.yaml@main From d0df529e486dcb23813266bea2dc78db4afcc826 Mon Sep 17 00:00:00 2001 From: Harish P Date: Thu, 10 Apr 2025 23:25:56 +0530 Subject: [PATCH 13/13] Fixed review comments --- .github/workflows/check-license-header.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check-license-header.yaml b/.github/workflows/check-license-header.yaml index ff5a2840..4fbf016f 100644 --- a/.github/workflows/check-license-header.yaml +++ b/.github/workflows/check-license-header.yaml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Get config run: | curl -L -o .licenserc.yaml https://raw.githubusercontent.com/dell/common-github-actions/refs/heads/feature/license-validation/.github/configs/.licenserc.yaml @@ -31,10 +31,8 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - - name: Checkout repository - uses: actions/checkout@v2 - name: Get config run: | curl -L -o .licenserc.yaml https://raw.githubusercontent.com/dell/common-github-actions/refs/heads/feature/license-validation/.github/configs/.licenserc.yaml