Use the gitea signature header for webhooks

master
meskio 1 year ago
parent 1d20162636
commit c647f768a1
Signed by: meskio
GPG Key ID: 52B8F5AC97A2DA86
  1. 10
      webhook.conf

@ -16,12 +16,12 @@
{
"match":
{
"type": "value",
"value": "{{ secret }}",
"type": "payload-hash-sha256",
"secret": "{{ secret }}",
"parameter":
{
"source": "payload",
"name": "secret"
{
"source": "header",
"name": "X-Gitea-Signature"
}
}
},

Loading…
Cancel
Save