Skip to content

Commit

Permalink
chore: 💚 forgot git config
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnaudTA committed Sep 17, 2024
1 parent b96b0ff commit 3579c12
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/update-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,16 @@ 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
uses: peter-evans/[email protected]
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

0 comments on commit 3579c12

Please sign in to comment.