Skip to content

Commit

Permalink
e2e: Use the GitHub token for auth
Browse files Browse the repository at this point in the history
Add support for running the end-to-end test workflow for private GitHub repositories.

Signed-off-by: Stefan Prodan <[email protected]>
  • Loading branch information
stefanprodan committed Aug 18, 2023
1 parent 2f99923 commit 6f7a258
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 6f7a258

Please sign in to comment.