File tree Expand file tree Collapse file tree 1 file changed +8
-15
lines changed
Expand file tree Collapse file tree 1 file changed +8
-15
lines changed Original file line number Diff line number Diff line change @@ -231,18 +231,11 @@ jobs:
231231 prerelease: isPreRelease,
232232 make_latest: !isPreRelease
233233 });
234- - name : Trigger chart update
235- env :
236- GH_TOKEN : ${{ secrets.WORKFLOW_PAT }}
237- run : |
238- echo '{
239- "event_type": "update-chart",
240- "client_payload": {
241- "version": "${{ github.ref_name }}",
242- "oldVersion": "${{ steps.get_last_release_tag.outputs.old_release_tag }}",
243- "repository": "${{ github.repository }}"
244- }
245- }' > payload.json
246- gh api repos/${{ github.repository_owner }}/helm-charts/dispatches \
247- -X POST \
248- --input payload.json
234+
235+ update-charts :
236+ needs : [release]
237+ uses : ./.github/workflows/update-charts.yml
238+ permissions :
239+ contents : write # for updatecli to update the repository
240+ pull-requests : write # for updatecli to create a PR
241+ secrets : inherit
You can’t perform that action at this time.
0 commit comments