Skip to content

Commit

Permalink
feat: make PR with changes to deal with branch protection rules (#1987)
Browse files Browse the repository at this point in the history
fix: from new branch

fix: syntax

fix: syntax

fix: pr permissions

fix: pr details

Co-authored-by: Patrick Lee Scott <[email protected]>
  • Loading branch information
knative-prow-robot and patrickleet authored Jan 31, 2025
1 parent a049130 commit b602c35
Showing 1 changed file with 34 additions and 3 deletions.
37 changes: 34 additions & 3 deletions .github/workflows/publish-helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:

permissions:
contents: write
pull-requests: write

runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -65,7 +66,37 @@ jobs:
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add -A
git commit -m "update helm chart repository index.yaml"
git push origin gh-pages
git commit -m "update helm chart repository index"
fi
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
branch: feat/update-helm-repo-index-${{ github.sha }}
base: gh-pages
title: Update Helm Chart Repository Index
body: |
<!--
Are you using Knative? If you do, we would love to know!
https://github.com/knative/community/issues/new?template=ADOPTERS.yaml&title=%5BADOPTERS%5D%3A+%24%7BCOMPANY+NAME+HERE%7D
-->
<!--
Request Prow to automatically lint any go code in this PR:
/lint
-->
## Proposed Changes
* Update Helm Chart Repository Index - generated by the publish-helm.yaml workflow
**Release Note**
<!-- Enter your extended release note in the below block. If the PR requires
additional action from users switching to the new release, include the string
"action required". If no release note is required, write "NONE". -->
```release-note
NONE
```

0 comments on commit b602c35

Please sign in to comment.