Skip to content

Commit

Permalink
Update .push-helm-chart.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
barrfalk committed Jan 9, 2024
1 parent a27a0d5 commit 84132b6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/.push-helm-chart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ jobs:
- name: Create new branch in target repository
run: |
cd target-repo
BRANCH_NAME="update-helm-chart-${{ inputs.tag }}"
git checkout -b $BRANCH_NAME
git checkout -b update-helm-chart-${{ inputs.tag }}
- name: Copy folder from source to target
run: |
Expand All @@ -112,12 +111,12 @@ jobs:
git config --global user.email "${{ vars.GLOBAL_EMAIL}}"
git add .
git commit -m "update helm chart ${{ inputs.tag }}"
git push --set-upstream origin $BRANCH_NAME
git push --set-upstream origin update-helm-chart-${{ inputs.tag }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
branch: ${{ env.BRANCH_NAME }}
branch: update-helm-chart-${{ inputs.tag }}
title: "feat: update helm ${{ inputs.tag }}"
body: "Helm updates"
token: ${{ secrets.GITOPS_PAT }} # GITHUB_TOKEN is still needed for PR creation

0 comments on commit 84132b6

Please sign in to comment.