Skip to content

Commit

Permalink
modified checkout PRs branch step to support the case when PRs branch…
Browse files Browse the repository at this point in the history
… is from another repository

Signed-off-by: Vladyslav Diachenko <vlad.diachenko@grafana.com>
  • Loading branch information
vlad-diachenko committed Sep 18, 2024
1 parent 16881ab commit 97c29f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/helm-loki-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion production/helm/loki/scenarios/ingress-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ gateway:
pathType: Prefix
loki:
commonConfig:
replication_factor: 1
replication_factor: 3
useTestSchema: true
storage:
bucketNames:
Expand Down

0 comments on commit 97c29f6

Please sign in to comment.