mirror of
https://github.com/thegeeklab/wp-matrix.git
synced 2024-11-22 00:30:41 +00:00
Use a proper message format (#11)
This commit is contained in:
parent
d75b353162
commit
edb1c3a8d0
2
main.go
2
main.go
@ -55,7 +55,7 @@ func main() {
|
|||||||
Name: "template",
|
Name: "template",
|
||||||
Usage: "template for the message",
|
Usage: "template for the message",
|
||||||
EnvVar: "PLUGIN_TEMPLATE,MATRIX_TEMPLATE",
|
EnvVar: "PLUGIN_TEMPLATE,MATRIX_TEMPLATE",
|
||||||
Value: "Build {{ build.status }} <{{ build.link }}|{{ repo.Owner }}/{{ repo.Name }}#{{ truncate build.commit 8 }}> ({{ build.branch }}) by {{ build.author }}",
|
Value: "Build {{ build.status }} [{{ repo.Owner }}/{{ repo.Name }}#{{ truncate build.commit 8 }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}",
|
||||||
},
|
},
|
||||||
cli.StringFlag{
|
cli.StringFlag{
|
||||||
Name: "repo.owner",
|
Name: "repo.owner",
|
||||||
|
Loading…
Reference in New Issue
Block a user