From 84132b6c104628e9bd4e41a1c1b893166d739b3d Mon Sep 17 00:00:00 2001 From: barrfalk Date: Mon, 8 Jan 2024 16:43:43 -0800 Subject: [PATCH] Update .push-helm-chart.yml --- .github/workflows/.push-helm-chart.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/.push-helm-chart.yml b/.github/workflows/.push-helm-chart.yml index 0934cbad..813d0835 100644 --- a/.github/workflows/.push-helm-chart.yml +++ b/.github/workflows/.push-helm-chart.yml @@ -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: | @@ -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 \ No newline at end of file