Skip to content

Commit eb53079

Browse files
committed
ci: Substitute peter-evans/repository-dispatch with gh
Signed-off-by: Víctor Cuadrado Juan <vcuadradojuan@suse.de>
1 parent fc830fd commit eb53079

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -307,9 +307,9 @@ jobs:
307307
});
308308
309309
- name: Trigger chart update
310-
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3.0.0
311-
with:
312-
token: ${{ secrets.WORKFLOW_PAT }}
313-
repository: "${{github.repository_owner}}/helm-charts"
314-
event-type: update-chart
315-
client-payload: '{"version": "${{ github.ref_name }}", "oldVersion": "${{ steps.get_last_release_tag.outputs.old_release_tag }}", "repository": "${{ github.repository }}", "crds_asset_id": "${{steps.upload_release_assets.outputs.crds_asset_id}}"}'
310+
run: |
311+
gh api repos/${{ github.repository_owner }}/helm-charts/dispatches \
312+
-X POST \
313+
-F event_type=update-chart \
314+
-F client_payload='{"version": "${{ github.ref_name }}", "oldVersion": "${{ steps.get_last_release_tag.outputs.old_release_tag }}", "repository": "${{ github.repository }}", "crds_asset_id": "${{steps.upload_release_assets.outputs.crds_asset_id}}"}' \
315+
--header "Authorization: token ${{ secrets.WORKFLOW_PAT }}"

0 commit comments

Comments
 (0)