Skip to content

Commit 2446ac1

Browse files
Update index.yaml from github actions after merge to master (#643)
* small updates to github actions * change add-and-commit to create-pull-request Signed-off-by: Brenno Oliveira <[email protected]> * change PR title to pass check Signed-off-by: Brenno Oliveira <[email protected]> * fix quotes Signed-off-by: Brenno Oliveira <[email protected]> --------- Signed-off-by: Brenno Oliveira <[email protected]> Co-authored-by: Max Williams <[email protected]> Co-authored-by: Brenno Oliveira <[email protected]>
1 parent 374da15 commit 2446ac1

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

Diff for: .github/workflows/helm-publish.yaml

+13-8
Original file line numberDiff line numberDiff line change
@@ -53,16 +53,21 @@ jobs:
5353
- name: Generate Helm repo index.yaml
5454
shell: bash
5555
run: |
56-
helm repo index .
56+
helm repo index --merge .
5757
- name: Update URLs in index.yaml with yq
5858
uses: mikefarah/[email protected]
5959
with:
6060
cmd: yq eval -i '. |= .entries[][] |= .urls[0] = "oci://" + env(REGISTRY) + "/" + .name + ":" + .version' index.yaml
61-
- name: Commit index.yaml to master branch
62-
uses: EndBug/[email protected]
61+
- name: Create Pull Request
62+
id: cpr
63+
uses: peter-evans/create-pull-request@v7
6364
with:
64-
add: 'index.yaml'
65-
committer_name: GitHub Actions
66-
committer_email: [email protected]
67-
author_email: [email protected]
68-
message: "$GITHUB_ACTION is updating index.yaml for $GITHUB_REF"
65+
commit-message: "$GITHUB_ACTION is updating index.yaml for $GITHUB_REF"
66+
branch: update-index
67+
delete-branch: true
68+
title: "[stable/index] Updating index.yaml for $GITHUB_REF"
69+
add-paths: |
70+
index.yaml
71+
labels: |
72+
index
73+
automated pr

Diff for: .gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ __pycache__
1616
.idea/
1717
*.tmproj
1818
.vscode/
19+
20+
*.tgz

0 commit comments

Comments
 (0)