Skip to content

Decisions left after the project-template v0.61.2 and NCode Review v1.1.2 upgrade #24

Open

Description

@polewskm

The upgrade merged in #22 (with #20, the pinned actions). These items need a maintainer's decision or one-time setup.

  • AssemblyVersion. The template's ProjectTemplatePinAssemblyVersion target (build/ProjectTemplate.props, ADR-0136) sets AssemblyVersion to <major>.0.0.0 when the project sets none, and this repo sets none. Releases followed the package version, so the next 1.x release would carry 1.0.0.0, lower than 1.0.1's assembly version. Either set <AssemblyVersion> explicitly in Directory.Build.props or accept the change (it is already noted in CHANGELOG.md).
  • 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). It was kept and the exception is recorded under Conventions in AGENTS.md. Confirm, or delete both.
  • Publishing. main.yml still publishes on release with the NUGET_APIKEY secret; the template's publish.yml was deleted so a release does not publish twice, and SECURITY.md describes the main.yml path. To move to trusted publishing: restore publish.yml, do its one-time nuget.org, nuget environment and NUGET_USER setup, then drop the main.yml publish job and the secret.
  • Retire main.yml's CI. It duplicates the template's ci.yml.
  • Turn on private vulnerability reporting, then remove the hidden maintainer reminder comment from SECURITY.md.
  • main.yml hardening (from the review of ci: pin third-party actions to commit SHAs #20): pass the release tag and the NuGet key through env: instead of expanding them inside run:, harden the push (--skip-duplicate), and consider replacing dorny/test-reporter with a job summary ($GITHUB_STEP_SUMMARY).
  • Changelog: 1.0.0 and 1.0.1 are both dated 2026-01-22 from their tag dates; check them against the releases.

Activity

  1. polewskm commented on Nov 29, 2026

    @polewskm
    ContributorAuthor

    Autopilot: the project-template v0.145.1 update (#33, merged as 65baf24 for #25) resolves two items, now ticked:

    • AssemblyVersion. The update added version.json with assemblyVersion { "version": "1.0.1", "precision": "build" }, so Nerdbank.GitVersioning keeps the 1.x assemblies at 1.0.1.0, the published 1.0.1's, instead of 1.0.0.0; the change that starts 2.0.0 sets it to { "precision": "major" }. The [Unreleased] changelog entry says so.
    • Private vulnerability reporting. It is on (gh api repos/NCodeGroup/Extensions.DataProtection/private-vulnerability-reporting answers enabled: true), and the update's SECURITY.md no longer has the hidden maintainer reminder.

    The other items are still yours. Related: main.yml now builds with Nerdbank.GitVersioning (full history, -p:PublicRelease on a release, no tag-parsing action), packs in a step of its own, sets .NET up through .github/actions/install-dotnet and pins its actions to SHAs; the env-passing, --skip-duplicate and test-reporter parts of the hardening item remain.

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