ci: Update flow

This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2022-03-29 13:08:36 +02:00
parent e92fd316b0
commit cf35450ca5
No known key found for this signature in database
GPG Key ID: BC5E2BD907F9A8EC

View File

@ -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