Skip to content

Commit 1a242c0

Browse files
feat: Add local validation gate instructions for Copilot changes
1 parent b3bbc87 commit 1a242c0

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

.github/copilot-instructions.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,17 @@ ASP.NET Core 9 web application (`src/XtremeIdiots.Portal.Web/`) providing the Xt
1919
- Release builds treat warnings as errors and precompile Razor views.
2020
- Integration tests are filtered out by default; add new tests to `src/XtremeIdiots.Portal.Web.Tests/`.
2121

22+
## Copilot Local Validation Gate (Required)
23+
24+
Before declaring a Copilot-authored change complete, run these commands locally as a strict gate aligned with CI expectations and to fail fast on style/analyzer regressions (for example IDE0370 unnecessary suppressions):
25+
26+
```bash
27+
dotnet test src --filter "FullyQualifiedName!~IntegrationTests" /p:ContinuousIntegrationBuild=true /p:TreatWarningsAsErrors=true
28+
dotnet format src/XtremeIdiots.Portal.Web.sln --verify-no-changes --severity warn
29+
```
30+
31+
If either command fails, fix the reported diagnostics before opening/updating a PR.
32+
2233
## Front-End Assets (SCSS)
2334

2435
- SCSS source lives under `src/XtremeIdiots.Portal.Web/Styles/`; see [docs/css-architecture-guide.md](docs/css-architecture-guide.md).

0 commit comments

Comments
 (0)