Repository navigation
Description
2026-11-11, later: every settings item is done. The
NUGET_USERsecret is in thenugetenvironment (read back by name), and the maintainer reports the nuget.org trusted-publishing policy created (not readable from here). What keeps this open isrelease.yml(#35): the second half of "Done when", the dry run reaching thepublishjob's approval, cannot be shown before it exists.2026-11-11: the GitHub settings are in place, each read back through the API. Outstanding: the
NUGET_USERsecret and the nuget.org trusted-publishing policy, both the maintainer's, andrelease.yml(#35). The issue stays open until the policy exists.
mainis protected:CIandLabels and issue linkrequired (GitHub Actions), pull requests required with 0 approvals, force pushes and deletions off. Two choices the list below does not make: "branch up to date before merging" is off (EFCore.ComplexIndexes has it on), and "do not allow bypassing" is off, so the admin can still merge past a red check. The first half of "Done when" holds for everyone else; switchenforce_adminson to make it hold for the admin too.- Private vulnerability reporting is enabled.
- The Roadmap (Roadmap #13) is pinned.
- The
nugetenvironment exists, set up like the one in EFCore.ComplexIndexes: required reviewerCaffeinatedCoder, deployments from tagsv*only. It holds no secret yet.NUGET_USER:gh secret set NUGET_USER --env nuget -R CaffeinatedCoder/CodoMetis.EFCore.SchemaKit(it prompts for the value: the nuget.org profile name, not the email address).- nuget.org, Trusted Publishing, new policy: repository owner
CaffeinatedCoder, repositoryCodoMetis.EFCore.SchemaKit, workflow filerelease.yml, environmentnuget, with the policy owner/scope that allows pushing new package ids.
Problem
The repository starts with a workflow (dotnet.yml, one lane and the CI gate), PR hygiene and no protection. Nothing can be published from it.
Change
Settings only the maintainer can change:
- Protect
main: requireCIandLabels and issue link, pull requests with 0 approvals, no force push. - Enable private vulnerability reporting (SECURITY.md links
security/advisories/new). - Pin the Roadmap issue.
- Create the
nugetenvironment - and the
NUGET_USERsecret. - On nuget.org, a trusted-publishing policy for owner, repository
CodoMetis.EFCore.SchemaKit, workflowrelease.ymland environmentnuget, with the scope that allows pushing new package ids.
In the repository:
-
release.yml, ported with the convention tests (Port the convention tests, MigrationHarness, release workflow and skills #35).
Done when
A PR cannot merge with a failing or skipped lane, and a dry run of the release workflow reaches the publish job's approval.
Activity
CaffeinatedCoder commentedon Nov 16, 2026
Since #161 (closes #151), a dry run of
release.ymlfrommainno longer stops at the— unreleasedheading of11.0.0-preview.1: the notes step warns and goes on, so a run can now get through Build, Pack, the pack checks and the SBOMs to thepublishjob's approval once #161 is merged.One thing that rests on the environment, not on the file: the step tells a tag from a dry run by
GITHUB_REF, so a manual run from a branch withdry_rununchecked also passes the step with dry-run notes and reachespublish. What stops it there is item 1 above, the environmentnugettaking deployments from tagsv*only. Worth checking that rule when the dry run reaches the approval.CaffeinatedCoder commentedon Nov 17, 2026
2026-11-17: a dry run of
release.ymlfrommain@0ea7940passed (run 44037778816,dry_run=true, 8 minutes).ci: every lane ofdotnet.ymlgreen, theCIgate included (tests, API probes, integration on PostgreSQL 16 and 18 and SQL Server 2022, both consumer smoke tests, spikes).verify: build, pack, SBOMs and pack checks green; artifactnupkg-11.0.0-preview.1uploaded. The notes step warned as release.yml: a dry run stops at the changelog's '— unreleased' heading #151 meant it to: "The heading of 11.0.0-preview.1 in CHANGELOG.md is not '## [11.0.0-preview.1] — yyyy-mm-dd'. A tag for 11.0.0-preview.1 would stop here."publishandrelease: skipped, as a dry run must.What a dry run cannot show: the
publishjob's approval. A dispatch withdry_run=trueskipspublishby its condition, and one withdry_run=falsefrommainis refused by thenugetenvironment, which takes deployments from tagsv*only (read back today:custom_branch_policies, policytag v*, required reviewer). The approval is first reached by the tagv11.0.0-preview.1itself, where the maintainer approves or rejects it. This issue closes there.