Skip to content

Commit 6de6420

Browse files
fix(ci): fixed Publish Rendered Helm Chart Diff workflow (#14365)
Signed-off-by: Vladyslav Diachenko <vlad.diachenko@grafana.com>
1 parent 0992d2a commit 6de6420

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎.github/workflows/helm-loki-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
name: helm-loki-ci
33
on:
4-
pull_request:
4+
# 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 .
5+
# This change is required to allow this CI to be run on Pull Requests opened from a fork repository
6+
pull_request_target:
57
paths:
68
- "production/helm/loki/**"
79

810
jobs:
911
publish-diff:
10-
# temporarily disable the workflow for the PRs where PRs branch is from fork.
11-
if: github.event.pull_request.head.repo.full_name == github.repository
1212
name: Publish Rendered Helm Chart Diff
1313
runs-on: ubuntu-latest
1414
steps:

0 commit comments

Comments
 (0)