blob: 24c48314c56b6dc1b8a7eb54fb44068922352261 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
module Plugin.GitHubCommit
( gitHubCommit
) where
import Plugin.Base
gitHubCommit = Plugin
{ matchRegex = "^[0-9a-f]{40}$"
, perform = gitHubCommitAction
}
gitHubCommitAction :: PluginAction
gitHubCommitAction match = "https://github.com/" ++ match
|