File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ type Input struct {
3131 // Version information
3232 SpeakeasyVersion string `json:"speakeasy_version,omitempty"`
3333 ManualBump bool `json:"manual_bump,omitempty"`
34+ ActionRunURL string `json:"action_run_url,omitempty"`
3435
3536 // Version report data (from SPEAKEASY_VERSION_REPORT_LOCATION)
3637 VersionReport * versioning.MergedVersionReport `json:"version_report,omitempty"`
@@ -132,9 +133,14 @@ func buildBody(input Input) string {
132133 body .WriteString (stripANSICodes (markdownSection ))
133134 }
134135
135- // Footer with CLI version
136- if ! input .SourceGeneration && input .SpeakeasyVersion != "" {
137- body .WriteString (fmt .Sprintf ("\n Based on [Speakeasy CLI](https://github.com/speakeasy-api/speakeasy) %s\n " , input .SpeakeasyVersion ))
136+ // Footer
137+ if ! input .SourceGeneration {
138+ if input .SpeakeasyVersion != "" {
139+ body .WriteString (fmt .Sprintf ("\n Based on [Speakeasy CLI](https://github.com/speakeasy-api/speakeasy) %s\n " , input .SpeakeasyVersion ))
140+ }
141+ if input .ActionRunURL != "" {
142+ body .WriteString (fmt .Sprintf ("\n Last updated by [Speakeasy workflow](%s)\n " , input .ActionRunURL ))
143+ }
138144 }
139145
140146 return body .String ()
You can’t perform that action at this time.
0 commit comments