This is an automated email from the ASF dual-hosted git repository.

Aias00 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hertzbeat-helm-chart.git


The following commit(s) were added to refs/heads/main by this push:
     new ecceea7  [fix] make CI runnable again (#24)
ecceea7 is described below

commit ecceea7e1dda4a071592c0ce3002f5cbb9c8e3a2
Author: NekoPunch <[email protected]>
AuthorDate: Sun Aug 16 22:31:58 2026 -0700

    [fix] make CI runnable again (#24)
    
    The ASF org actions policy refuses azure/setup-helm and
    helm/chart-testing-action, so every run since late 2025 dies with
    startup_failure before any job starts. Use the preinstalled helm and
    install chart-testing from its release tarball; also move off the
    retired ubuntu-22.04 runner, bump checkout/setup-python, replace the
    removed ::set-output command, and disable ct maintainer validation
    (the "hertzbeat" maintainer entry is not a GitHub user).
---
 .github/workflows/ci.yaml | 33 ++++++++++++++++++++-------------
 ct.yaml                   |  1 +
 2 files changed, 21 insertions(+), 13 deletions(-)

diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index c04ab22..19da144 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -25,25 +25,32 @@ on:
 
 jobs:
   lint-test:
-    runs-on: ubuntu-22.04
+    runs-on: ubuntu-latest
     steps:
       - name: Checkout
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
         with:
           fetch-depth: 0
 
-      - name: Install Helm
-        uses: azure/setup-helm@v3
-        env:
-          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
-      - uses: actions/setup-python@v4
+      - uses: actions/setup-python@v5
         with:
-          python-version: 3.9
-          
+          python-version: 3.11
+
+      # helm is preinstalled on the hosted runner; chart-testing is installed 
from
+      # its release tarball because the ASF actions allowlist rejects 
third-party
+      # actions like helm/chart-testing-action and azure/setup-helm
       - name: Set up chart-testing
-        uses: helm/[email protected]      
-      
+        run: |
+          CT_VERSION=3.11.0
+          curl -sSLo /tmp/ct.tgz 
"https://github.com/helm/chart-testing/releases/download/v${CT_VERSION}/chart-testing_${CT_VERSION}_linux_amd64.tar.gz";
+          mkdir -p /tmp/ct
+          tar -xzf /tmp/ct.tgz -C /tmp/ct
+          sudo mv /tmp/ct/ct /usr/local/bin/ct
+          sudo mkdir -p /etc/ct
+          sudo cp /tmp/ct/etc/chart_schema.yaml /tmp/ct/etc/lintconf.yaml 
/etc/ct/
+          pip install yamllint yamale
+
+
       - name: Run chart-testing (lint)
         run: ct lint --config ct.yaml
 
@@ -52,7 +59,7 @@ jobs:
         run: |
           changed=$(ct list-changed --config ct.yaml)
           if [[ -n "$changed" ]]; then
-            echo "::set-output name=changed::true"
+            echo "changed=true" >> "$GITHUB_OUTPUT"
           fi
 
       - name: Install k8s
diff --git a/ct.yaml b/ct.yaml
index ae925d1..10c4b40 100644
--- a/ct.yaml
+++ b/ct.yaml
@@ -25,3 +25,4 @@ pages-index-path: docs/index.yaml
 package-path: docs
 index-path: docs/index.yaml
 pr:
+validate-maintainers: false


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to