|
|
|
@ -19,8 +19,8 @@ jobs:
|
|
|
|
|
GIT_SHA: ${{ github.sha }}
|
|
|
|
|
GH_PAT: ${{ secrets.ELEVATED_GITHUB_TOKEN }}
|
|
|
|
|
GIT_ACTOR: ${{ github.actor }}
|
|
|
|
|
run: |
|
|
|
|
|
curl -H "Authorization: token $GH_PAT" \
|
|
|
|
|
-H 'Accept: application/json' \
|
|
|
|
|
-d "{\"event_type\": \"oss-merge\", \"client_payload\": {\"git-ref\": \"${GIT_REF}\", \"git-sha\": \"${GIT_SHA}\", \"git-actor\": \"${GIT_ACTOR}\" }}" \
|
|
|
|
|
"https://api.github.com/repos/hashicorp/consul-enterprise/dispatches"
|
|
|
|
|
run: |
|
|
|
|
|
curl -H "Authorization: token $GH_PAT" \
|
|
|
|
|
-H 'Accept: application/json' \
|
|
|
|
|
-d "{\"event_type\": \"oss-merge\", \"client_payload\": {\"git-ref\": \"${GIT_REF}\", \"git-sha\": \"${GIT_SHA}\", \"git-actor\": \"${GIT_ACTOR}\" }}" \
|
|
|
|
|
"https://api.github.com/repos/hashicorp/consul-enterprise/dispatches"
|