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