From b99ff302678f4436c7c06250c52506aaac7eb8fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Tue, 11 Jul 2023 09:59:13 +0200 Subject: [PATCH] gha: nightly: Fix name size limit for AKS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Passing the commit hash as the "pr-number" has shown problematic as it would make the AKS cluster name longer than what's accepted by AKS. One easy way to solve this is just passing "nightly" as the PR number, as that's only used to create the cluster. Fixes: #7247 Signed-off-by: Fabiano FidĂȘncio --- .github/workflows/ci-nightly.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-nightly.yaml b/.github/workflows/ci-nightly.yaml index 9948bc9103..a5b82e8b65 100644 --- a/.github/workflows/ci-nightly.yaml +++ b/.github/workflows/ci-nightly.yaml @@ -8,6 +8,6 @@ jobs: uses: ./.github/workflows/ci.yaml with: commit-hash: ${{ github.sha }} - pr-number: ${{ github.sha }} + pr-number: "nightly" tag: ${{ github.sha }}-nightly secrets: inherit