Skip to content

Commit 3a36b5b

Browse files
committed
cleanup: Add more logging.
I don't see why automerge isn't working. Hopefully this will give me some insights.
1 parent 1a305c8 commit 3a36b5b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/GitHub/Tools/AutoMerge.hs

+1
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ autoMergePullRequest token ownerName repoName = do
9090
pulls <- request auth mgr (GitHub.pullRequestsForR ownerName repoName GitHub.stateOpen GitHub.FetchAll)
9191
>>= (fmap (map $ makePullRequestInfo repoName) . getPrInfos auth mgr ownerName repoName) . V.toList
9292
putStrLn $ "found " <> show (length pulls) <> " pulls in " <> Text.unpack (GitHub.untagName repoName)
93+
mapM_ print pulls
9394

9495
let cleanPulls = filter clean pulls
9596
putStrLn $ "out of these, " <> show (length cleanPulls) <> " are clean pulls"

0 commit comments

Comments
 (0)