From 6de64209547ec970cb27564be87fe2085307e183 Mon Sep 17 00:00:00 2001 From: Vladyslav Diachenko <82767850+vlad-diachenko@users.noreply.github.com> Date: Fri, 4 Oct 2024 11:45:55 +0300 Subject: [PATCH] fix(ci): fixed `Publish Rendered Helm Chart Diff` workflow (#14365) Signed-off-by: Vladyslav Diachenko --- .github/workflows/helm-loki-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/helm-loki-ci.yml b/.github/workflows/helm-loki-ci.yml index 7a28505791184..5902d9f0f9115 100644 --- a/.github/workflows/helm-loki-ci.yml +++ b/.github/workflows/helm-loki-ci.yml @@ -1,14 +1,14 @@ --- name: helm-loki-ci on: - pull_request: + # It runs with the configuration from base branch, so the changes of this file from the PR won't be taken into account until they are merged into main. see: https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request_target . + # This change is required to allow this CI to be run on Pull Requests opened from a fork repository + pull_request_target: paths: - "production/helm/loki/**" jobs: publish-diff: - # temporarily disable the workflow for the PRs where PRs branch is from fork. - if: github.event.pull_request.head.repo.full_name == github.repository name: Publish Rendered Helm Chart Diff runs-on: ubuntu-latest steps: