From 97c29f67e0ff8d9a8650b118b116471753116bf0 Mon Sep 17 00:00:00 2001 From: Vladyslav Diachenko Date: Wed, 18 Sep 2024 21:23:38 +0300 Subject: [PATCH] modified checkout PRs branch step to support the case when PRs branch is from another repository Signed-off-by: Vladyslav Diachenko --- .github/workflows/helm-loki-ci.yml | 4 ++++ production/helm/loki/scenarios/ingress-values.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/helm-loki-ci.yml b/.github/workflows/helm-loki-ci.yml index 0ebc712c99e95..3cd7da71f911b 100644 --- a/.github/workflows/helm-loki-ci.yml +++ b/.github/workflows/helm-loki-ci.yml @@ -33,11 +33,15 @@ jobs: with: ref: ${{ github.event.pull_request.base.ref }} path: ${{ github.workspace }}/base + - name: print event + run: | + echo ${{ toJson(github) }} - name: Checkout PR branch to 'pr' folder within workspace uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.ref }} + repository: ${{ github.event.pull_request.head.repo.full_name }} path: ${{ github.workspace }}/pr - name: Render Helm chart for each scenario in the base branch diff --git a/production/helm/loki/scenarios/ingress-values.yaml b/production/helm/loki/scenarios/ingress-values.yaml index ff5ff1efd9ce7..cd6ded8733778 100644 --- a/production/helm/loki/scenarios/ingress-values.yaml +++ b/production/helm/loki/scenarios/ingress-values.yaml @@ -10,7 +10,7 @@ gateway: pathType: Prefix loki: commonConfig: - replication_factor: 1 + replication_factor: 3 useTestSchema: true storage: bucketNames: