External CI: update curl headers (#4579)

This commit is contained in:
Jeffrey E Erickson
2025-04-09 18:33:53 -05:00
committed by GitHub
parent 824204a71d
commit 8256d87cfc

View File

@@ -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 }}",