diff options
| author | Christoph Blecker <admin@toph.ca> | 2023-02-08 17:17:19 -0800 |
|---|---|---|
| committer | Christoph Blecker <admin@toph.ca> | 2023-02-08 17:17:19 -0800 |
| commit | 2dce9fcdb3be615a7eede6830dd5d1ffc57944de (patch) | |
| tree | 2ec2de58ce7fb45a6b692ef730886cdcac362f41 | |
| parent | 042d2889a8915498ff6e7b19e2bffc99df52770e (diff) | |
Fix formatting in GitHub issue generation
| -rw-r--r-- | generator/annual-report/github_issue.tmpl | 8 | ||||
| -rw-r--r-- | generator/app.go | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/generator/annual-report/github_issue.tmpl b/generator/annual-report/github_issue.tmpl index b286e3df..b60870f1 100644 --- a/generator/annual-report/github_issue.tmpl +++ b/generator/annual-report/github_issue.tmpl @@ -1,7 +1,9 @@ {{lastYear}} Annual Report: {{.Prefix | toUpper}} {{.Name}} Chairs: {{range .Leadership.Chairs}}@{{.GitHub}} {{end}} +{{- if.Contact.Liaison.GitHub}} Liaison: @{{.Contact.Liaison.GitHub}} +{{- end}} Actions for the chair/organizer of the community group: - [ ] Consult your community group to complete draft of report @@ -13,9 +15,11 @@ Actions for the chair/organizer of the community group: Once all the above items are complete, this issue may be `/close`'d +A template has already been generated for your group, and is available [here](https://git.k8s.io/community/{{.Dir}}/annual-report-{{lastYear}}.md). + Key dates: -- Initial PR to communtiy repo should be opened by February 14, {{now.UTC.Year}} -- PR should be reviewed and merged by March 1st, {{now.UTC.Year}} +- Initial PR to communtiy repo should be opened by March 24th, {{now.UTC.Year}} +- PR should be reviewed and merged by April 7th, {{now.UTC.Year}} More detailed information on the annual reports process is available [here](https://git.k8s.io/community/committee-steering/governance/annual-reports.md). diff --git a/generator/app.go b/generator/app.go index 0e5d5fd0..9ac82530 100644 --- a/generator/app.go +++ b/generator/app.go @@ -729,7 +729,7 @@ func createAnnualReportIssue(groups []Group, prefix string) error { outputPath := filepath.Join(outputDir, fmt.Sprintf("%s_%s.md", lastYear(), group.Dir)) templatePath := filepath.Join(baseGeneratorDir, templateDir, annualReportIssueTemplate) - if err := writeTemplate(templatePath, outputPath, "markdown", group); err != nil { + if err := writeTemplate(templatePath, outputPath, "", group); err != nil { return err } } |
