Skip to content

Commit

Permalink
Fix Accept header for Github Action dispatch (#516)
Browse files Browse the repository at this point in the history
  • Loading branch information
arothian authored Jan 19, 2021
1 parent 673eb05 commit 427e432
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gempush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
curl -s \
-XPOST \
-u "stelligent-releasebot:${{secrets.GITHUB_TOKEN}}" \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Accept: application/vnd.github.v3+json" \
-H "Content-Type: application/json" \
https://api.github.com/repos/${{ env.docker_org }}/cfn-nag-pipeline/dispatches \
--data '{"event_type": "build_application"}'
Expand All @@ -86,7 +86,7 @@ jobs:
curl -s \
-XPOST \
-u "stelligent-releasebot:${{secrets.GITHUB_TOKEN}}" \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Accept: application/vnd.github.v3+json" \
-H "Content-Type: application/json" \
https://api.github.com/repos/${{ env.docker_org }}/homebrew-tap/dispatches \
--data '{"event_type": "build_application"}'

0 comments on commit 427e432

Please sign in to comment.