Skip to content

Commit

Permalink
Fix Helm publish flow to use same tooling as other flows (#3816)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthchr authored Feb 23, 2024
1 parent cf98282 commit 1045d49
Showing 1 changed file with 17 additions and 12 deletions.
29 changes: 17 additions & 12 deletions .github/workflows/helm-chart-repo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,19 +89,24 @@ jobs:
container_id=${{ env.container_id }}
docker exec "$container_id" task controller:gen-helm-manifest
- name: Commit and push changes
uses: devops-infra/[email protected]
with:
github_token: ${{ secrets.GH_PAT }}
commit_message: Add Helm Chart
# Workaround for getting "Permission denied" errors when trying to stage files
- name: Take Ownership
run: sudo chown -R $USER:$USER .

- name: Create Pull Request
uses: devops-infra/action-pull-request@v0.4.2
uses: peter-evans/create-pull-request@v5.0.0
with:
github_token: ${{ secrets.GH_PAT }}
source_branch: ${{ format('bot/update-helm-chart-{0}', env.ref) }}
target_branch: main
token: ${{ secrets.GH_PAT }}
commit-message: Add Helm Chart
branch: ${{ format('bot/update-helm-chart-{0}', env.ref) }}
base: main
delete-branch: true
title: "[Automated] Add Helm Chart"
body: "Add new helm chart for latest release"
label: "automated pr"
get_diff: true
body: |
Add new helm chart for latest release
Auto-generated by [create-pull-request][1]
[1]: https://github.com/peter-evans/create-pull-request
labels: |
automated pr

0 comments on commit 1045d49

Please sign in to comment.