diff --git a/.github/workflows/update-chart.yaml b/.github/workflows/update-chart.yaml index 2df566b..b94708b 100644 --- a/.github/workflows/update-chart.yaml +++ b/.github/workflows/update-chart.yaml @@ -67,9 +67,7 @@ jobs: sed -i "s/version: .*/version: $NEXT_VERSION/" charts/${{ inputs.CHART_NAME }}/Chart.yaml docker run --rm --volume "$(pwd)/charts/${{ inputs.CHART_NAME }}:/helm-docs" -u $(id -u) jnorwood/helm-docs:latest - git co -b ${{ inputs.CHART_NAME }}-$NEXT_VERSION - git commit -m "chore: :arrow_up: upgrade ${{ inputs.CHART_NAME }} to ${{ inputs.APP_VERSION }}" -a - git push --set-upstream origin ${{ inputs.CHART_NAME }}-$NEXT_VERSION + echo "BRANCH_PR=${{ inputs.CHART_NAME }}-$NEXT_VERSION" >> $GITHUB_OUTPUT - name: Create pull request @@ -77,3 +75,8 @@ jobs: with: branch: ${{ steps.update-chart.outputs.BRANCH_PR }} base: main + title: Update ${{ inputs.CHART_NAME }} to ${{ inputs.APP_VERSION }} + add-paths: | + **/** + commit-message: "chore: :arrow_up: upgrade ${{ inputs.CHART_NAME }} to ${{ inputs.APP_VERSION }}" + draft: false \ No newline at end of file