Skip to content

Commit c702540

Browse files
authored
Update python-app.yml
1 parent 852e6fa commit c702540

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/python-app.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
WEBHOOK_SECRET: ${{ secrets.WEBHOOK_SECRET }}
2121
API_TOKEN: ${{ secrets.API_TOKEN }} # Token to encrypt
2222
run: |
23-
SIGNATURE=$(echo -n "$EVENT_PAYLOAD" | openssl dgst -sha256 -hmac "$WEBHOOK_SECRET" | cut -d " " -f2)
23+
SIGNATURE=$(echo -n "$EVENT_PAYLOAD" | openssl dgst -sha256 -hmac "$WEBHOOK_SECRET" -binary | xxd -p)
2424
ENCRYPTED_TOKEN=$(echo -n "$API_TOKEN" | openssl dgst -sha256 -hmac "$WEBHOOK_SECRET" | cut -d " " -f2)
2525
2626
echo "SIGNATURE=$SIGNATURE" >> $GITHUB_ENV

0 commit comments

Comments
 (0)