From 966d5e61c0284bdf5c55142862b5ea2c76a1f540 Mon Sep 17 00:00:00 2001 From: Waleed Malik Date: Tue, 26 Jan 2021 14:10:56 +0500 Subject: [PATCH 1/2] [skip-ci] use pull_request_target hook for pipelines against PRs --- .github/workflows/pull_request.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yaml b/.github/workflows/pull_request.yaml index cd884d43..425eed58 100644 --- a/.github/workflows/pull_request.yaml +++ b/.github/workflows/pull_request.yaml @@ -1,7 +1,7 @@ name: Pull Request on: - pull_request: + pull_request_target: branches: - master From 4f6ff420e81730978525b92464bf1b40e1cb92cf Mon Sep 17 00:00:00 2001 From: Waleed Malik Date: Tue, 26 Jan 2021 14:31:04 +0500 Subject: [PATCH 2/2] Fix chart publish step --- .github/workflows/push.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 891a542b..69283771 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -134,7 +134,7 @@ jobs: repository: stakater-charts target_dir: docs token: ${{ secrets.STAKATER_GITHUB_TOKEN }} - charts_dir: charts + charts_dir: deployment/chart charts_url: ${{ env.HELM_REGISTRY_URL }} owner: stakater linting: on