From cf35450ca597116ec1f84c4be6d32f37ad1a2524 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=E1=B4=87=CA=80=C9=B4=E1=B4=85=20S=E1=B4=84=CA=9C?= =?UTF-8?q?=E1=B4=8F=CA=80=C9=A2=E1=B4=87=CA=80s?= Date: Tue, 29 Mar 2022 13:08:36 +0200 Subject: [PATCH] ci: Update flow --- .github/workflows/charts-changelog.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/charts-changelog.yaml b/.github/workflows/charts-changelog.yaml index 67b320c9..9d580b0c 100644 --- a/.github/workflows/charts-changelog.yaml +++ b/.github/workflows/charts-changelog.yaml @@ -56,8 +56,9 @@ jobs: - name: Annotate Charts.yaml for Renovate PR's if: inputs.isRenovatePR == 'true' + env: + DEFAULT_BRANCH: "${{ github.event.repository.default_branch }}" run: | - export DEFAULT_BRANCH=$(git remote show origin | awk '/HEAD branch/ {print $NF}') CHARTS=(${{ inputs.modifiedCharts }}) for i in "${CHARTS[@]}" do