Skip to content

Support tags with replaceable text - #728

Merged
BillWagner merged 3 commits into
dotnet:mainfrom
BillWagner:reporting-tags
Sep 4, 2026
Merged

Support tags with replaceable text#728
BillWagner merged 3 commits into
dotnet:mainfrom
BillWagner:reporting-tags

Conversation

@BillWagner

Copy link
Copy Markdown
Member

Currently small in scope, this adds a way to map a label to a tag, including some replacement text. For now, this handles monthly highlights.

Update the config with new label -> tag mapping for spotlight projects and monthly highlights. So we don't have to change the config every month, this maps a general "Highlight" label to a "Highlight-" tag in Azure DevOps.

Currently small in scope, this adds a way to map a label to a tag, including some replacement text. For now, this handles monthly highlights.

Update the config with new label -> tag mapping for spotlight projects and monthly highlights. So we don't have to change the config every month, this maps a general "Highlight" label to a "Highlight-<Month>" tag in Azure DevOps.
Copilot AI lite review requested due to automatic review settings September 4, 2026 18:57
@BillWagner
BillWagner requested a review from a team as a code owner September 4, 2026 18:58
@BillWagner

Copy link
Copy Markdown
Member Author

Once this is merged, I'll update the configs in other .NET public repos.

@BillWagner

Copy link
Copy Markdown
Member Author

@chcomley do you want to take a look?

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The current placeholder replacement can leak the literal $FullMonthText$ token into produced Azure DevOps tags when sprint/month data is missing.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Adds support for label→Azure DevOps tag mappings that include replaceable text (currently used to expand a general “Highlight” label into a month-specific Highlight-<Month> tag), reducing the need for monthly config edits.

Changes:

  • Extend StoryPointSize with FullMonthText for generating full month names from sprint metadata.
  • Update tag generation to replace $FullMonthText$ placeholders when producing work item tags.
  • Update quest-config.json and tests to include/validate the new highlight tag mapping.
File summaries
File Description
quest-config.json Adds WorkItemTags mappings, including the new Highlight-$FullMonthText$ tag template and spotlight tag mappings.
DotNet.DocsTools/GitHubObjects/StoryPointSize.cs Introduces a full-month text accessor used for tag template replacement.
actions/sequester/Quest2GitHub/Models/WorkItemProperties.cs Applies placeholder replacement when generating Azure DevOps tags from GitHub labels.
actions/sequester/Quest2GitHub.Tests/BuildExtendedPropertiesTests.cs Updates test data and expectations to cover the new highlight tag template behavior.
Review details
  • Files reviewed: 4/4 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread actions/sequester/Quest2GitHub/Models/WorkItemProperties.cs
Comment thread DotNet.DocsTools/GitHubObjects/StoryPointSize.cs Outdated
BillWagner and others added 2 commits September 4, 2026 15:07
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@BillWagner
BillWagner merged commit f07e2c3 into dotnet:main Sep 4, 2026
8 checks passed
@BillWagner
BillWagner deleted the reporting-tags branch September 4, 2026 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants