Skip to content

Commit

Permalink
Remove duplicate 'User-Agent'
Browse files Browse the repository at this point in the history
  • Loading branch information
distributhor committed Jun 5, 2021
1 parent 241870c commit 5c90dd8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ fi
if [ "$silent" ]; then
curl -k -v --http1.1 --fail -s \
-H "Content-Type: $CONTENT_TYPE" \
-H "User-Agent: User-Agent: GitHub-Hookshot/760256b" \
-H "User-Agent: GitHub-Hookshot/760256b" \
-H "X-Hub-Signature: sha1=$WEBHOOK_SIGNATURE" \
-H "X-Hub-Signature-256: sha256=$WEBHOOK_SIGNATURE_256" \
-H "X-GitHub-Delivery: $GITHUB_RUN_NUMBER" \
Expand All @@ -84,7 +84,7 @@ if [ "$silent" ]; then
else
curl -k -v --http1.1 --fail \
-H "Content-Type: $CONTENT_TYPE" \
-H "User-Agent: User-Agent: GitHub-Hookshot/760256b" \
-H "User-Agent: GitHub-Hookshot/760256b" \
-H "X-Hub-Signature: sha1=$WEBHOOK_SIGNATURE" \
-H "X-Hub-Signature-256: sha256=$WEBHOOK_SIGNATURE_256" \
-H "X-GitHub-Delivery: $GITHUB_RUN_NUMBER" \
Expand Down

0 comments on commit 5c90dd8

Please sign in to comment.