mirror of
https://github.com/ROCm/ROCm.git
synced 2026-01-10 07:08:08 -05:00
External CI: update curl headers (#4579)
This commit is contained in:
committed by
GitHub
parent
824204a71d
commit
8256d87cfc
@@ -21,9 +21,10 @@ steps:
|
||||
targetType: inline
|
||||
workingDirectory: $(Build.SourcesDirectory)
|
||||
script: |
|
||||
curl -X POST \
|
||||
-H "Accept: application/vnd.github.everest-preview+json" \
|
||||
-H "Authorization: token ${{ parameters.githubActionsToken }}" \
|
||||
curl -L -X POST \
|
||||
-H "Accept: application/vnd.github+json" \
|
||||
-H "Authorization: Bearer ${{ parameters.githubActionsToken }}" \
|
||||
-H "X-GitHub-Api-Version: 2022-11-28" \
|
||||
https://api.github.com/repos/${{ parameters.repoName }}/dispatches \
|
||||
-d '{
|
||||
"event_type": "${{ parameters.eventType }}",
|
||||
|
||||
Reference in New Issue
Block a user