From 6f7a258b777358dfcdee9fe7a29092e4fe954193 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Fri, 18 Aug 2023 18:13:46 +0300 Subject: [PATCH] e2e: Use the GitHub token for auth Add support for running the end-to-end test workflow for private GitHub repositories. Signed-off-by: Stefan Prodan --- .github/workflows/e2e.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 5e92ea1c1..b68013bff 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -25,6 +25,8 @@ jobs: flux create source git flux-system \ --url=${{ github.event.repository.html_url }} \ --branch=${GITHUB_REF#refs/heads/} \ + --username=${GITHUB_ACTOR} \ + --password=${{ secrets.GITHUB_TOKEN }} \ --ignore-paths="clusters/**/flux-system/" flux create kustomization flux-system \ --source=flux-system \