GitHub App webhook receiver
curl --request POST \
--url https://app.trustivan.com/api/v1/github/webhookimport requests
url = "https://app.trustivan.com/api/v1/github/webhook"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://app.trustivan.com/api/v1/github/webhook', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.trustivan.com/api/v1/github/webhook"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}GitHub App webhook receiver
Signature-verified (X-Hub-Signature-256) and fail-closed. A
pull_request delivery (opened, synchronize, reopened,
ready_for_review; not a draft, not from a fork) for an installation an
organization linked, on a repository asset with PR checks switched on,
is recorded as a pending pull-request check; a background task then
scans the head and base commits and posts a check run. Every other
delivery is acknowledged and ignored. The organization comes from the
linked installation, never from the payload.
POST
/
github
/
webhook
GitHub App webhook receiver
curl --request POST \
--url https://app.trustivan.com/api/v1/github/webhookimport requests
url = "https://app.trustivan.com/api/v1/github/webhook"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://app.trustivan.com/api/v1/github/webhook', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.trustivan.com/api/v1/github/webhook"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}Response
Accepted.