You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Every project gets GOVERNANCE.md, CODE_OF_CONDUCT.md (Contributor Covenant 2.1), ROADMAP.md, docs/architecture.md, docs/assurance-case.md and docs/best-practices-badge.md, the documents the OpenSSF Best Practices silver level asks for, mapped to its criteria. They are project-owned, an update adds missing ones, and prompts say what to write. The conduct_contact answer says where conduct reports go; blank, GitHub's private report form or a confidential GitLab issue. (#383, ADR-0023)
release-provenance.yml runs by hand to attest an earlier release while its Publish packages run's artifact is kept (14 days): gh workflow run release-provenance.yml -f tag=<tag> -f run-id=<run id>. (#381, ADR-0151)
Changed
Breaking: A .NET library's release-provenance.yml and raise-baseline.yml run as jobs publish.yml calls, not on workflow_run, which never fired for the run tag-release.yml starts. Add the template's provenance and baseline jobs to your publish.yml; the update says so until you do. Scorecard averages the last five releases with assets: delete older unsigned assets, or wait five releases. (#381, ADR-0151)
With NCode Review, code-review.yml passes approve: true (v1.4.0), so a clean review approves; new projects open drafts (draft: yes); and tools/Set-RepositoryBaseline.ps1 then requires one approval, dismisses stale approvals and requires approval of the last push. To adopt it, pin v1.4.0, add approve: true, set - draft: yes and rerun the baseline script. A bot's pull request then waits for a maintainer's approval; after a push by hand, comment /review. (#382, ADR-0022)
ADR-0020 follows Scorecard's source: Code-Review counts any non-author approval, bots included; Branch-Protection scores no tier after tier 2 until tier 2, one required approval, is met; Signed-Releases averages the last five releases with assets; CII-Best-Practices scores silver 7, gold 10. (#386, ADR-0020)
Fixed
tools/Set-RepositoryBaseline.ps1 no longer requires approval of the last push without a required approval, which blocked every merge with one maintainer; for a ruleset that does, it prints the command that turns it off, for the maintainer, since it never loosens a ruleset. (#385)