Skip to content

Conversation

@lbussell
Copy link
Member

This PR adds a simple file-based app that we can use to easily render some frequently-posted announcements.

The app:

  • Supports multiple templates so adding more is easy
  • Prompts the user interactively for template inputs
  • Can use smart defaults (like defaulting to patch Tuesday dates that line up with our policies, etc.)

Copy link
Contributor

Copilot AI left a 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

Copy link
Member

@mthalman mthalman left a 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.

@lbussell
Copy link
Member Author

lbussell commented Jan 14, 2026

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

@lbussell lbussell requested a review from mthalman January 14, 2026 16:01
@lbussell
Copy link
Member Author

Check markdown links workflow says:

Cannot reach https://support.microsoft.com/contactus/ Status: 500

False positive and also not related to this PR.

@lbussell
Copy link
Member Author

@lbussell lbussell added the needs-backport PR that should be backported to another branch label Jan 14, 2026
@lbussell lbussell enabled auto-merge (squash) January 15, 2026 23:09
@lbussell lbussell merged commit 3dec9aa into dotnet:nightly Jan 15, 2026
123 of 124 checks passed
@lbussell lbussell deleted the announcement-templates branch January 15, 2026 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-backport PR that should be backported to another branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants