Skip to content

Commit b602c35

Browse files
feat: make PR with changes to deal with branch protection rules (#1987)
fix: from new branch fix: syntax fix: syntax fix: pr permissions fix: pr details Co-authored-by: Patrick Lee Scott <[email protected]>
1 parent a049130 commit b602c35

File tree

1 file changed

+34
-3
lines changed

1 file changed

+34
-3
lines changed

.github/workflows/publish-helm.yaml

+34-3
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99

1010
permissions:
1111
contents: write
12+
pull-requests: write
1213

1314
runs-on: ubuntu-latest
1415
steps:
@@ -65,7 +66,37 @@ jobs:
6566
git config --local user.email "github-actions[bot]@users.noreply.github.com"
6667
git config --local user.name "github-actions[bot]"
6768
git add -A
68-
git commit -m "update helm chart repository index.yaml"
69-
70-
git push origin gh-pages
69+
git commit -m "update helm chart repository index"
7170
fi
71+
72+
- name: Create Pull Request
73+
uses: peter-evans/create-pull-request@v7
74+
with:
75+
branch: feat/update-helm-repo-index-${{ github.sha }}
76+
base: gh-pages
77+
title: Update Helm Chart Repository Index
78+
body: |
79+
<!--
80+
Are you using Knative? If you do, we would love to know!
81+
https://github.com/knative/community/issues/new?template=ADOPTERS.yaml&title=%5BADOPTERS%5D%3A+%24%7BCOMPANY+NAME+HERE%7D
82+
-->
83+
84+
<!--
85+
Request Prow to automatically lint any go code in this PR:
86+
87+
/lint
88+
-->
89+
90+
## Proposed Changes
91+
92+
* Update Helm Chart Repository Index - generated by the publish-helm.yaml workflow
93+
94+
**Release Note**
95+
96+
<!-- Enter your extended release note in the below block. If the PR requires
97+
additional action from users switching to the new release, include the string
98+
"action required". If no release note is required, write "NONE". -->
99+
100+
```release-note
101+
NONE
102+
```

0 commit comments

Comments
 (0)