go-playground / webhooks

:fishing_pole_and_fish: Webhook receiver for GitHub, Bitbucket, GitLab, Gogs
MIT License
962 stars 236 forks source link

Fix check suite payload #188

Open tim-thacker-nullify opened 12 months ago

tim-thacker-nullify commented 12 months ago

the check suite payload format was incorrect here is an example pull requests list

{
  "pull_requests": [
    {
      "url": "https://api.github.com/repos/tim-thacker-nullify/test/pulls/49",
      "id": 1627588747,
      "number": 49,
      "head": {
        "ref": "dast",
        "sha": "0fd21c48c83560c7ca5aee52245374a9544be1ee",
        "repo": {
          "id": 675442557,
          "url": "https://api.github.com/repos/tim-thacker-nullify/test",
          "name": "test"
        }
      },
      "base": {
        "ref": "main",
        "sha": "5434fdea861a950a4ac02b7377fbf51d7a2eb95a",
        "repo": {
          "id": 675442557,
          "url": "https://api.github.com/repos/tim-thacker-nullify/test",
          "name": "test"
        }
      }
    }
  ]
}
coveralls commented 12 months ago

Coverage Status

coverage: 88.765%. remained the same when pulling 4b4d7a18fcaa76177dd179f91884dd6a1aac5f06 on Nullify-Platform:fix-check-suite-payload into 53694f85d27d5446a0790b0408b6799ac9709b98 on go-playground:master.