From dfceb29c93dbd42d90cae0fdea103944fdd2f5ea Mon Sep 17 00:00:00 2001 From: Keith Suderman Date: Wed, 17 Apr 2024 11:09:28 -0400 Subject: [PATCH 1/3] Add checkout set to the tag-and-release step. --- .github/workflows/packaging.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/packaging.yml b/.github/workflows/packaging.yml index 7436a068..e168fe5b 100644 --- a/.github/workflows/packaging.yml +++ b/.github/workflows/packaging.yml @@ -56,6 +56,9 @@ jobs: && contains(needs.*.result, 'success') && !contains(needs.*.result, 'failure') steps: + - uses: actions/checkout@v2 + with: + persist-credentials: false - name: Tag and release run: | version=v$(cat galaxy/Chart.yaml | grep ^version: | awk '{print $2}') From 7236270bd6c064e68e4374f54181969193dc80f8 Mon Sep 17 00:00:00 2001 From: Keith Suderman Date: Wed, 17 Apr 2024 11:58:28 -0400 Subject: [PATCH 2/3] Update .github/workflows/packaging.yml Use latest version of the checkout action. Co-authored-by: Nuwan Goonasekera <2070605+nuwang@users.noreply.github.com> --- .github/workflows/packaging.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/packaging.yml b/.github/workflows/packaging.yml index e168fe5b..ae7191ac 100644 --- a/.github/workflows/packaging.yml +++ b/.github/workflows/packaging.yml @@ -56,7 +56,7 @@ jobs: && contains(needs.*.result, 'success') && !contains(needs.*.result, 'failure') steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: persist-credentials: false - name: Tag and release From 576807e64a0f9b1546fd5137d3a94df5468802f8 Mon Sep 17 00:00:00 2001 From: Keith Suderman Date: Wed, 17 Apr 2024 12:06:51 -0400 Subject: [PATCH 3/3] Update all checkout actions to v4 --- .github/workflows/packaging.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/packaging.yml b/.github/workflows/packaging.yml index ae7191ac..a1bb5195 100644 --- a/.github/workflows/packaging.yml +++ b/.github/workflows/packaging.yml @@ -20,7 +20,7 @@ jobs: name: Package and push from PR runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: persist-credentials: false - uses: cloudve/helm-ci@master @@ -36,7 +36,7 @@ jobs: name: Package and push manual invocation runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: persist-credentials: false - uses: cloudve/helm-ci@master