Skip to content

Follow-ups after adopting project-template v0.61.2 and NCode Review v1.1.2 #9

Open

Description

@polewskm

The adoption merged in #6 (closing #5). These items need a maintainer's decision or one-time setup.

  • Protect master. Run tools/Set-RepositoryBaseline.ps1 so the default branch takes changes through pull requests only. The default branch stays master.
  • Publishing. .github/workflows/publish.yml (its Pack job is project-owned and runs on windows-latest) needs the one-time nuget.org trusted publishing policy, the nuget environment and the NUGET_USER variable described in its header.
  • Auto-merge exception. .github/workflows/code-review-auto-merge.yml enables auto-merge on Dependabot pull requests whose only change is the NCode Review pin (ADR-0006's exception). Keep it and record the exception under Conventions in AGENTS.md, or delete the workflow.
  • copilot-setup-steps.yml still lists main; this repository's default branch is master.
  • Review the structural changes the adoption needed: the projects were converted to SDK-style (the library still targets .NET Framework 4.5.1), the solution moved to the repository root and the tests to tests/, the nuspec and packages.config files were deleted, and the tests moved from NUnit 2.6.4 to 3.14.0 with ExpectedException rewritten as Assert.Throws, targeting net48.
  • Narrow suppressions to look at: CA1069 on Win32/Enums.cs, and CA1707 and CS1591 on the PowerShell DSC resource NCode_cReparsePoints, which was also made non-packable. ReparseLink.Target is now annotated string? (it is null for hard links).
  • Changelog backfill for tags v1.0.1 to v1.0.6: /plan-migration Backfill CHANGELOG.md from the releases.

Activity

  1. polewskm commented on Nov 29, 2026

    @polewskm
    ContributorAuthor

    Autopilot: #21 (the update to project-template v0.145.2, merged as aa7aac8) resolves two items, now ticked: copilot-setup-steps.yml names master (it, codeql.yml, scorecard.yml and tag-release.yml are project-owned for that reason; #20 asks whether to rename the branch instead), and CHANGELOG.md has sections for v1.0.1, v1.0.2, v1.0.5 and v1.0.6. The others still need a maintainer: publishing to nuget.org still needs the trusted publishing policy, the nuget environment and NUGET_USER; the auto-merge exception, the structural review and the suppressions are unchanged.

  2. polewskm commented on Nov 29, 2026

    @polewskm
    ContributorAuthor

    Autopilot: v1.1.0 is tagged and released (https://github.com/NCodeGroup/NCode.ReparsePoints/releases/tag/v1.1.0), and its Publish packages run (https://github.com/NCodeGroup/NCode.ReparsePoints/actions/runs/46247262217) packed NCode.ReparsePoints 1.1.0 but stopped at "Log in to nuget.org": No matching trust policy owned by user 'polewskm' was found (HTTP 401). This needs the Publishing item above, which only a maintainer can do on nuget.org: add a trusted publishing policy for NCodeGroup/NCode.ReparsePoints with the workflow file publish.yml and the nuget environment, owned by the NUGET_USER account. Then choose Re-run failed jobs on that run: it pushes 1.1.0, attaches the provenance to the release and opens the package validation baseline issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions