auto-update documentation

This commit is contained in:
thegeeklab-bot 2023-02-08 15:26:16 +00:00
parent 5724adf7d3
commit 665dcf67ab

View File

@ -32,7 +32,9 @@ properties:
required: false required: false
- name: template - name: template
description: Golang template for the messages. description: |
defaultValue: build {{ build.status }} [{{ repo.owner }}/{{ repo.name }}#{{ truncate build.commit 8 }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }} Golang template for the message. The [pipeline struct](https://pkg.go.dev/github.com/thegeeklab/drone-plugin-lib/v2/drone#Pipeline)
is exposed to the template and all fields can be referenced. To extend the functionality, [sprig functions](https://masterminds.github.io/sprig/) can also be used.
defaultValue: "Build {{ .Build.Status }} [{{ .Repo.Owner }}/{{ .Repo.Name }}#{{ trunc 8 .Commit.SHA }}]({{ .Build.Link }}) ({{ .Build.Branch }}) by {{ .Commit.Author }}"
type: string type: string
required: false required: false