From 74e6a8bca993bbce4bec025d72db48d40275e665 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hi=E1=BA=BFu?= Date: Thu, 28 May 2026 11:47:46 +0700 Subject: [PATCH] fix ci release download auth --- .github/workflows/ci-pipeline.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index 04978e8..4944054 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -129,7 +129,10 @@ jobs: helm template voting-app k8s -f k8s/values-azure.yaml >/tmp/voting-azure.yaml - name: Install Conftest + env: + GH_TOKEN: ${{ github.token }} run: | + rm -f conftest conftest_0.56.0_Linux_x86_64.tar.gz gh release download v0.56.0 \ --repo open-policy-agent/conftest \ --pattern conftest_0.56.0_Linux_x86_64.tar.gz @@ -197,7 +200,10 @@ jobs: helm template voting-app k8s -f k8s/values-azure.yaml >/tmp/voting-azure.yaml - name: Install Conftest + env: + GH_TOKEN: ${{ github.token }} run: | + rm -f conftest conftest_0.56.0_Linux_x86_64.tar.gz gh release download v0.56.0 \ --repo open-policy-agent/conftest \ --pattern conftest_0.56.0_Linux_x86_64.tar.gz @@ -318,6 +324,8 @@ jobs: "./${{ matrix.service }}" - name: Install Syft + env: + GH_TOKEN: ${{ github.token }} run: | set -euo pipefail for attempt in 1 2 3; do