Re-sync from template: add Merge Gate, codegen rules, dispatch guard - #185
Merged
Conversation
Adds the PR Review Etiquette Merge Gate and codegen-determinism rule to AGENTS.md, a fail-fast guard in publish-release.yml for dispatches off the default branch, and normalizes workflow files to CRLF per .editorconfig.
Contributor
There was a problem hiding this comment.
Pull request overview
Re-syncs LanguageTags from the upstream ProjectTemplate by updating the agent/workflow runbook documentation, tightening release-workflow safety for manual dispatches, and applying minor configuration comment cleanups (plus CRLF normalization for YAML files).
Changes:
- Extend
AGENTS.mdwith a “Merge Gate” contract and an explicit codegen-determinism rule, and refine review-loop wording/spelling. - Add a fail-fast guard in
publish-release.ymlto preventworkflow_dispatchruns from non-default refs that could mis-version the branch matrix. - Minor config comment tweaks and CRLF normalization in YAML/config files.
Reviewed changes
Copilot reviewed 4 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| AGENTS.md | Adds Merge Gate guidance, clarifies review-loop mechanics, and documents deterministic codegen expectations. |
| .markdownlint-cli2.jsonc | Updates commentary for MD060 handling (no behavior change). |
| .github/workflows/test-pull-request.yml | Line-ending normalization only (no logical changes in shown diff). |
| .github/workflows/run-periodic-codegen-pull-request.yml | Line-ending normalization only (no logical changes in shown diff). |
| .github/workflows/run-codegen-pull-request-task.yml | Line-ending normalization only (no logical changes in shown diff). |
| .github/workflows/publish-release.yml | Adds a dispatch guard to ensure manual publishes run from the default branch. |
| .github/workflows/merge-bot-pull-request.yml | Line-ending normalization only (no logical changes in shown diff). |
| .github/workflows/get-version-task.yml | Line-ending normalization only (keeps documented dotnet/nbgv@master exception). |
| .github/workflows/build-release-task.yml | Line-ending normalization only (no logical changes in shown diff). |
| .github/workflows/build-nugetlibrary-task.yml | Line-ending normalization only (no logical changes in shown diff). |
| .github/workflows/build-datebadge-task.yml | Line-ending normalization only (no logical changes in shown diff). |
| .github/dependabot.yml | Line-ending normalization only; retains dual-target main/develop update strategy. |
| .editorconfig | Comment wording tweak (“JSON and JSONC”). |
This was referenced Jun 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Re-sync from the upstream ProjectTemplate.
Content changes
requestReviewsre-request);judgement->judgment.workflow_dispatchruns off the default branch, since the matrix builds both branches and a non-default ref mis-versions the main leg.EOL
dependabot.ymland the workflow.ymlfiles to CRLF per.editorconfig; no content change in those files.