mirror of
https://github.com/ilyakooo0/sc-build.git
synced 2024-11-27 09:37:30 +03:00
changed emoji yet again
This commit is contained in:
parent
08f39aa7b4
commit
1c8ce3a2ae
@ -278,7 +278,7 @@ instance (MonadReader (ServerData m) m, StaticPQ m, MonadUnliftIO m) => HasGithu
|
||||
( NewStatus
|
||||
StatusPending
|
||||
(Just . URL $ h <> "/submission/" <> owner <> "/" <> repo <> "/" <> sha)
|
||||
(Just ":hourglass_flowing_sand:")
|
||||
(Just "⌛")
|
||||
(Just c)
|
||||
)
|
||||
scheduleTestedStatus TestResult {..} nOwner@(N owner) nRepo@(N repo) nCommit@(N sha) = do
|
||||
@ -286,7 +286,7 @@ instance (MonadReader (ServerData m) m, StaticPQ m, MonadUnliftIO m) => HasGithu
|
||||
c <- asks context
|
||||
let total = M.size tests
|
||||
passed = M.size . M.filter id $ tests
|
||||
description = T.pack $ show passed <> "/" <> show total <> if passed == total then " :tada:" else " :banana:"
|
||||
description = T.pack $ show passed <> "/" <> show total <> if passed == total then " ✅" else " ❌"
|
||||
status =
|
||||
StatusUpdate
|
||||
nOwner
|
||||
@ -311,7 +311,7 @@ instance (MonadReader (ServerData m) m, StaticPQ m, MonadUnliftIO m) => HasGithu
|
||||
NewStatus
|
||||
{ newStatusState = StatusError,
|
||||
newStatusTargetUrl = Just . URL $ h <> "/submission/" <> owner <> "/" <> repo <> "/" <> sha,
|
||||
newStatusDescription = Just "Build failed :skull:",
|
||||
newStatusDescription = Just "Build failed ☠️",
|
||||
newStatusContext = Just c
|
||||
}
|
||||
scheduleTask status
|
||||
|
Loading…
Reference in New Issue
Block a user