-
Notifications
You must be signed in to change notification settings - Fork 2k
Add simple file-based app for rendering frequent announcement templates #6930
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR introduces a file-based template rendering tool for creating standardized announcements. The tool uses the Fluid templating engine with Spectre.Console for interactive prompts and includes smart defaults for common scenarios like patch Tuesday dates.
Changes:
- Added Render.cs script using C# script format with package directives
- Added alpine-floating-tag-update.md template with Fluid syntax for Alpine version update announcements
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| .github/announcement_templates/Render.cs | C# script that parses templates, prompts users for input with defaults, and renders announcements using Fluid templating |
| .github/announcement_templates/alpine-floating-tag-update.md | Fluid template for Alpine floating tag update announcements with parameterized version and date information |
mthalman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I question the location of these files. It seems like they should belong within the eng directory.
Good point. I was thinking like issue_templates, but the .github folder should only contain things used directly by GitHub. It fits in eng/ with readme-templates and dockerfile-templates. 3984cf9 |
|
Check markdown links workflow says:
False positive and also not related to this PR. |
This PR adds a simple file-based app that we can use to easily render some frequently-posted announcements.
The app: