Skip to content

Commit

Permalink
fix(cicd): Push changes to new branch
Browse files Browse the repository at this point in the history
  • Loading branch information
muhuchah authored Aug 27, 2024
1 parent 9959644 commit 9ed62da
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/CI-Merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ jobs:
sudo apt-get update
sudo apt-get install -y gh
sudo snap install yq
- name: Authenticate GitHub CLI
run: |
echo "Authenticating GitHub CLI..."
echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token
- name: Clone Helm Chart Repository
run: |
Expand All @@ -69,7 +75,6 @@ jobs:
- name: Push changes to new branch
run: |
cd helm-chart-repo
git remote set-url origin https://${{ secrets.GITHUB_TOKEN }}@github.com/username/repo.git
git push --set-upstream origin $NEW_BRANCH
- name: Create Pull Request
Expand Down

0 comments on commit 9ed62da

Please sign in to comment.