-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Helm publish flow to use same tooling as other flows (#3816)
- Loading branch information
Showing
1 changed file
with
17 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |