We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a36ec0b commit 27d60ccCopy full SHA for 27d60cc
lib/opencov/subscribers/github_subscriber.ex
@@ -39,15 +39,6 @@ defmodule Librecov.Subscriber.GithubSubscriber do
39
end)
40
end
41
42
- # def process(%Event{topic: :pull_request_synced, data: payload}) do
43
- # with %{"after" => commit, "repository" => repo} <- payload,
44
- # %{"name" => repo, "owner" => %{"login" => owner}} <- repo do
45
- # Auth.with_auth_data(owner, repo, fn auth ->
46
- # Checks.create_check(auth, commit)
47
- # end)
48
- # end
49
50
-
51
def process(%Event{topic: :check_suite_requested, data: payload}) do
52
Auth.with_auth_data(payload, fn auth ->
53
Checks.create_check(auth, payload["check_suite"]["head_sha"])
0 commit comments